Commit c7962d76 authored by hanbing's avatar hanbing

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

parent 41c24cd1
...@@ -257,6 +257,9 @@ public class RunningPlanServiceImpl implements RunningPlanService { ...@@ -257,6 +257,9 @@ public class RunningPlanServiceImpl implements RunningPlanService {
String startTime = startEndTime[0]; String startTime = startEndTime[0];
String endTime = startEndTime[1]; String endTime = startEndTime[1];
String s = startTime + endTime; String s = startTime + endTime;
if ("23:59".equals(endTime)) {
endTime = "24:00";
}
String sectionNo = s.replaceAll(":", ""); String sectionNo = s.replaceAll(":", "");
crossSectionPO.setSectionNo(sectionNo); crossSectionPO.setSectionNo(sectionNo);
crossSectionPO.setStartTime(startTime); crossSectionPO.setStartTime(startTime);
......
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