运行图问题修改
This commit is contained in:
parent
a2a8f1f296
commit
94b679893f
@ -70,8 +70,8 @@ public class RunPlanRoutingService implements IRunPlanRoutingService {
|
||||
RunPlanRoutingVO routingDataLoop = routingVO.getRoutingDataLoop();
|
||||
generateUserRoutingSections(routingDataLoop, deviceMap);
|
||||
if (routingDataExist(routingDataLoop)) return;
|
||||
Section endSection = (Section) deviceMap.get(routingVO.getEndSectionCode());
|
||||
routingVO.setDestinationCode(endSection.getDestinationCode());
|
||||
Section endSection = (Section) deviceMap.get(routingDataLoop.getEndSectionCode());
|
||||
routingDataLoop.setDestinationCode(endSection.getDestinationCode());
|
||||
runPlanRoutingDAO.insert(routingDataLoop.convert2Entity());
|
||||
createRoutingRefData(deviceMap, routingDataLoop);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user