Commit de2c4e801c2205862e25865c1ffada97eac1f334

Authored by yiming
2 parents e109fb98 225796f1

Merge remote-tracking branch 'origin/pudong_jdk8' into pudong_jdk8

src/main/java/com/bsth/controller/realcontrol/ScheduleRealInfoController.java
@@ -629,7 +629,7 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo, @@ -629,7 +629,7 @@ public class ScheduleRealInfoController extends BaseController<ScheduleRealInfo,
629 List<String> rs = new ArrayList<>(); 629 List<String> rs = new ArrayList<>();
630 Set<Role> roles = SecurityUtils.getCurrentUser().getRoles(); 630 Set<Role> roles = SecurityUtils.getCurrentUser().getRoles();
631 SystemParam param = BasicData.getSystemParam().get(Constants.SPECIAL_ROLES); 631 SystemParam param = BasicData.getSystemParam().get(Constants.SPECIAL_ROLES);
632 - int days = 3; 632 + int days = 4;
633 if (param != null && param.getValue() != null) { 633 if (param != null && param.getValue() != null) {
634 for (Role role : roles) { 634 for (Role role : roles) {
635 if (param.getValue().contains(String.format(",%s,", role.getCodeName()))) { 635 if (param.getValue().contains(String.format(",%s,", role.getCodeName()))) {
src/main/java/com/bsth/service/impl/InoutCarparkServiceImpl.java
@@ -446,8 +446,8 @@ public class InoutCarparkServiceImpl extends BaseServiceImpl&lt;LsInoutSectionRoute @@ -446,8 +446,8 @@ public class InoutCarparkServiceImpl extends BaseServiceImpl&lt;LsInoutSectionRoute
446 map.put("destroy", 0); 446 map.put("destroy", 0);
447 map.put("directions", 3); 447 map.put("directions", 3);
448 map.put("descriptions", ""); 448 map.put("descriptions", "");
449 - map.put("start", scheduleRealInfo.getQdzCode());  
450 - map.put("end", scheduleRealInfo.getZdzCode()); 449 + map.put("start", scheduleRealInfo.getQdzName());
  450 + map.put("end", scheduleRealInfo.getZdzName());
451 map.put("bsectionVector", new ObjectMapper().writeValueAsString(bsectionVector)); 451 map.put("bsectionVector", new ObjectMapper().writeValueAsString(bsectionVector));
452 452
453 lsInoutSectionRouteRepository.destroy(scheduleRealInfo.getXlBm(), versions, scheduleRealInfo.getQdzName(), scheduleRealInfo.getZdzName()); 453 lsInoutSectionRouteRepository.destroy(scheduleRealInfo.getXlBm(), versions, scheduleRealInfo.getQdzName(), scheduleRealInfo.getZdzName());
src/main/java/com/bsth/service/realcontrol/impl/ScheduleRealInfoServiceImpl.java
@@ -626,7 +626,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf @@ -626,7 +626,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
626 DateTimeFormatter formatter = DateTimeFormat.forPattern("yyyy-MM-dd"); 626 DateTimeFormatter formatter = DateTimeFormat.forPattern("yyyy-MM-dd");
627 long today = formatter.parseMillis(new DateTime().toString("yyyy-MM-dd")), scheduleDate = formatter.parseMillis(t.getScheduleDateStr()); 627 long today = formatter.parseMillis(new DateTime().toString("yyyy-MM-dd")), scheduleDate = formatter.parseMillis(t.getScheduleDateStr());
628 String clZbh = t.getClZbh(), lpName = t.getLpName(); 628 String clZbh = t.getClZbh(), lpName = t.getLpName();
629 - if (today < scheduleDate || today - scheduleDate > 172800000) { 629 + if (today < scheduleDate || today - scheduleDate > 259200000) {
630 rs.put("status", ResponseCode.ERROR); 630 rs.put("status", ResponseCode.ERROR);
631 rs.put("msg", "无效的调度日期"); 631 rs.put("msg", "无效的调度日期");
632 return rs; 632 return rs;
@@ -4679,7 +4679,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf @@ -4679,7 +4679,7 @@ public class ScheduleRealInfoServiceImpl extends BaseServiceImpl&lt;ScheduleRealInf
4679 // 检查调度日期 4679 // 检查调度日期
4680 DateTimeFormatter formatter = DateTimeFormat.forPattern("yyyy-MM-dd"); 4680 DateTimeFormatter formatter = DateTimeFormat.forPattern("yyyy-MM-dd");
4681 long today = formatter.parseMillis(new DateTime().toString("yyyy-MM-dd")), scheduleDate = formatter.parseMillis(sch.getScheduleDateStr()); 4681 long today = formatter.parseMillis(new DateTime().toString("yyyy-MM-dd")), scheduleDate = formatter.parseMillis(sch.getScheduleDateStr());
4682 - if (today < scheduleDate || today - scheduleDate > 172800000) { 4682 + if (today < scheduleDate || today - scheduleDate > 259200000) {
4683 rs.put("status", ResponseCode.ERROR); 4683 rs.put("status", ResponseCode.ERROR);
4684 rs.put("msg", "无效的调度日期"); 4684 rs.put("msg", "无效的调度日期");
4685 return rs; 4685 return rs;