Commit a2980dd5d204f1745c2510df15b5ab0a58da5350

Authored by ljq
1 parent 96b63a8e

智能调度执行记录1

src/main/java/com/bsth/controller/zndd/LoggerZnddController.java
@@ -2,7 +2,6 @@ package com.bsth.controller.zndd; @@ -2,7 +2,6 @@ package com.bsth.controller.zndd;
2 2
3 import com.bsth.controller.BaseController; 3 import com.bsth.controller.BaseController;
4 import com.bsth.entity.zndd.LoggerZndd; 4 import com.bsth.entity.zndd.LoggerZndd;
5 -import com.bsth.entity.zndd.ZnddYuAn;  
6 import org.springframework.web.bind.annotation.RequestMapping; 5 import org.springframework.web.bind.annotation.RequestMapping;
7 import org.springframework.web.bind.annotation.RestController; 6 import org.springframework.web.bind.annotation.RestController;
8 7
src/main/java/com/bsth/entity/zndd/StationPeopleLogger.java 0 → 100644
  1 +package com.bsth.entity.zndd;
  2 +
  3 +
  4 +import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
  5 +
  6 +import javax.persistence.*;
  7 +import java.io.Serializable;
  8 +
  9 +@Entity
  10 +@Table(name = "bsth_c_t_station_people_logger") //智能调度记录查询表
  11 +@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler","fieldHandler"})
  12 +public class StationPeopleLogger implements Serializable {
  13 + // ID
  14 + @Id
  15 + @GeneratedValue(strategy = GenerationType.IDENTITY)
  16 + private Long id;
  17 +
  18 + private String lineCode;
  19 + //线路名称
  20 + private String lineName;
  21 + //站点code
  22 + private String station;
  23 + //站点名称
  24 + private String stationName;
  25 + //日期
  26 + private String rqStr;
  27 + //日期 HH:mm:ss
  28 + private String rq;
  29 + //类型 'DJG': '大间隔','FCJG': '发车间隔','WD': '误点','MZ': '满载率高','DKL': '大客流',
  30 + private String type;
  31 + //上下行
  32 + private String xlDir;
  33 + //人数 or 差距时间 or 站点差数 根据类型判断
  34 + private Long numType;
  35 +
  36 +
  37 + public void setId(Long id) {
  38 + this.id = id;
  39 + }
  40 +
  41 + public Long getId() {
  42 + return id;
  43 + }
  44 +
  45 + public String getLineCode() {
  46 + return lineCode;
  47 + }
  48 +
  49 + public void setLineCode(String lineCode) {
  50 + this.lineCode = lineCode;
  51 + }
  52 +
  53 + public String getLineName() {
  54 + return lineName;
  55 + }
  56 +
  57 + public void setLineName(String lineName) {
  58 + this.lineName = lineName;
  59 + }
  60 +
  61 + public String getRqStr() {
  62 + return rqStr;
  63 + }
  64 +
  65 + public void setRqStr(String rqStr) {
  66 + this.rqStr = rqStr;
  67 + }
  68 +
  69 + public String getType() {
  70 + return type;
  71 + }
  72 +
  73 + public void setType(String type) {
  74 + this.type = type;
  75 + }
  76 +
  77 + public String getXlDir() {
  78 + return xlDir;
  79 + }
  80 +
  81 + public void setXlDir(String xlDir) {
  82 + this.xlDir = xlDir;
  83 + }
  84 +
  85 + public String getRq() {
  86 + return rq;
  87 + }
  88 +
  89 + public void setRq(String rq) {
  90 + this.rq = rq;
  91 + }
  92 +
  93 + public Long getNumType() {
  94 + return numType;
  95 + }
  96 +
  97 + public String getStation() {
  98 + return station;
  99 + }
  100 +
  101 + public void setStation(String station) {
  102 + this.station = station;
  103 + }
  104 +
  105 + public String getStationName() {
  106 + return stationName;
  107 + }
  108 +
  109 + public void setStationName(String stationName) {
  110 + this.stationName = stationName;
  111 + }
  112 +
  113 + public void setNumType(Long numType) {
  114 + this.numType = numType;
  115 + }
  116 +
  117 +}
