Commit ad3d5989 authored by hanbing's avatar hanbing

[update] 统一信控-方案管理,优化时段信息

parent bf8ffaab
...@@ -256,6 +256,9 @@ public class RunningPlanServiceImpl implements RunningPlanService { ...@@ -256,6 +256,9 @@ public class RunningPlanServiceImpl implements RunningPlanService {
String[] startEndTime = time.getStartEndTime(); String[] startEndTime = time.getStartEndTime();
String startTime = startEndTime[0]; String startTime = startEndTime[0];
String endTime = startEndTime[1]; String endTime = startEndTime[1];
if ("23:59".equals(endTime)) {
endTime = "24:00";
}
String s = startTime + endTime; String s = startTime + endTime;
String sectionNo = s.replaceAll(":", ""); String sectionNo = s.replaceAll(":", "");
crossSectionPO.setSectionNo(sectionNo); crossSectionPO.setSectionNo(sectionNo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment