Browse Source

手动模式

yaoyq 3 years ago
parent
commit
d76babaca9

+ 1 - 0
imcs-admin-boot/imcs-business-biz/src/main/java/com/github/zuihou/business/operationManagementCenter/service/impl/TaskNodeServiceImpl.java

@@ -292,6 +292,7 @@ public class TaskNodeServiceImpl extends SuperServiceImpl<TaskNodeMapper, TaskNo
                     TaskNode taskNode = new TaskNode();
 //                    taskNode.setAutoNode(autoNode).setAutoNodeCode(autoNode.getCode()).setCompleteBatchNo(t.getCompleteBatchNo())
 //                            .setNodeNo(autoNode.getNodeNo()).setExeStatus("1").setPrority(autoCode.getWeight());
+                    taskNode.setNodeNo(autoCode.getName())
                     taskNode.setCompleteBatchNo(t.getCompleteBatchNo())
                             .setExeStatus("1").setPrority(autoCode.getWeight());
 //                    if (autoNode.getInterfaceType() != null) {

+ 9 - 0
imcs-admin-boot/imcs-business-entity/src/main/java/com/github/zuihou/business/productionResourceCenter/entity/ResourceAutoCode.java

@@ -29,6 +29,15 @@ public class ResourceAutoCode extends Entity<Long> {
 
     private static final long serialVersionUID = 1L;
 
+    /**
+     * 设备业务名
+     */
+    @ApiModelProperty(value = "节点编码")
+    @Length(max = 256, message = "节点编码长度不能超过256")
+    @TableField(value = "no", condition = LIKE)
+    @Excel(name = "编码")
+    private String no;
+
     /**
      * 设备业务名
      */