src/main/java/com/bsth/entity/zndd/StationSignsLogger.java 0 → 100644
  1 +package com.bsth.entity.zndd;
  2 +
  3 +import javax.persistence.*;
  4 +
  5 +@Entity
  6 +@Table(name = "station_signs_logger")
  7 +public class StationSignsLogger {
  8 +
  9 + @Id
  10 + @GeneratedValue(strategy = GenerationType.IDENTITY)
  11 + private Long id;
  12 + //线路编号
  13 + private String lineCode;
  14 + //线路名称
  15 + private String lineName;
  16 + //站点code
  17 + private String station;
  18 + //站点名称
  19 + private String stationName;
  20 + //上下行
  21 + private String dir;
  22 +
  23 + private int num;
  24 +
  25 + private String image;
  26 +
  27 +
  28 +
  29 + public String getLineCode() {
  30 + return lineCode;
  31 + }
  32 +
  33 + public void setLineCode(String lineCode) {
  34 + this.lineCode = lineCode;
  35 + }
  36 +
  37 + public String getLineName() {
  38 + return lineName;
  39 + }
  40 +
  41 + public void setLineName(String lineName) {
  42 + this.lineName = lineName;
  43 + }
  44 +
  45 + public String getStation() {
  46 + return station;
  47 + }
  48 +
  49 + public void setStation(String station) {
  50 + this.station = station;
  51 + }
  52 +
  53 + public String getStationName() {
  54 + return stationName;
  55 + }
  56 +
  57 + public void setStationName(String stationName) {
  58 + this.stationName = stationName;
  59 + }
  60 +
  61 + public String getDir() {
  62 + return dir;
  63 + }
  64 +
  65 + public void setDir(String dir) {
  66 + this.dir = dir;
  67 + }
  68 +
  69 + public int getNum() {
  70 + return num;
  71 + }
  72 +
  73 + public void setNum(int num) {
  74 + this.num = num;
  75 + }
  76 +
  77 + public String getImage() {
  78 + return image;
  79 + }
  80 +
  81 + public void setImage(String image) {
  82 + this.image = image;
  83 + }
  84 +}
src/main/java/com/bsth/entity/zndd/ZnddYuAn.java 0 → 100644
  1 +package com.bsth.entity.zndd;
  2 +
  3 +import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
  4 +
  5 +import javax.persistence.*;
  6 +
  7 +@Entity
  8 +@Table(name = "bsth_zndd_ya")
  9 +@JsonIgnoreProperties(value={"hibernateLazyInitializer","handler","fieldHandler"})
  10 +public class ZnddYuAn {
  11 +
  12 + @Id
  13 + @GeneratedValue(strategy = GenerationType.IDENTITY)
  14 + private Long id;
  15 +
  16 + //类型
  17 + private String type;
  18 +
  19 + //保存的json数据
  20 + private String jsonDate;
  21 +
  22 + //0是图 1是线
  23 + private String types;
  24 +
  25 + public Long getId() {
  26 + return id;
  27 + }
  28 +
  29 + public void setId(Long id) {
  30 + this.id = id;
  31 + }
  32 +
  33 + public String getType() {
  34 + return type;
  35 + }
  36 +
  37 + public void setType(String type) {
  38 + this.type = type;
  39 + }
  40 +
  41 + public String getJsonDate() {
  42 + return jsonDate;
  43 + }
  44 +
  45 + public void setJsonDate(String jsonDate) {
  46 + this.jsonDate = jsonDate;
  47 + }
  48 +
  49 + public String getTypes() {
  50 + return types;
  51 + }
  52 +
  53 + public void setTypes(String types) {
  54 + this.types = types;
  55 + }
  56 +}