Commit 25b63d37b08a9d5cccd50ace629a101905f29607
1 parent
a219b6f7
rfid线路签卡率报表中添加自编号和路牌字段
Showing
4 changed files
with
32 additions
and
1 deletions
src/main/java/com/bsth/entity/card_signing/CardSigning.java
| @@ -20,6 +20,13 @@ public class CardSigning { | @@ -20,6 +20,13 @@ public class CardSigning { | ||
| 20 | private String xlName; | 20 | private String xlName; |
| 21 | //线路代码 | 21 | //线路代码 |
| 22 | private String xlBm; | 22 | private String xlBm; |
| 23 | + | ||
| 24 | + /** 车辆自编号 */ | ||
| 25 | + private String clZbh; | ||
| 26 | + | ||
| 27 | + /** 路牌名称 */ | ||
| 28 | + private String lpName; | ||
| 29 | + | ||
| 23 | //时间 | 30 | //时间 |
| 24 | private String scheduleDateStr; | 31 | private String scheduleDateStr; |
| 25 | //班次数 | 32 | //班次数 |
| @@ -212,4 +219,20 @@ public class CardSigning { | @@ -212,4 +219,20 @@ public class CardSigning { | ||
| 212 | public void setRfidName(String rfidName) { | 219 | public void setRfidName(String rfidName) { |
| 213 | this.rfidName = rfidName; | 220 | this.rfidName = rfidName; |
| 214 | } | 221 | } |
| 222 | + | ||
| 223 | + public String getClZbh() { | ||
| 224 | + return clZbh; | ||
| 225 | + } | ||
| 226 | + | ||
| 227 | + public void setClZbh(String clZbh) { | ||
| 228 | + this.clZbh = clZbh; | ||
| 229 | + } | ||
| 230 | + | ||
| 231 | + public String getLpName() { | ||
| 232 | + return lpName; | ||
| 233 | + } | ||
| 234 | + | ||
| 235 | + public void setLpName(String lpName) { | ||
| 236 | + this.lpName = lpName; | ||
| 237 | + } | ||
| 215 | } | 238 | } |
src/main/java/com/bsth/service/report/impl/CardSigningServiceImpl.java
| @@ -198,7 +198,7 @@ public class CardSigningServiceImpl implements CardSigningService { | @@ -198,7 +198,7 @@ public class CardSigningServiceImpl implements CardSigningService { | ||
| 198 | String line=map.get("line").toString(); | 198 | String line=map.get("line").toString(); |
| 199 | String date=map.get("date").toString(); | 199 | String date=map.get("date").toString(); |
| 200 | String dir =map.get("dir").toString(); | 200 | String dir =map.get("dir").toString(); |
| 201 | - String sql="select gs_name,gs_bm,fgs_name,fgs_bm, xl_name,xl_bm,schedule_date_str ,qdz_name,rfid_state,fcsj,fcsj_actual " + | 201 | + String sql="select gs_name,gs_bm,fgs_name,fgs_bm, xl_name,xl_bm,cl_zbh,lp_name,schedule_date_str ,qdz_name,rfid_state,fcsj,fcsj_actual " + |
| 202 | "from bsth_c_s_sp_info_real where schedule_date_str = '"+date+"' and xl_bm = '"+line+"' and bc_type='normal' ORDER BY qdz_name,fcsj" ; | 202 | "from bsth_c_s_sp_info_real where schedule_date_str = '"+date+"' and xl_bm = '"+line+"' and bc_type='normal' ORDER BY qdz_name,fcsj" ; |
| 203 | //条件下所有路单 | 203 | //条件下所有路单 |
| 204 | List<CardSigning> list=jdbcTemplate.query(sql, | 204 | List<CardSigning> list=jdbcTemplate.query(sql, |
| @@ -212,6 +212,8 @@ public class CardSigningServiceImpl implements CardSigningService { | @@ -212,6 +212,8 @@ public class CardSigningServiceImpl implements CardSigningService { | ||
| 212 | s.setFgsBm(rs.getString("fgs_bm")); | 212 | s.setFgsBm(rs.getString("fgs_bm")); |
| 213 | s.setXlName(rs.getString("xl_name")); | 213 | s.setXlName(rs.getString("xl_name")); |
| 214 | s.setXlBm(rs.getString("xl_bm")); | 214 | s.setXlBm(rs.getString("xl_bm")); |
| 215 | + s.setClZbh(rs.getString("cl_zbh")); | ||
| 216 | + s.setLpName(rs.getString("lp_name")); | ||
| 215 | s.setScheduleDateStr(rs.getString("schedule_date_str")); | 217 | s.setScheduleDateStr(rs.getString("schedule_date_str")); |
| 216 | s.setQdzName(rs.getString("qdz_name")); | 218 | s.setQdzName(rs.getString("qdz_name")); |
| 217 | s.setRfidState(rs.getInt("rfid_state")); | 219 | s.setRfidState(rs.getInt("rfid_state")); |
| @@ -249,6 +251,8 @@ public class CardSigningServiceImpl implements CardSigningService { | @@ -249,6 +251,8 @@ public class CardSigningServiceImpl implements CardSigningService { | ||
| 249 | m.put("id",i); | 251 | m.put("id",i); |
| 250 | m.put("schedule_date_str", c.getScheduleDateStr()); | 252 | m.put("schedule_date_str", c.getScheduleDateStr()); |
| 251 | m.put("line", c.getXlName()); | 253 | m.put("line", c.getXlName()); |
| 254 | + m.put("cl_zbh", c.getClZbh()); | ||
| 255 | + m.put("lp_name", c.getLpName()); | ||
| 252 | m.put("qdz_name", c.getQdzName()); | 256 | m.put("qdz_name", c.getQdzName()); |
| 253 | m.put("fcsj", c.getFcsj()); | 257 | m.put("fcsj", c.getFcsj()); |
| 254 | m.put("fcsj_actual", c.getFcsjActual()); | 258 | m.put("fcsj_actual", c.getFcsjActual()); |
src/main/resources/static/pages/forms/mould/cardSheetList2.xls
No preview for this file type
src/main/resources/static/pages/report/cardInsertion/cardList.html
| @@ -33,6 +33,8 @@ | @@ -33,6 +33,8 @@ | ||
| 33 | <td></td> | 33 | <td></td> |
| 34 | <td>日期</td> | 34 | <td>日期</td> |
| 35 | <td>线路</td> | 35 | <td>线路</td> |
| 36 | + <td>车辆自编号</td> | ||
| 37 | + <td>路牌名称</td> | ||
| 36 | <td>站点</td> | 38 | <td>站点</td> |
| 37 | <td>计划时间</td> | 39 | <td>计划时间</td> |
| 38 | <td>实际时间</td> | 40 | <td>实际时间</td> |
| @@ -93,6 +95,8 @@ | @@ -93,6 +95,8 @@ | ||
| 93 | <td>{{i+1}}</td> | 95 | <td>{{i+1}}</td> |
| 94 | <td>{{obj.scheduleDateStr}}</td> | 96 | <td>{{obj.scheduleDateStr}}</td> |
| 95 | <td>{{obj.xlName}}</td> | 97 | <td>{{obj.xlName}}</td> |
| 98 | + <td>{{obj.clZbh}}</td> | ||
| 99 | + <td>{{obj.lpName}}</td> | ||
| 96 | <td>{{obj.qdzName}}</td> | 100 | <td>{{obj.qdzName}}</td> |
| 97 | <td>{{obj.fcsj}}</td> | 101 | <td>{{obj.fcsj}}</td> |
| 98 | <td>{{obj.fcsjActual}}</td> | 102 | <td>{{obj.fcsjActual}}</td> |