Commit c1ee5c21a46856c1345ad2663f8c8c90b47493b2

Authored by 李强
1 parent 3f247354

Signed-off-by: bsthlq <2519941818@qq.com>

src/main/java/com/bsth/controller/LineController.java 0 → 100644
  1 +package com.bsth.controller;
  2 +
  3 +import org.springframework.web.bind.annotation.RequestMapping;
  4 +import org.springframework.web.bind.annotation.RestController;
  5 +
  6 +import com.bsth.entity.Line;
  7 +
  8 +/**
  9 + *
  10 + * @ClassName: LineController(线路控制器)
  11 + *
  12 + * @extends : BaseController
  13 + *
  14 + * @Description: TODO(线路控制层)
  15 + *
  16 + * @author bsth@lq
  17 + *
  18 + * @date 2016年4月28日 上午9:21:17
  19 + *
  20 + * @version 公交调度系统BS版 0.1
  21 + *
  22 + */
  23 +@RestController
  24 +@RequestMapping("line")
  25 +public class LineController extends BaseController<Line, Integer> {
  26 +
  27 +}
src/main/java/com/bsth/entity/Cars.java 0 → 100644
  1 +package com.bsth.entity;
  2 +
  3 +import java.util.Date;
  4 +
  5 +import javax.persistence.Column;
  6 +import javax.persistence.Entity;
  7 +import javax.persistence.GeneratedValue;
  8 +import javax.persistence.GenerationType;
  9 +import javax.persistence.Id;
  10 +import javax.persistence.Table;
  11 +
  12 +/**
  13 + *
  14 + * @ClassName : Cars(车实体类)
  15 + *
  16 + * @Author : bsth@lq
  17 + *
  18 + * @Description : TODO(车辆基本信息)
  19 + *
  20 + * @Data : 2016-04-27
  21 + *
  22 + * @Version 公交调度系统BS版 0.1
  23 + *
  24 + */
  25 +
  26 +@Entity
  27 +@Table(name = "bsth_c_cars")
  28 +public class Cars {
  29 +
  30 + // ID
  31 + @Id
  32 + @GeneratedValue(strategy = GenerationType.IDENTITY)
  33 + private Integer id;
  34 +
  35 + // 车辆编码
  36 + private String carCode;
  37 +
  38 + // 车牌号
  39 + private String carPlate;
  40 +
  41 + // 内部编码
  42 + private String insideCode;
  43 +
  44 + // 车型类别
  45 + private String carClass ;
  46 +
  47 + // 座位数
  48 + private Integer carSeatnNumber;
  49 +
  50 + // 载客标准
  51 + private String carStandard;
  52 +
  53 + // 技术速度
  54 + private Double speed;
  55 +
  56 + // 是否空调车
  57 + private boolean hvacCar;
  58 +
  59 + // 标准油耗(开空调)
  60 + private Double kburnStandard;
  61 +
  62 + // 标准油耗(关空调)
  63 + private Double gburnStandard;
  64 +
  65 + // 有无人售票
  66 + private boolean ticketType;
  67 +
  68 + // 是否有TV视频
  69 + private boolean tvVideoType;
  70 +
  71 + // 是否有LED服务屏
  72 + private boolean ledScreen;
  73 +
  74 + // 设备编号
  75 + private String equipmentCode;
  76 +
  77 + // 厂牌型号1
  78 + private String makeCodeOne;
  79 +
  80 + // 厂牌型号2
  81 + private String makeCodeTwo;
  82 +
  83 + // 车辆等级标准
  84 + private String carGride;
  85 +
  86 + // 出厂排放标准
  87 + private String emissionsStandard;
  88 +
  89 + // 发动机号码1
  90 + private String engineCodeOne;
  91 +
  92 + // 发动机号码2
  93 + private String engineCodeTwo;
  94 +
  95 + // 车架号码1
  96 + private String carNumberOne;
  97 +
  98 + // 车架号码2
  99 + private String carNumberTwo;
  100 +
  101 + // 车辆类型
  102 + private String carType;
  103 +
  104 + // 企业代码
  105 + private String businessCode;
  106 +
  107 + // 所属公司
  108 + private String company;
  109 +
  110 + // 分公司
  111 + private String brancheCompany;
  112 +
  113 + // 车辆序号
  114 + private String carOrdinal;
  115 +
  116 + // 是否机动车
  117 + private String VehicleStats;
  118 +
  119 + // 视频编号
  120 + private String videoCode;
  121 +
  122 + // 营运状态
  123 + private Integer operatorsState;
  124 +
  125 + // 启用日期(2008-10-10)
  126 + private Date openDate;
  127 +
  128 + // 取消日期
  129 + private Date closeDate;
  130 +
  131 + // 是否报废
  132 + private boolean scrapState;
  133 +
  134 + // 报废号
  135 + private String scrapCode;
  136 +
  137 + // 报废日期
  138 + private Date scrapDate;
  139 +
  140 + // 描述
  141 + private String descriptions;
  142 +
  143 + // 创建人
  144 + private Integer createBy;
  145 +
  146 + // 修改人
  147 + private Integer updateBy;
  148 +
  149 + // 创建日期
  150 + @Column(updatable = false, name = "create_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP")
  151 + private Date createDate;
  152 +
  153 + // 修改日期
  154 + @Column(name = "update_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP")
  155 + private Date updateDate;
  156 +
  157 + public Integer getId() {
  158 + return id;
  159 + }
  160 +
  161 + public void setId(Integer id) {
  162 + this.id = id;
  163 + }
  164 +
  165 + public String getCarCode() {
  166 + return carCode;
  167 + }
  168 +
  169 + public void setCarCode(String carCode) {
  170 + this.carCode = carCode;
  171 + }
  172 +
  173 + public String getCarPlate() {
  174 + return carPlate;
  175 + }
  176 +
  177 + public void setCarPlate(String carPlate) {
  178 + this.carPlate = carPlate;
  179 + }
  180 +
  181 + public String getInsideCode() {
  182 + return insideCode;
  183 + }
  184 +
  185 + public void setInsideCode(String insideCode) {
  186 + this.insideCode = insideCode;
  187 + }
  188 +
  189 + public String getCarClass() {
  190 + return carClass;
  191 + }
  192 +
  193 + public void setCarClass(String carClass) {
  194 + this.carClass = carClass;
  195 + }
  196 +
  197 + public Integer getCarSeatnNumber() {
  198 + return carSeatnNumber;
  199 + }
  200 +
  201 + public void setCarSeatnNumber(Integer carSeatnNumber) {
  202 + this.carSeatnNumber = carSeatnNumber;
  203 + }
  204 +
  205 + public String getCarStandard() {
  206 + return carStandard;
  207 + }
  208 +
  209 + public void setCarStandard(String carStandard) {
  210 + this.carStandard = carStandard;
  211 + }
  212 +
  213 + public Double getSpeed() {
  214 + return speed;
  215 + }
  216 +
  217 + public void setSpeed(Double speed) {
  218 + this.speed = speed;
  219 + }
  220 +
  221 + public boolean isHvacCar() {
  222 + return hvacCar;
  223 + }
  224 +
  225 + public void setHvacCar(boolean hvacCar) {
  226 + this.hvacCar = hvacCar;
  227 + }
  228 +
  229 + public Double getKburnStandard() {
  230 + return kburnStandard;
  231 + }
  232 +
  233 + public void setKburnStandard(Double kburnStandard) {
  234 + this.kburnStandard = kburnStandard;
  235 + }
  236 +
  237 + public Double getGburnStandard() {
  238 + return gburnStandard;
  239 + }
  240 +
  241 + public void setGburnStandard(Double gburnStandard) {
  242 + this.gburnStandard = gburnStandard;
  243 + }
  244 +
  245 + public boolean isTicketType() {
  246 + return ticketType;
  247 + }
  248 +
  249 + public void setTicketType(boolean ticketType) {
  250 + this.ticketType = ticketType;
  251 + }
  252 +
  253 + public boolean isTvVideoType() {
  254 + return tvVideoType;
  255 + }
  256 +
  257 + public void setTvVideoType(boolean tvVideoType) {
  258 + this.tvVideoType = tvVideoType;
  259 + }
  260 +
  261 + public boolean isLedScreen() {
  262 + return ledScreen;
  263 + }
  264 +
  265 + public void setLedScreen(boolean ledScreen) {
  266 + this.ledScreen = ledScreen;
  267 + }
  268 +
  269 + public String getEquipmentCode() {
  270 + return equipmentCode;
  271 + }
  272 +
  273 + public void setEquipmentCode(String equipmentCode) {
  274 + this.equipmentCode = equipmentCode;
  275 + }
  276 +
  277 + public String getMakeCodeOne() {
  278 + return makeCodeOne;
  279 + }
  280 +
  281 + public void setMakeCodeOne(String makeCodeOne) {
  282 + this.makeCodeOne = makeCodeOne;
  283 + }
  284 +
  285 + public String getMakeCodeTwo() {
  286 + return makeCodeTwo;
  287 + }
  288 +
  289 + public void setMakeCodeTwo(String makeCodeTwo) {
  290 + this.makeCodeTwo = makeCodeTwo;
  291 + }
  292 +
  293 + public String getCarGride() {
  294 + return carGride;
  295 + }
  296 +
  297 + public void setCarGride(String carGride) {
  298 + this.carGride = carGride;
  299 + }
  300 +
  301 + public String getEmissionsStandard() {
  302 + return emissionsStandard;
  303 + }
  304 +
  305 + public void setEmissionsStandard(String emissionsStandard) {
  306 + this.emissionsStandard = emissionsStandard;
  307 + }
  308 +
  309 + public String getEngineCodeOne() {
  310 + return engineCodeOne;
  311 + }
  312 +
  313 + public void setEngineCodeOne(String engineCodeOne) {
  314 + this.engineCodeOne = engineCodeOne;
  315 + }
  316 +
  317 + public String getEngineCodeTwo() {
  318 + return engineCodeTwo;
  319 + }
  320 +
  321 + public void setEngineCodeTwo(String engineCodeTwo) {
  322 + this.engineCodeTwo = engineCodeTwo;
  323 + }
  324 +
  325 + public String getCarNumberOne() {
  326 + return carNumberOne;
  327 + }
  328 +
  329 + public void setCarNumberOne(String carNumberOne) {
  330 + this.carNumberOne = carNumberOne;
  331 + }
  332 +
  333 + public String getCarNumberTwo() {
  334 + return carNumberTwo;
  335 + }
  336 +
  337 + public void setCarNumberTwo(String carNumberTwo) {
  338 + this.carNumberTwo = carNumberTwo;
  339 + }
  340 +
  341 + public String getCarType() {
  342 + return carType;
  343 + }
  344 +
  345 + public void setCarType(String carType) {
  346 + this.carType = carType;
  347 + }
  348 +
  349 + public String getBusinessCode() {
  350 + return businessCode;
  351 + }
  352 +
  353 + public void setBusinessCode(String businessCode) {
  354 + this.businessCode = businessCode;
  355 + }
  356 +
  357 + public String getCompany() {
  358 + return company;
  359 + }
  360 +
  361 + public void setCompany(String company) {
  362 + this.company = company;
  363 + }
  364 +
  365 + public String getBrancheCompany() {
  366 + return brancheCompany;
  367 + }
  368 +
  369 + public void setBrancheCompany(String brancheCompany) {
  370 + this.brancheCompany = brancheCompany;
  371 + }
  372 +
  373 + public String getCarOrdinal() {
  374 + return carOrdinal;
  375 + }
  376 +
  377 + public void setCarOrdinal(String carOrdinal) {
  378 + this.carOrdinal = carOrdinal;
  379 + }
  380 +
  381 + public String getVehicleStats() {
  382 + return VehicleStats;
  383 + }
  384 +
  385 + public void setVehicleStats(String vehicleStats) {
  386 + VehicleStats = vehicleStats;
  387 + }
  388 +
  389 + public String getVideoCode() {
  390 + return videoCode;
  391 + }
  392 +
  393 + public void setVideoCode(String videoCode) {
  394 + this.videoCode = videoCode;
  395 + }
  396 +
  397 + public Integer getOperatorsState() {
  398 + return operatorsState;
  399 + }
  400 +
  401 + public void setOperatorsState(Integer operatorsState) {
  402 + this.operatorsState = operatorsState;
  403 + }
  404 +
  405 + public Date getOpenDate() {
  406 + return openDate;
  407 + }
  408 +
  409 + public void setOpenDate(Date openDate) {
  410 + this.openDate = openDate;
  411 + }
  412 +
  413 + public Date getCloseDate() {
  414 + return closeDate;
  415 + }
  416 +
  417 + public void setCloseDate(Date closeDate) {
  418 + this.closeDate = closeDate;
  419 + }
  420 +
  421 + public boolean isScrapState() {
  422 + return scrapState;
  423 + }
  424 +
  425 + public void setScrapState(boolean scrapState) {
  426 + this.scrapState = scrapState;
  427 + }
  428 +
  429 + public String getScrapCode() {
  430 + return scrapCode;
  431 + }
  432 +
  433 + public void setScrapCode(String scrapCode) {
  434 + this.scrapCode = scrapCode;
  435 + }
  436 +
  437 + public Date getScrapDate() {
  438 + return scrapDate;
  439 + }
  440 +
  441 + public void setScrapDate(Date scrapDate) {
  442 + this.scrapDate = scrapDate;
  443 + }
  444 +
  445 + public String getDescriptions() {
  446 + return descriptions;
  447 + }
  448 +
  449 + public void setDescriptions(String descriptions) {
  450 + this.descriptions = descriptions;
  451 + }
  452 +
  453 + public Integer getCreateBy() {
  454 + return createBy;
  455 + }
  456 +
  457 + public void setCreateBy(Integer createBy) {
  458 + this.createBy = createBy;
  459 + }
  460 +
  461 + public Integer getUpdateBy() {
  462 + return updateBy;
  463 + }
  464 +
  465 + public void setUpdateBy(Integer updateBy) {
  466 + this.updateBy = updateBy;
  467 + }
  468 +
  469 + public Date getCreateDate() {
  470 + return createDate;
  471 + }
  472 +
  473 + public void setCreateDate(Date createDate) {
  474 + this.createDate = createDate;
  475 + }
  476 +
  477 + public Date getUpdateDate() {
  478 + return updateDate;
  479 + }
  480 +
  481 + public void setUpdateDate(Date updateDate) {
  482 + this.updateDate = updateDate;
  483 + }
  484 +}
