Commit 9460dd02f627b1da3ab0fa38834309523a713939

Authored by 王通
1 parent 51fd0cc8

1.线路调查表数据

src/main/java/com/bsth/entity/CalcInvestigateMonth.java 0 → 100644
  1 +package com.bsth.entity;
  2 +
  3 +import java.util.Date;
  4 +
  5 +import javax.persistence.*;
  6 +
  7 +@Entity
  8 +@Table(name = "bsth_c_calc_investigate_month")
  9 +public class CalcInvestigateMonth {
  10 + /* 主键*/
  11 + @Id
  12 + @GeneratedValue(strategy = GenerationType.IDENTITY)
  13 + private Long id;
  14 + /* 月(yyyy-MM)*/
  15 + private String month;
  16 + /* 线路*/
  17 + private String xl;
  18 + /* 公司编码*/
  19 + private String gsbm;
  20 + /* 分公司编码*/
  21 + private String fgsbm;
  22 + /* 线路名称*/
  23 + private String xlmc;
  24 + /* 权证配车数*/
  25 + private String qzpcs;
  26 + /* 线路属性*/
  27 + private String xlsx;
  28 + /* 线路类型*/
  29 + private String xllx;
  30 + /* 线路长度*/
  31 + private String xlcd;
  32 + /* 是否挂牌*/
  33 + private String sfgp;
  34 + /* 是否冷僻线路*/
  35 + private String sflpxl;
  36 + /* 首末班时间*/
  37 + private String smbsj;
  38 + /* 调度方式(常规、多样化)*/
  39 + private String ddfs;
  40 + /* 高峰间隔时间*/
  41 + private String gfjgsj;
  42 + /* 低谷间隔时间*/
  43 + private String dgjgsj;
  44 + /* 是否衔接轨交末班*/
  45 + private String sfxjgj;
  46 + /* 日均里程*/
  47 + private String rjlc;
  48 + /* 日均班次*/
  49 + private String rjbc;
  50 + /* 日均人次*/
  51 + private String rjrc;
  52 + /* 日均单车人次*/
  53 + private String rjdcrc;
  54 + /* 每班车人次*/
  55 + private String mbcrc;
  56 + /* 计划总公里*/
  57 + private String jhzgl;
  58 + /* 实际总公里*/
  59 + private String sjzgl;
  60 + /* 实际营运里程*/
  61 + private String sjyylc;
  62 + /* 里程利用率*/
  63 + private String lclyl;
  64 + /* 百公里人次*/
  65 + private String bglrc;
  66 + /* 月人次*/
  67 + private String yrc;
  68 + /* 月营收*/
  69 + private String yys;
  70 + /* 票价*/
  71 + private String pj;
  72 + /* 百公里营收*/
  73 + private String bglys;
  74 + /* 途径轨交站*/
  75 + private String tjgjz;
  76 + /* 途径三级医院*/
  77 + private String tjsjyy;
  78 + /* 唯一线*/
  79 + private String wyx;
  80 + /* 线路走向*/
  81 + private String xlzx;
  82 + /* 线路站点*/
  83 + private String xlzd;
  84 + /* 备注*/
  85 + private String bz;
  86 + /* 创建时间(更新时间)*/
  87 + private Date createDate;
  88 +
  89 + public Long getId() {
  90 + return id;
  91 + }
  92 + public void setId(Long id) {
  93 + this.id = id;
  94 + }
  95 + public String getMonth() {
  96 + return month;
  97 + }
  98 + public void setMonth(String month) {
  99 + this.month = month;
  100 + }
  101 + public String getGsbm() {
  102 + return gsbm;
  103 + }
  104 + public void setGsbm(String gsbm) {
  105 + this.gsbm = gsbm;
  106 + }
  107 + public String getFgsbm() {
  108 + return fgsbm;
  109 + }
  110 + public void setFgsbm(String fgsbm) {
  111 + this.fgsbm = fgsbm;
  112 + }
  113 + public String getXl() {
  114 + return xl;
  115 + }
  116 + public void setXl(String xl) {
  117 + this.xl = xl;
  118 + }
  119 + public String getXlmc() {
  120 + return xlmc;
  121 + }
  122 + public void setXlmc(String xlmc) {
  123 + this.xlmc = xlmc;
  124 + }
  125 + public String getQzpcs() {
  126 + return qzpcs;
  127 + }
  128 + public void setQzpcs(String qzpcs) {
  129 + this.qzpcs = qzpcs;
  130 + }
  131 + public String getXlsx() {
  132 + return xlsx;
  133 + }
  134 + public void setXlsx(String xlsx) {
  135 + this.xlsx = xlsx;
  136 + }
  137 + public String getXllx() {
  138 + return xllx;
  139 + }
  140 + public void setXllx(String xllx) {
  141 + this.xllx = xllx;
  142 + }
  143 + public String getXlcd() {
  144 + return xlcd;
  145 + }
  146 + public void setXlcd(String xlcd) {
  147 + this.xlcd = xlcd;
  148 + }
  149 + public String getSfgp() {
  150 + return sfgp;
  151 + }
  152 + public void setSfgp(String sfgp) {
  153 + this.sfgp = sfgp;
  154 + }
  155 + public String getSflpxl() {
  156 + return sflpxl;
  157 + }
  158 + public void setSflpxl(String sflpxl) {
  159 + this.sflpxl = sflpxl;
  160 + }
  161 + public String getSmbsj() {
  162 + return smbsj;
  163 + }
  164 + public void setSmbsj(String smbsj) {
  165 + this.smbsj = smbsj;
  166 + }
  167 + public String getDdfs() {
  168 + return ddfs;
  169 + }
  170 + public void setDdfs(String ddfs) {
  171 + this.ddfs = ddfs;
  172 + }
  173 + public String getGfjgsj() {
  174 + return gfjgsj;
  175 + }
  176 + public void setGfjgsj(String gfjgsj) {
  177 + this.gfjgsj = gfjgsj;
  178 + }
  179 + public String getDgjgsj() {
  180 + return dgjgsj;
  181 + }
  182 + public void setDgjgsj(String dgjgsj) {
  183 + this.dgjgsj = dgjgsj;
  184 + }
  185 + public String getSfxjgj() {
  186 + return sfxjgj;
  187 + }
  188 + public void setSfxjgj(String sfxjgj) {
  189 + this.sfxjgj = sfxjgj;
  190 + }
  191 + public String getRjlc() {
  192 + return rjlc;
  193 + }
  194 + public void setRjlc(String rjlc) {
  195 + this.rjlc = rjlc;
  196 + }
  197 + public String getRjbc() {
  198 + return rjbc;
  199 + }
  200 + public void setRjbc(String rjbc) {
  201 + this.rjbc = rjbc;
  202 + }
  203 + public String getRjrc() {
  204 + return rjrc;
  205 + }
  206 + public void setRjrc(String rjrc) {
  207 + this.rjrc = rjrc;
  208 + }
  209 + public String getRjdcrc() {
  210 + return rjdcrc;
  211 + }
  212 + public void setRjdcrc(String rjdcrc) {
  213 + this.rjdcrc = rjdcrc;
  214 + }
  215 + public String getMbcrc() {
  216 + return mbcrc;
  217 + }
  218 + public void setMbcrc(String mbcrc) {
  219 + this.mbcrc = mbcrc;
  220 + }
  221 + public String getJhzgl() {
  222 + return jhzgl;
  223 + }
  224 + public void setJhzgl(String jhzgl) {
  225 + this.jhzgl = jhzgl;
  226 + }
  227 + public String getSjzgl() {
  228 + return sjzgl;
  229 + }
  230 + public void setSjzgl(String sjzgl) {
  231 + this.sjzgl = sjzgl;
  232 + }
  233 + public String getSjyylc() {
  234 + return sjyylc;
  235 + }
  236 + public void setSjyylc(String sjyylc) {
  237 + this.sjyylc = sjyylc;
  238 + }
  239 + public String getLclyl() {
  240 + return lclyl;
  241 + }
  242 + public void setLclyl(String lclyl) {
  243 + this.lclyl = lclyl;
  244 + }
  245 + public String getBglrc() {
  246 + return bglrc;
  247 + }
  248 + public void setBglrc(String bglrc) {
  249 + this.bglrc = bglrc;
  250 + }
  251 + public String getYrc() {
  252 + return yrc;
  253 + }
  254 + public void setYrc(String yrc) {
  255 + this.yrc = yrc;
  256 + }
  257 + public String getYys() {
  258 + return yys;
  259 + }
  260 + public void setYys(String yys) {
  261 + this.yys = yys;
  262 + }
  263 + public String getPj() {
  264 + return pj;
  265 + }
  266 + public void setPj(String pj) {
  267 + this.pj = pj;
  268 + }
  269 + public String getBglys() {
  270 + return bglys;
  271 + }
  272 + public void setBglys(String bglys) {
  273 + this.bglys = bglys;
  274 + }
  275 + public String getTjgjz() {
  276 + return tjgjz;
  277 + }
  278 + public void setTjgjz(String tjgjz) {
  279 + this.tjgjz = tjgjz;
  280 + }
  281 + public String getTjsjyy() {
  282 + return tjsjyy;
  283 + }
  284 + public void setTjsjyy(String tjsjyy) {
  285 + this.tjsjyy = tjsjyy;
  286 + }
  287 + public String getWyx() {
  288 + return wyx;
  289 + }
  290 + public void setWyx(String wyx) {
  291 + this.wyx = wyx;
  292 + }
  293 + public String getXlzx() {
  294 + return xlzx;
  295 + }
  296 + public void setXlzx(String xlzx) {
  297 + this.xlzx = xlzx;
  298 + }
  299 + public String getXlzd() {
  300 + return xlzd;
  301 + }
  302 + public void setXlzd(String xlzd) {
  303 + this.xlzd = xlzd;
  304 + }
  305 + public String getBz() {
  306 + return bz;
  307 + }
  308 + public void setBz(String bz) {
  309 + this.bz = bz;
  310 + }
  311 + public Date getCreateDate() {
  312 + return createDate;
  313 + }
  314 + public void setCreateDate(Date createDate) {
  315 + this.createDate = createDate;
  316 + }
  317 +
  318 +}
