diff --git a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java
index ac948c0..0b8dc2d 100644
--- a/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java
+++ b/lms/nladmin-system/nlsso-server/src/main/java/org/nl/wms/sch/task_manage/task/tasks/KGHJRKTask.java
@@ -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);
diff --git a/lms/nladmin-ui/src/views/wms/sch/point/index.vue b/lms/nladmin-ui/src/views/wms/sch/point/index.vue
index 78afd17..269774f 100644
--- a/lms/nladmin-ui/src/views/wms/sch/point/index.vue
+++ b/lms/nladmin-ui/src/views/wms/sch/point/index.vue
@@ -227,6 +227,9 @@
+
+
+
{{ item.label }}
@@ -262,6 +265,7 @@
+
{{ scope.row.ing_task_code?'是':'否' }}