src/main/java/com/bsth/entity/Line.java
@@ -13,7 +13,7 @@ import javax.persistence.Table; @@ -13,7 +13,7 @@ import javax.persistence.Table;
13 13
14 /** 14 /**
15 * 15 *
16 - * @ClassName: Line 16 + * @ClassName: Line(线路实体类)
17 * 17 *
18 * @Description: TODO(线路) 18 * @Description: TODO(线路)
19 * 19 *
@@ -22,6 +22,7 @@ import javax.persistence.Table; @@ -22,6 +22,7 @@ import javax.persistence.Table;
22 * @date 2016年4月11日 下午4:06:17 22 * @date 2016年4月11日 下午4:06:17
23 * 23 *
24 * @version 公交调度系统BS版 0.1 24 * @version 公交调度系统BS版 0.1
  25 + *
25 */ 26 */
26 @Entity 27 @Entity
27 @Table(name = "bsth_c_line") 28 @Table(name = "bsth_c_line")
src/main/java/com/bsth/entity/LineInformation.java
@@ -11,7 +11,7 @@ import javax.persistence.Table; @@ -11,7 +11,7 @@ import javax.persistence.Table;
11 11
12 /** 12 /**
13 * 13 *
14 - * @ClassName: LineInformation 14 + * @ClassName: LineInformation(线路标准信息实体类)
15 * 15 *
16 * @Description: TODO(线路标准信息) 16 * @Description: TODO(线路标准信息)
17 * 17 *
@@ -20,6 +20,7 @@ import javax.persistence.Table; @@ -20,6 +20,7 @@ import javax.persistence.Table;
20 * @date 2016年4月12日 上午9:34:39 20 * @date 2016年4月12日 上午9:34:39
21 * 21 *
22 * @version 公交调度系统BS版 0.1 22 * @version 公交调度系统BS版 0.1
  23 + *
23 */ 24 */
24 @Entity 25 @Entity
25 @Table(name = "bsth_c_line_information") 26 @Table(name = "bsth_c_line_information")
src/main/java/com/bsth/entity/Personnel.java 0 → 100644
  1 +package com.bsth.entity;
  2 +
  3 +import java.util.Date;
  4 +
  5 +import javax.persistence.Column;
  6 +import javax.persistence.Entity;
  7 +import javax.persistence.GeneratedValue;
  8 +import javax.persistence.GenerationType;
  9 +import javax.persistence.Id;
  10 +import javax.persistence.Table;
  11 +
  12 +/**
  13 + *
  14 + * @ClassName : Personnel(人员实体类)
  15 + *
  16 + * @Author : bsth@lq
  17 + *
  18 + * @Description : TODO(人员)
  19 + *
  20 + * @Data :2016-04-27
  21 + *
  22 + * @Version 公交调度系统BS版 0.1
  23 + *
  24 + */
  25 +
  26 +@Entity
  27 +@Table(name = "bsth_c_personnel")
  28 +public class Personnel {
  29 +
  30 + @Id
  31 + @GeneratedValue(strategy = GenerationType.IDENTITY)
  32 + private Integer id;
  33 +
  34 + // 人员编码
  35 + private String personnelCode;
  36 +
  37 + // 工号
  38 + private String jobCode;
  39 +
  40 + // 姓名
  41 + private String personnelName;
  42 +
  43 + // 性别
  44 + private Integer personnelType;
  45 +
  46 + // 照片地址
  47 + private String personnelImg;
  48 +
  49 + // 线路编号
  50 + private String lineCode;
  51 +
  52 + // 一卡通工作卡号
  53 + private String icCardCode;
  54 +
  55 + // 运营服务证书号
  56 + private String papersCode;
  57 +
  58 + // 所属岗位
  59 + private String posts;
  60 +
  61 + // 所属公司
  62 + private String company;
  63 +
  64 + // 分公司
  65 + private String brancheCompany;
  66 +
  67 + // 创建人
  68 + private Integer createBy;
  69 +
  70 + // 联系电话
  71 + private String telphone;
  72 +
  73 + // 修改人
  74 + private Integer updateBy;
  75 +
  76 + // 描述
  77 + private String descriptions;
  78 +
  79 + // 创建日期
  80 + @Column(updatable = false, name = "create_date", columnDefinition = "TIMESTAMP DEFAULT CURRENT_TIMESTAMP")
  81 + private Date createDate;
  82 +
  83 + // 修改日期
  84 + @Column(name = "update_date", columnDefinition = "timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP")
  85 + private Date updateDate;
  86 +
  87 + public Integer getId() {
  88 + return id;
  89 + }
  90 +
  91 + public void setId(Integer id) {
  92 + this.id = id;
  93 + }
  94 +
  95 + public String getPersonnelCode() {
  96 + return personnelCode;
  97 + }
  98 +
  99 + public void setPersonnelCode(String personnelCode) {
  100 + this.personnelCode = personnelCode;
  101 + }
  102 +
  103 + public String getJobCode() {
  104 + return jobCode;
  105 + }
  106 +
  107 + public void setJobCode(String jobCode) {
  108 + this.jobCode = jobCode;
  109 + }
  110 +
  111 + public String getPersonnelName() {
  112 + return personnelName;
  113 + }
  114 +
  115 + public void setPersonnelName(String personnelName) {
  116 + this.personnelName = personnelName;
  117 + }
  118 +
  119 + public Integer getPersonnelType() {
  120 + return personnelType;
  121 + }
  122 +
  123 + public void setPersonnelType(Integer personnelType) {
  124 + this.personnelType = personnelType;
  125 + }
  126 +
  127 + public String getPersonnelImg() {
  128 + return personnelImg;
  129 + }
  130 +
  131 + public void setPersonnelImg(String personnelImg) {
  132 + this.personnelImg = personnelImg;
  133 + }
  134 +
  135 + public String getLineCode() {
  136 + return lineCode;
  137 + }
  138 +
  139 + public void setLineCode(String lineCode) {
  140 + this.lineCode = lineCode;
  141 + }
  142 +
  143 + public String getIcCardCode() {
  144 + return icCardCode;
  145 + }
  146 +
  147 + public void setIcCardCode(String icCardCode) {
  148 + this.icCardCode = icCardCode;
  149 + }
  150 +
  151 + public String getPapersCode() {
  152 + return papersCode;
  153 + }
  154 +
  155 + public void setPapersCode(String papersCode) {
  156 + this.papersCode = papersCode;
  157 + }
  158 +
  159 + public String getPosts() {
  160 + return posts;
  161 + }
  162 +
  163 + public void setPosts(String posts) {
  164 + this.posts = posts;
  165 + }
  166 +
  167 + public String getCompany() {
  168 + return company;
  169 + }
  170 +
  171 + public void setCompany(String company) {
  172 + this.company = company;
  173 + }
  174 +
  175 + public String getBrancheCompany() {
  176 + return brancheCompany;
  177 + }
  178 +
  179 + public void setBrancheCompany(String brancheCompany) {
  180 + this.brancheCompany = brancheCompany;
  181 + }
  182 +
  183 + public Integer getCreateBy() {
  184 + return createBy;
  185 + }
  186 +
  187 + public void setCreateBy(Integer createBy) {
  188 + this.createBy = createBy;
  189 + }
  190 +
  191 + public String getTelphone() {
  192 + return telphone;
  193 + }
  194 +
  195 + public void setTelphone(String telphone) {
  196 + this.telphone = telphone;
  197 + }
  198 +
  199 + public Integer getUpdateBy() {
  200 + return updateBy;
  201 + }
  202 +
  203 + public void setUpdateBy(Integer updateBy) {
  204 + this.updateBy = updateBy;
  205 + }
  206 +
  207 + public String getDescriptions() {
  208 + return descriptions;
  209 + }
  210 +
  211 + public void setDescriptions(String descriptions) {
  212 + this.descriptions = descriptions;
  213 + }
  214 +
  215 + public Date getCreateDate() {
  216 + return createDate;
  217 + }
  218 +
  219 + public void setCreateDate(Date createDate) {
  220 + this.createDate = createDate;
  221 + }
  222 +
  223 + public Date getUpdateDate() {
  224 + return updateDate;
  225 + }
  226 +
  227 + public void setUpdateDate(Date updateDate) {
  228 + this.updateDate = updateDate;
  229 + }
  230 +}
