异常场景取消及手动页面清空来源点位
This commit is contained in:
@@ -217,12 +217,12 @@ public class KGHJRKTask extends AbstractTask {
|
||||
}
|
||||
|
||||
String startPoint = taskObj.getPoint_code1(); // 获取起点
|
||||
if (taskObj.getPoint_code2().startsWith("QHQ")) {
|
||||
if (ObjectUtil.isNotEmpty(taskObj)&&ObjectUtil.isNotEmpty(taskObj.getPoint_code2())&&taskObj.getPoint_code2().startsWith("QHQ")) {
|
||||
taskObj.setPoint_code2("HCQ" + taskObj.getPoint_code2().substring(3));
|
||||
}
|
||||
String endPoint = taskObj.getPoint_code2(); // 获取终点
|
||||
SchBasePoint startPointObj = pointService.getById(startPoint);
|
||||
if (endPoint.startsWith("ZJBDJW")) {
|
||||
if (ObjectUtil.isNotEmpty(endPoint)&&endPoint.startsWith("ZJBDJW")) {
|
||||
endPoint = endPoint.substring(0, endPoint.length() - 2);
|
||||
}
|
||||
SchBasePoint endPointObj = pointService.getById(endPoint);
|
||||
|
||||
Reference in New Issue
Block a user