... ...
src/main/java/com/bsth/repository/CalcInvestigateMonthRepository.java 0 → 100644
  1 +package com.bsth.repository;
  2 +
  3 +
  4 +import java.util.List;
  5 +
  6 +import org.springframework.data.jpa.repository.Query;
  7 +import org.springframework.data.repository.PagingAndSortingRepository;
  8 +import org.springframework.stereotype.Repository;
  9 +
  10 +import com.bsth.entity.CalcInvestigateMonth;
  11 +
  12 +@Repository
  13 +public interface CalcInvestigateMonthRepository extends PagingAndSortingRepository<CalcInvestigateMonth, Long>{
  14 +
  15 + @Query(value="select c from CalcInvestigateMonth c where month = ?1 order by c.xlmc")
  16 + List<CalcInvestigateMonth> findByMonth(String month);
  17 +
  18 + @Query(value="select c from CalcInvestigateMonth c where month = ?1 and gsbm like %?2% and fgsbm like %?3% order by c.xlmc")
  19 + List<CalcInvestigateMonth> findByMonth(String month, String gsbm, String fgsbm);
  20 +
  21 + @Query(value="select c from CalcInvestigateMonth c where month = ?1 and xl = ?2 order by c.xlmc")
  22 + List<CalcInvestigateMonth> findByMonthAndLine(String month, String line);
  23 +
  24 +}
0 25 \ No newline at end of file
... ...