src/main/java/com/bsth/entity/Section.java
@@ -11,15 +11,16 @@ import javax.persistence.Table; @@ -11,15 +11,16 @@ import javax.persistence.Table;
11 11
12 /** 12 /**
13 * 13 *
14 - * @ClassName : Section 14 + * @ClassName : Section(路段实体类)
15 * 15 *
16 * @author : bsth@lq 16 * @author : bsth@lq
17 * 17 *
18 - * @Description : TODO(路段信息表) 18 + * @Description : TODO(路段)
19 * 19 *
20 * @Data :2016-04-21 20 * @Data :2016-04-21
21 * 21 *
22 * @version 公交调度系统BS版 0.1 22 * @version 公交调度系统BS版 0.1
  23 + *
23 */ 24 */
24 25
25 @Entity 26 @Entity
@@ -45,12 +46,6 @@ public class Section { @@ -45,12 +46,6 @@ public class Section {
45 // 路段时间 46 // 路段时间
46 private Double sectionTime; 47 private Double sectionTime;
47 48
48 - // 路段矢量(空间坐标点集合)--百度坐标点  
49 - private String bsectionVector;  
50 -  
51 - // 路段矢量(空间坐标点集合)--高德坐标点  
52 - private String dsectionVector;  
53 -  
54 // 经纬坐标类型 49 // 经纬坐标类型
55 private String dbType; 50 private String dbType;
56 51
@@ -97,4 +92,172 @@ public class Section { @@ -97,4 +92,172 @@ public class Section {
97 // 修改日期 92 // 修改日期
98 @Column(name = "update_date", columnDefinition = "timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP") 93 @Column(name = "update_date", columnDefinition = "timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP")
99 private Date updateDate; 94 private Date updateDate;
  95 +
  96 + public Integer getId() {
  97 + return id;
  98 + }
  99 +
  100 + public void setId(Integer id) {
  101 + this.id = id;
  102 + }
  103 +
  104 + public String getSectionCode() {
  105 + return sectionCode;
  106 + }
  107 +
  108 + public void setSectionCode(String sectionCode) {
  109 + this.sectionCode = sectionCode;
  110 + }
  111 +
  112 + public String getRoadCoding() {
  113 + return roadCoding;
  114 + }
  115 +
  116 + public void setRoadCoding(String roadCoding) {
  117 + this.roadCoding = roadCoding;
  118 + }
  119 +
  120 + public String getSectionName() {
  121 + return sectionName;
  122 + }
  123 +
  124 + public void setSectionName(String sectionName) {
  125 + this.sectionName = sectionName;
  126 + }
  127 +
  128 + public Double getSectionDistance() {
  129 + return sectionDistance;
  130 + }
  131 +
  132 + public void setSectionDistance(Double sectionDistance) {
  133 + this.sectionDistance = sectionDistance;
  134 + }
  135 +
  136 + public Double getSectionTime() {
  137 + return sectionTime;
  138 + }
  139 +
  140 + public void setSectionTime(Double sectionTime) {
  141 + this.sectionTime = sectionTime;
  142 + }
  143 +
  144 + public String getDbType() {
  145 + return dbType;
  146 + }
  147 +
  148 + public void setDbType(String dbType) {
  149 + this.dbType = dbType;
  150 + }
  151 +
  152 + public String getSectionType() {
  153 + return sectionType;
  154 + }
  155 +
  156 + public void setSectionType(String sectionType) {
  157 + this.sectionType = sectionType;
  158 + }
  159 +
  160 + public String getGsectionVector() {
  161 + return gsectionVector;
  162 + }
  163 +
  164 + public void setGsectionVector(String gsectionVector) {
  165 + this.gsectionVector = gsectionVector;
  166 + }
  167 +
  168 + public String getStartCrossCode() {
  169 + return startCrossCode;
  170 + }
  171 +
  172 + public void setStartCrossCode(String startCrossCode) {
  173 + this.startCrossCode = startCrossCode;
  174 + }
  175 +
  176 + public String getEndCrosesCode() {
  177 + return endCrosesCode;
  178 + }
  179 +
  180 + public void setEndCrosesCode(String endCrosesCode) {
  181 + this.endCrosesCode = endCrosesCode;
  182 + }
  183 +
  184 + public String getCrosesRoad() {
  185 + return crosesRoad;
  186 + }
  187 +
  188 + public void setCrosesRoad(String crosesRoad) {
  189 + this.crosesRoad = crosesRoad;
  190 + }
  191 +
  192 + public String getStartNode() {
  193 + return startNode;
  194 + }
  195 +
  196 + public void setStartNode(String startNode) {
  197 + this.startNode = startNode;
  198 + }
  199 +
  200 + public String getMiddleNode() {
  201 + return middleNode;
  202 + }
  203 +
  204 + public void setMiddleNode(String middleNode) {
  205 + this.middleNode = middleNode;
  206 + }
  207 +
  208 + public String getEndNode() {
  209 + return endNode;
  210 + }
  211 +
  212 + public void setEndNode(String endNode) {
  213 + this.endNode = endNode;
  214 + }
  215 +
  216 + public Double getSpeedLimit() {
  217 + return speedLimit;
  218 + }
  219 +
  220 + public void setSpeedLimit(Double speedLimit) {
  221 + this.speedLimit = speedLimit;
  222 + }
  223 +
  224 + public Integer getCreateBy() {
  225 + return createBy;
  226 + }
  227 +
  228 + public void setCreateBy(Integer createBy) {
  229 + this.createBy = createBy;
  230 + }
  231 +
  232 + public Integer getUpdateBy() {
  233 + return updateBy;
  234 + }
  235 +
  236 + public void setUpdateBy(Integer updateBy) {
  237 + this.updateBy = updateBy;
  238 + }
  239 +
  240 + public String getDescriptions() {
  241 + return descriptions;
  242 + }
  243 +
  244 + public void setDescriptions(String descriptions) {
  245 + this.descriptions = descriptions;
  246 + }
  247 +
  248 + public Date getCreateDate() {
  249 + return createDate;
  250 + }
  251 +
  252 + public void setCreateDate(Date createDate) {
  253 + this.createDate = createDate;
  254 + }
  255 +
  256 + public Date getUpdateDate() {
  257 + return updateDate;
  258 + }
  259 +
  260 + public void setUpdateDate(Date updateDate) {
  261 + this.updateDate = updateDate;
  262 + }
100 } 263 }
src/main/java/com/bsth/entity/SectionRoute.java
@@ -14,15 +14,16 @@ import javax.persistence.Table; @@ -14,15 +14,16 @@ import javax.persistence.Table;
14 14
15 /** 15 /**
16 * 16 *
17 - * @ClassName : SectionRoute 17 + * @ClassName : SectionRoute(路段路由实体类)
18 * 18 *
19 * @author : bsth@lq 19 * @author : bsth@lq
20 * 20 *
21 - * @Description : TODO(路段路由信息表) 21 + * @Description : TODO(路段路由)
22 * 22 *
23 * @Data :2016-04-21 23 * @Data :2016-04-21
24 * 24 *
25 * @version 公交调度系统BS版 0.1 25 * @version 公交调度系统BS版 0.1
  26 + *
26 */ 27 */
27 28
28 @Entity 29 @Entity
@@ -36,6 +37,12 @@ public class SectionRoute { @@ -36,6 +37,12 @@ public class SectionRoute {
36 // 路段路由序号 37 // 路段路由序号
37 private Integer sectionrouteCode; 38 private Integer sectionrouteCode;
38 39
  40 + // 线路编号
  41 + private String lineCode;
  42 +
  43 + // 路段编号
  44 + private String sectionCode;
  45 +
39 // 路段路由方向 46 // 路段路由方向
40 private Integer directions; 47 private Integer directions;
41 48
@@ -58,9 +65,105 @@ public class SectionRoute { @@ -58,9 +65,105 @@ public class SectionRoute {
58 65
59 // 路段信息 66 // 路段信息
60 @OneToOne 67 @OneToOne
61 - private Section section ; 68 + private Section section;
62 69
63 // 线路信息 70 // 线路信息
64 @ManyToOne 71 @ManyToOne
65 private Line line; 72 private Line line;
  73 +
  74 + public Integer getId() {
  75 + return id;
  76 + }
  77 +
  78 + public void setId(Integer id) {
  79 + this.id = id;
  80 + }
  81 +
  82 + public Integer getSectionrouteCode() {
  83 + return sectionrouteCode;
  84 + }
  85 +
  86 + public void setSectionrouteCode(Integer sectionrouteCode) {
  87 + this.sectionrouteCode = sectionrouteCode;
  88 + }
  89 +
  90 + public String getLineCode() {
  91 + return lineCode;
  92 + }
  93 +
  94 + public void setLineCode(String lineCode) {
  95 + this.lineCode = lineCode;
  96 + }
  97 +
  98 + public String getSectionCode() {
  99 + return sectionCode;
  100 + }
  101 +
  102 + public void setSectionCode(String sectionCode) {
  103 + this.sectionCode = sectionCode;
  104 + }
  105 +
  106 + public Integer getDirections() {
  107 + return directions;
  108 + }
  109 +
  110 + public void setDirections(Integer directions) {
  111 + this.directions = directions;
  112 + }
  113 +
  114 + public String getDescriptions() {
  115 + return descriptions;
  116 + }
  117 +
  118 + public void setDescriptions(String descriptions) {
  119 + this.descriptions = descriptions;
  120 + }
  121 +
  122 + public Integer getCreateBy() {
  123 + return createBy;
  124 + }
  125 +
  126 + public void setCreateBy(Integer createBy) {
  127 + this.createBy = createBy;
  128 + }
  129 +
  130 + public Integer getUpdateBy() {
  131 + return updateBy;
  132 + }
  133 +
  134 + public void setUpdateBy(Integer updateBy) {
  135 + this.updateBy = updateBy;
  136 + }
  137 +
  138 + public Date getCreateDate() {
  139 + return createDate;
  140 + }
  141 +
  142 + public void setCreateDate(Date createDate) {
  143 + this.createDate = createDate;
  144 + }
  145 +
  146 + public Date getUpdateDate() {
  147 + return updateDate;
  148 + }
  149 +
  150 + public void setUpdateDate(Date updateDate) {
  151 + this.updateDate = updateDate;
  152 + }
  153 +
  154 + public Section getSection() {
  155 + return section;
  156 + }
  157 +
  158 + public void setSection(Section section) {
  159 + this.section = section;
  160 + }
  161 +
  162 + public Line getLine() {
  163 + return line;
  164 + }
  165 +
  166 + public void setLine(Line line) {
  167 + this.line = line;
  168 + }
66 } 169 }
src/main/java/com/bsth/entity/Station.java
@@ -12,15 +12,16 @@ import javax.persistence.Table; @@ -12,15 +12,16 @@ import javax.persistence.Table;
12 12
13 /** 13 /**
14 * 14 *
15 - * @ClassName : Station 15 + * @ClassName : Station(站点实体类)
16 * 16 *
17 * @author : bsth@lq 17 * @author : bsth@lq
18 * 18 *
19 - * @Description : TODO(站点信息表) 19 + * @Description : TODO(站点)
20 * 20 *
21 * @Data :2016-04-19 21 * @Data :2016-04-19
22 * 22 *
23 * @version 公交调度系统BS版 0.1 23 * @version 公交调度系统BS版 0.1
  24 + *
24 */ 25 */
25 26
26 @Entity 27 @Entity
@@ -36,39 +37,48 @@ public class Station { @@ -36,39 +37,48 @@ public class Station {
36 37
37 // 站点名称 38 // 站点名称
38 private String stationName; 39 private String stationName;
39 -  
40 - // 站点类别 40 +
  41 + //站点类别
41 private String stationType; 42 private String stationType;
42 43
43 // 所在道路编码 44 // 所在道路编码
44 private String roadCoding; 45 private String roadCoding;
45 46
46 - // 站点地理位置百度坐标(BD-09)经度  
47 - private String bLonx;  
48 -  
49 - // 站点地理位置百度坐标(BD-09)纬度  
50 - private String bLaty;  
51 -  
52 - // 站点地理位置高德坐标(GCJ-02)经度  
53 - private String dLonx;  
54 -  
55 - // 站点地理位置高德坐标(GCJ-02)纬度  
56 - private String dLaty;  
57 -  
58 - // 经纬坐标类型 47 + /**
  48 + * 经纬坐标类型
  49 + *
  50 + * --------- b:百度坐标系
  51 + *
  52 + * --------- d:高德坐标系
  53 + */
59 private String dbType; 54 private String dbType;
60 55
61 // 站点地理位置GPS坐标经度 56 // 站点地理位置GPS坐标经度
62 - private String gLonx; 57 + private Float gLonx;
63 58
64 // 站点地理位置GPS坐标纬度 59 // 站点地理位置GPS坐标纬度
65 - private String gLaty; 60 + private Float gLaty;
66 61
67 - // x  
68 - private String x; 62 + // 城建坐标 x
  63 + private Float x;
69 64
70 - // y  
71 - private String y; 65 + // 城建坐标 y
  66 + private Float y;
  67 +
  68 + // GPS空间坐标点集合
  69 + private byte[] gSpaceGrid;
  70 +
  71 + // 多边形空间坐标点集合
  72 + private byte[] gPolygonGrid;
  73 +
  74 + /**
  75 + * 是否撤销
  76 + *
  77 + * ------ 1:撤销
  78 + *
  79 + * ------ 0:不撤销
  80 + */
  81 + private boolean destroy;
72 82
73 // 创建人 83 // 创建人
74 private Integer createBy; 84 private Integer createBy;
@@ -127,38 +137,6 @@ public class Station { @@ -127,38 +137,6 @@ public class Station {
127 this.roadCoding = roadCoding; 137 this.roadCoding = roadCoding;
128 } 138 }
129 139
130 - public String getbLonx() {  
131 - return bLonx;  
132 - }  
133 -  
134 - public void setbLonx(String bLonx) {  
135 - this.bLonx = bLonx;  
136 - }  
137 -  
138 - public String getbLaty() {  
139 - return bLaty;  
140 - }  
141 -  
142 - public void setbLaty(String bLaty) {  
143 - this.bLaty = bLaty;  
144 - }  
145 -  
146 - public String getdLonx() {  
147 - return dLonx;  
148 - }  
149 -  
150 - public void setdLonx(String dLonx) {  
151 - this.dLonx = dLonx;  
152 - }  
153 -  
154 - public String getdLaty() {  
155 - return dLaty;  
156 - }  
157 -  
158 - public void setdLaty(String dLaty) {  
159 - this.dLaty = dLaty;  
160 - }  
161 -  
162 public String getDbType() { 140 public String getDbType() {
163 return dbType; 141 return dbType;
164 } 142 }
@@ -167,38 +145,62 @@ public class Station { @@ -167,38 +145,62 @@ public class Station {
167 this.dbType = dbType; 145 this.dbType = dbType;
168 } 146 }
169 147
170 - public String getgLonx() { 148 + public Float getgLonx() {
171 return gLonx; 149 return gLonx;
172 } 150 }
173 151
174 - public void setgLonx(String gLonx) { 152 + public void setgLonx(Float gLonx) {
175 this.gLonx = gLonx; 153 this.gLonx = gLonx;
176 } 154 }
177 155
178 - public String getgLaty() { 156 + public Float getgLaty() {
179 return gLaty; 157 return gLaty;
180 } 158 }
181 159
182 - public void setgLaty(String gLaty) { 160 + public void setgLaty(Float gLaty) {
183 this.gLaty = gLaty; 161 this.gLaty = gLaty;
184 } 162 }
185 163
186 - public String getX() { 164 + public Float getX() {
187 return x; 165 return x;
188 } 166 }
189 167
190 - public void setX(String x) { 168 + public void setX(Float x) {
191 this.x = x; 169 this.x = x;
192 } 170 }
193 171
194 - public String getY() { 172 + public Float getY() {
195 return y; 173 return y;
196 } 174 }
197 175
198 - public void setY(String y) { 176 + public void setY(Float y) {
199 this.y = y; 177 this.y = y;
200 } 178 }
201 179
  180 + public byte[] getgSpaceGrid() {
  181 + return gSpaceGrid;
  182 + }
  183 +
  184 + public void setgSpaceGrid(byte[] gSpaceGrid) {
  185 + this.gSpaceGrid = gSpaceGrid;
  186 + }
  187 +
  188 + public byte[] getgPolygonGrid() {
  189 + return gPolygonGrid;
  190 + }
  191 +
  192 + public void setgPolygonGrid(byte[] gPolygonGrid) {
  193 + this.gPolygonGrid = gPolygonGrid;
  194 + }
  195 +
  196 + public boolean isDestroy() {
  197 + return destroy;
  198 + }
  199 +
  200 + public void setDestroy(boolean destroy) {
  201 + this.destroy = destroy;
  202 + }
  203 +
202 public Integer getCreateBy() { 204 public Integer getCreateBy() {
203 return createBy; 205 return createBy;
204 } 206 }
src/main/java/com/bsth/entity/StationRoute.java
@@ -12,15 +12,16 @@ import javax.persistence.Table; @@ -12,15 +12,16 @@ import javax.persistence.Table;
12 12
13 /** 13 /**
14 * 14 *
15 - * @ClassName : StationRoute 15 + * @ClassName : StationRoute(站点路由实体类)
16 * 16 *
17 * @author : bsth@lq 17 * @author : bsth@lq
18 * 18 *
19 - * @Description : TODO(站点路由信息表) 19 + * @Description : TODO(站点路由)
20 * 20 *
21 * @Data :2016-04-19 21 * @Data :2016-04-19
22 * 22 *
23 * @version 公交调度系统BS版 0.1 23 * @version 公交调度系统BS版 0.1
  24 + *
24 */ 25 */
25 26
26 @Entity 27 @Entity
@@ -33,9 +34,26 @@ public class StationRoute { @@ -33,9 +34,26 @@ public class StationRoute {
33 private Integer id; 34 private Integer id;
34 35
35 // 站点路由序号 36 // 站点路由序号
36 - private Integer stationCode; 37 + private Integer stationRouteCode;
  38 +
  39 + // 站点编码
  40 + private String stationCode;
  41 +
  42 + // 线路编码
  43 + private String lineCode;
37 44
38 - // 站点路由标志(站点类型) 45 + /**
  46 + * 站点类型
  47 + *
  48 + * ------ B:起点站
  49 + *
  50 + * ------ Z:中途站
  51 + *
  52 + * ------ E:终点站
  53 + *
  54 + * ------ T:停车场
  55 + *
  56 + */
39 private String stationMark; 57 private String stationMark;
40 58
41 // 站点路由出站序号 59 // 站点路由出站序号
@@ -89,14 +107,30 @@ public class StationRoute { @@ -89,14 +107,30 @@ public class StationRoute {
89 this.id = id; 107 this.id = id;
90 } 108 }
91 109
92 - public Integer getStationCode() { 110 + public Integer getStationRouteCode() {
  111 + return stationRouteCode;
  112 + }
  113 +
  114 + public void setStationRouteCode(Integer stationRouteCode) {
  115 + this.stationRouteCode = stationRouteCode;
  116 + }
  117 +
  118 + public String getStationCode() {
93 return stationCode; 119 return stationCode;
94 } 120 }
95 121
96 - public void setStationCode(Integer stationCode) { 122 + public void setStationCode(String stationCode) {
97 this.stationCode = stationCode; 123 this.stationCode = stationCode;
98 } 124 }
99 125
  126 + public String getLineCode() {
  127 + return lineCode;
  128 + }
  129 +
  130 + public void setLineCode(String lineCode) {
  131 + this.lineCode = lineCode;
  132 + }
  133 +
100 public String getStationMark() { 134 public String getStationMark() {
101 return stationMark; 135 return stationMark;
102 } 136 }
src/main/java/com/bsth/repository/LineRepository.java 0 → 100644
  1 +package com.bsth.repository;
  2 +
  3 +import org.springframework.stereotype.Repository;
  4 +
  5 +import com.bsth.entity.Line;
  6 +
  7 +/**
  8 + *
  9 + * @Interface: LineService(线路Repository数据持久层接口)
  10 + *
  11 + * @extends : BaseRepository
  12 + *
  13 + * @Description: TODO(线路Repository数据持久层接口)
  14 + *
  15 + * @author bsth@lq
  16 + *
  17 + * @date 2016年4月28日 上午9:21:17
  18 + *
  19 + * @version 公交调度系统BS版 0.1
  20 + *
  21 + */
  22 +@Repository
  23 +public interface LineRepository extends BaseRepository<Line, Integer> {
  24 +
  25 +}
src/main/java/com/bsth/service/LineService.java 0 → 100644
  1 +package com.bsth.service;
  2 +
  3 +import com.bsth.entity.Line;
  4 +
  5 +/**
  6 + *
  7 + * @Interface: LineService(线路service业务层实现接口)
  8 + *
  9 + * @extends : BaseService
  10 + *
  11 + * @Description: TODO(线路service业务层实现接口)
  12 + *
  13 + * @author bsth@lq
  14 + *
  15 + * @date 2016年4月28日 上午9:21:17
  16 + *
  17 + * @version 公交调度系统BS版 0.1
  18 + *
  19 + */
  20 +public interface LineService extends BaseService<Line, Integer> {
  21 +
  22 +}
src/main/java/com/bsth/service/impl/LineServiceImpl.java 0 → 100644
  1 +package com.bsth.service.impl;
  2 +
  3 +import org.springframework.stereotype.Service;
  4 +
  5 +import com.bsth.entity.Line;
  6 +
  7 +/**
  8 + *
  9 + * @ClassName: LineServiceImpl(线路service业务层实现类)
  10 + *
  11 + * @extends : BaseService
  12 + *
  13 + * @Description: TODO(线路service业务层)
  14 + *
  15 + * @author bsth@lq
  16 + *
  17 + * @date 2016年4月28日 上午9:21:17
  18 + *
  19 + * @version 公交调度系统BS版 0.1
  20 + *
  21 + */
  22 +
  23 +@Service
  24 +public class LineServiceImpl extends BaseServiceImpl<Line, Integer> {
  25 +
  26 +}
src/main/resources/static/pages/base/line/add.html 0 → 100644
  1 +<div class="page-head">
  2 + <div class="page-title">
  3 + <h1>添加线路</h1>
  4 + </div>
  5 +</div>
  6 +
  7 +<ul class="page-breadcrumb breadcrumb">
  8 + <li><a href="/pages/home.html" data-pjax>首页</a> <i class="fa fa-circle"></i></li>
  9 + <li><span class="active">基础信息</span> <i class="fa fa-circle"></i></li>
  10 + <li><a href="/pages/base/line/list.html" data-pjax>线路信息</a> <i class="fa fa-circle"></i></li>
  11 + <li><span class="active">添加线路</span></li>
  12 +</ul>
  13 +
  14 +<div class="portlet light bordered">
  15 + <div class="portlet-title">
  16 + <div class="caption">
  17 + <i class="icon-equalizer font-red-sunglo"></i>
  18 + <span class="caption-subject font-red-sunglo bold uppercase">表单</span>
  19 + </div>
  20 + </div>
  21 + <div class="portlet-body form">
  22 + <!-- START FORM -->
  23 + <form action="/line" class="form-horizontal" id="line_add_form" >
  24 + <div id="vmap_world" class="vmaps" style="width: 100%; position: relative; overflow: hidden;">
  25 +
  26 + </div>
  27 + </form>
  28 + <!-- END FORM-->
  29 + </div>
  30 +</div>
0 \ No newline at end of file 31 \ No newline at end of file
src/main/resources/static/pages/base/line/js/list.js 0 → 100644
  1 +/**
  2 + *
  3 + * @JSName : list.js(线路信息list.html页面js)
  4 + *
  5 + * @Author : bsth@lq
  6 + *
  7 + * @Description : TODO(线路信息list.html页面js)
  8 + *
  9 + * @Data : 2016年4月28日 上午9:21:17
  10 + *
  11 + * @Version 公交调度系统BS版 0.1
  12 + *
  13 + */
  14 +
  15 +(function(){
  16 +
  17 + /**
  18 + * -----page : 当前页
  19 + *
  20 + * -----initPag :
  21 + *
  22 + */
  23 + var page = 0,initPag;
  24 +
  25 + // 选择框
  26 + var icheckOptions = {
  27 + checkboxClass: 'icheckbox_flat-blue',
  28 + increaseArea: '20%'
  29 + };
  30 +
  31 + // 表格数据分页加载
  32 + loadTableDate(null,true);
  33 +
  34 + /**
  35 + * 重置按钮事件
  36 + *
  37 + */
  38 + $('tr.filter .filter-cancel').on('click',function(){
  39 + // 清空搜索框值
  40 + $('tr.filter input,select').val('').change();
  41 + // 重新加载表格数据
  42 + loadTableData(null,true);
  43 + });
  44 +
  45 + /**
  46 + * 表格数据分页加载事件
  47 + *
  48 + * ------@param : 查询参数
  49 + *
  50 + * ------@isPon : 是否重新分页
  51 + *
  52 + */
  53 + function loadTableDate(param,isPon){
  54 + var params = {};
  55 + if(param)
  56 + params = param;
  57 + // 排序(按更新时间)
  58 + params['order'] = 'id';
  59 + // 记录当前页数
  60 + params['page'] = page;
  61 + var i = layer.load(2);
  62 + $.get('/line',params,function(result){
  63 + console.log(result);
  64 + });
  65 + }
  66 +})();
0 \ No newline at end of file 67 \ No newline at end of file
src/main/resources/static/pages/base/line/list.html
@@ -8,4 +8,75 @@ @@ -8,4 +8,75 @@
8 <li><a href="/pages/home.html" data-pjax>首页</a> <i class="fa fa-circle"></i></li> 8 <li><a href="/pages/home.html" data-pjax>首页</a> <i class="fa fa-circle"></i></li>
9 <li><span class="active">基础信息</span> <i class="fa fa-circle"></i></li> 9 <li><span class="active">基础信息</span> <i class="fa fa-circle"></i></li>
10 <li><span class="active">线路信息</span></li> 10 <li><span class="active">线路信息</span></li>
11 -</ul>  
12 \ No newline at end of file 11 \ No newline at end of file
  12 +</ul>
  13 +
  14 +<div class="row">
  15 + <div class="col-md-12">
  16 + <div class="portlet light porttlet-fit bordered">
  17 + <div class="portlet-title">
  18 + <div class="caption">
  19 + <i class="fa fa-info-circle font-dark"></i>
  20 + <span class="caption-subject font-dark sbold uppercase">线路信息</span>
  21 + </div>
  22 + <div class="actions">
  23 + <div class="btn-group btn-group-devided" data-toggle="buttons">
  24 + <a class="btn btn-circle blue" href="add.html" data-pjax><i class="fa fa-plus"></i> 添加线路</a>
  25 + </div>
  26 + </div>
  27 + </div>
  28 + <div class="portlet-body">
  29 + <div class="table-container" style="margin-top: 10px">
  30 + <table class="table table-striped table-bordered table-hover table-checkable" id="datatable_line">
  31 + <thead>
  32 + <tr role="row" class="heading">
  33 + <th width="3%">#</th>
  34 + <th width="15%">线路编码</th>
  35 + <th width="13%">线路名称</th>
  36 + <th width="100">配车总数</th>
  37 + <th width="11%">停车场编码</th>
  38 + <th width="18%">起始站名称</th>
  39 + <th width="10%">终点站名称</th>
  40 + <th width="18%">操作</th>
  41 + </tr>
  42 + <tr role="row" class="filter">
  43 + <td></td>
  44 + <td>
  45 + <input type="text" class="form-control form-filter input-sm" name="name_like">
  46 + </td>
  47 + <td>
  48 + <input type="text" class="form-control form-filter input-sm" name="name_like">
  49 + </td>
  50 + <td>
  51 + <input type="text" class="form-control form-filter input-sm" name="url_like">
  52 + </td>
  53 + <td>
  54 + <input type="text" class="form-control form-filter input-sm" name="url_like">
  55 + </td>
  56 + <td>
  57 + <input type="text" class="form-control form-filter input-sm" name="url_like">
  58 + </td>
  59 + <td>
  60 + <input type="text" class="form-control form-filter input-sm" name="url_like">
  61 + </td>
  62 + <td>
  63 + <button class="btn btn-sm green btn-outline filter-submit margin-bottom" >
  64 + <i class="fa fa-search"></i> 搜索
  65 + </button>
  66 +
  67 + <button class="btn btn-sm red btn-outline filter-cancel">
  68 + <i class="fa fa-times"></i> 重置
  69 + </button>
  70 + </td>
  71 + </tr>
  72 + </thead>
  73 + <tbody></tbody>
  74 + </table>
  75 + <div style="text-align: right;">
  76 + <ul id="pagination" class="pagination"></ul>
  77 + </div>
  78 + </div>
  79 + </div>
  80 + </div>
  81 + </div>
  82 +</div>
  83 +<script src="/pages/base/line/js/list.js"></script>
13 \ No newline at end of file 84 \ No newline at end of file