Commit 78adddad3aec8b320af13032bebfcf7fc7cfa6c6
Merge branch 'pudong' of 192.168.168.201:panzhaov5/bsth_control into pudong
Showing
2 changed files
with
4 additions
and
3 deletions
src/main/java/com/bsth/service/traffic/impl/VehicleInoutStopServiceImpl.java
| ... | ... | @@ -82,7 +82,7 @@ public class VehicleInoutStopServiceImpl extends BaseServiceImpl<VehicleInoutSto |
| 82 | 82 | "if( up_down= 0,'上行','下行') as up_down ," + |
| 83 | 83 | "if( in_out_stop= 0,'站内','站外') as in_out_stop , " + |
| 84 | 84 | "stop,report_date FROM bsth_c_shreal " + packageParam(map,"") ; |
| 85 | - logger.info("车载上报停靠站查询sql:",sql); | |
| 85 | + logger.info("车载上报停靠站查询sql:"+sql); | |
| 86 | 86 | List<Map<String, Object>> result = jdbcTemp.queryForList(sql); |
| 87 | 87 | return result; |
| 88 | 88 | } |
| ... | ... | @@ -96,6 +96,7 @@ public class VehicleInoutStopServiceImpl extends BaseServiceImpl<VehicleInoutSto |
| 96 | 96 | JdbcTemplate jdbcTemp = new JdbcTemplate(DBUtils_MS.getDataSource()); |
| 97 | 97 | String sql = "SELECT count(1) COUNT FROM bsth_c_shreal" + packageParam(map,"count"); |
| 98 | 98 | long result = Long.valueOf(jdbcTemp.queryForMap(sql).get("COUNT")+""); |
| 99 | + logger.info("车载上报停靠站查询count-sql:"+sql); | |
| 99 | 100 | return result; |
| 100 | 101 | } |
| 101 | 102 | } | ... | ... |
src/main/resources/static/pages/scheduleApp/module/basicInfo/deviceInfoManage/form.html
| ... | ... | @@ -171,7 +171,7 @@ |
| 171 | 171 | <div class="col-md-3"> |
| 172 | 172 | <div class="input-group"> |
| 173 | 173 | <input type="datetime-local" class="form-control" name="qyrq" |
| 174 | - ng-model="ctrl.deviceInfoForSave.qyrq" | |
| 174 | + ng-model="ctrl.deviceInfoForSave.qyrq" required | |
| 175 | 175 | remote-Validation |
| 176 | 176 | remotevtype="cde1" |
| 177 | 177 | remotevparam="{{ {'qyrq_eq': ctrl.deviceInfoForSave.qyrq, 'xl_eq': ctrl.deviceInfoForSave.xl, 'cl_eq': ctrl.deviceInfoForSave.cl} | json}}" /> |
| ... | ... | @@ -180,7 +180,7 @@ |
| 180 | 180 | </div> |
| 181 | 181 | <!-- 隐藏块,显示验证信息 --> |
| 182 | 182 | <div class="alert alert-danger well-sm" ng-show="myForm.qyrq.$error.required"> |
| 183 | - 启用日期必须选择 | |
| 183 | + 启用日期必须选择,精确到具体时间 | |
| 184 | 184 | </div> |
| 185 | 185 | <div class="alert alert-danger well-sm" ng-show="myForm.qyrq.$error.remote"> |
| 186 | 186 | {{$remote_msg}} | ... | ... |