diff --git a/op-auth/src/main/resources/bootstrap.yml b/op-auth/src/main/resources/bootstrap.yml
index 777e34cf2..eeac18fa9 100644
--- a/op-auth/src/main/resources/bootstrap.yml
+++ b/op-auth/src/main/resources/bootstrap.yml
@@ -17,12 +17,12 @@ spring:
# 服务注册地址
#--spring.cloud.nacos.discovery.namespace=ywl --spring.cloud.nacos.config.namespace=ywl
namespace: lanju-op
- group: zxl
+ group: chj
server-addr: 140.249.53.142:8848
config:
#命名空间
namespace: lanju-op
- group: zxl
+ group: chj
# 配置中心地址
server-addr: 140.249.53.142:8848
# 配置文件格式
diff --git a/op-common/op-common-log/op-common-log.iml b/op-common/op-common-log/op-common-log.iml
deleted file mode 100644
index edd2ebab4..000000000
--- a/op-common/op-common-log/op-common-log.iml
+++ /dev/null
@@ -1,127 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/op-gateway/op-gateway.iml b/op-gateway/op-gateway.iml
deleted file mode 100644
index b5b7ec1d7..000000000
--- a/op-gateway/op-gateway.iml
+++ /dev/null
@@ -1,202 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/op-gateway/src/main/resources/bootstrap.yml b/op-gateway/src/main/resources/bootstrap.yml
index a6f945f4d..556032ef5 100644
--- a/op-gateway/src/main/resources/bootstrap.yml
+++ b/op-gateway/src/main/resources/bootstrap.yml
@@ -17,13 +17,13 @@ spring:
# password: sfnacos2023
# namespace: lanju-op
namespace: lanju-op
- group: zxl
+ group: chj
# 服务注册地址
server-addr: 140.249.53.142:8848
config:
#命名空间
namespace: lanju-op
- group: zxl
+ group: chj
# 配置中心地址
server-addr: 140.249.53.142:8848
# 配置文件格式
diff --git a/op-modules/op-device/op-modules-device.iml b/op-modules/op-device/op-modules-device.iml
deleted file mode 100644
index 871896279..000000000
--- a/op-modules/op-device/op-modules-device.iml
+++ /dev/null
@@ -1,224 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/op-modules/op-device/src/main/resources/bootstrap.yml b/op-modules/op-device/src/main/resources/bootstrap.yml
index ef6af8659..e2e479429 100644
--- a/op-modules/op-device/src/main/resources/bootstrap.yml
+++ b/op-modules/op-device/src/main/resources/bootstrap.yml
@@ -14,12 +14,12 @@ spring:
nacos:
discovery:
namespace: lanju-op
- group: zxl
+ group: chj
# 服务注册地址
server-addr: 140.249.53.142:8848
config:
namespace: lanju-op
- group: zxl
+ group: chj
#命名空间
#group: local
# 配置中心地址
diff --git a/op-modules/op-energy/op-modules-engery.iml b/op-modules/op-energy/op-modules-engery.iml
deleted file mode 100644
index 871896279..000000000
--- a/op-modules/op-energy/op-modules-engery.iml
+++ /dev/null
@@ -1,224 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/op-modules/op-energy/src/main/resources/bootstrap.yml b/op-modules/op-energy/src/main/resources/bootstrap.yml
index e1009be07..fc3639df8 100644
--- a/op-modules/op-energy/src/main/resources/bootstrap.yml
+++ b/op-modules/op-energy/src/main/resources/bootstrap.yml
@@ -14,12 +14,12 @@ spring:
nacos:
discovery:
namespace: lanju-op
- group: zxl
+ group: chj
# 服务注册地址
server-addr: 140.249.53.142:8848
config:
namespace: lanju-op
- group: zxl
+ group: chj
#命名空间
#group: local
# 配置中心地址
diff --git a/op-modules/op-file/op-modules-file.iml b/op-modules/op-file/op-modules-file.iml
deleted file mode 100644
index 246051f90..000000000
--- a/op-modules/op-file/op-modules-file.iml
+++ /dev/null
@@ -1,208 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/op-modules/op-file/src/main/resources/bootstrap.yml b/op-modules/op-file/src/main/resources/bootstrap.yml
index 3cc00fca8..a8455d58a 100644
--- a/op-modules/op-file/src/main/resources/bootstrap.yml
+++ b/op-modules/op-file/src/main/resources/bootstrap.yml
@@ -15,13 +15,13 @@ spring:
discovery:
# 服务注册地址
namespace: lanju-op
- group: zxl
+ group: chj
# 服务注册地址
server-addr: 140.249.53.142:8848
config:
# 配置中心地址
namespace: lanju-op
- group: zxl
+ group: chj
# 服务注册地址
server-addr: 140.249.53.142:8848
# 配置文件格式
diff --git a/op-modules/op-gen/op-modules-gen.iml b/op-modules/op-gen/op-modules-gen.iml
deleted file mode 100644
index 7cffca1fa..000000000
--- a/op-modules/op-gen/op-modules-gen.iml
+++ /dev/null
@@ -1,220 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/op-modules/op-gen/src/main/resources/bootstrap.yml b/op-modules/op-gen/src/main/resources/bootstrap.yml
index 1eaccce20..655fd0c17 100644
--- a/op-modules/op-gen/src/main/resources/bootstrap.yml
+++ b/op-modules/op-gen/src/main/resources/bootstrap.yml
@@ -14,13 +14,13 @@ spring:
nacos:
discovery:
namespace: lanju-op
- group: zxl
+ group: chj
# 服务注册地址
server-addr: 140.249.53.142:8848
config:
#命名空间
namespace: lanju-op
- group: zxl
+ group: chj
# 配置中心地址
server-addr: 140.249.53.142:8848
# 配置文件格式
diff --git a/op-modules/op-job/op-modules-job.iml b/op-modules/op-job/op-modules-job.iml
deleted file mode 100644
index b1e3de289..000000000
--- a/op-modules/op-job/op-modules-job.iml
+++ /dev/null
@@ -1,225 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/op-modules/op-job/pom.xml b/op-modules/op-job/pom.xml
index 4e4e4d9cf..0b3246121 100644
--- a/op-modules/op-job/pom.xml
+++ b/op-modules/op-job/pom.xml
@@ -22,13 +22,11 @@
com.alibaba.cloud
spring-cloud-starter-alibaba-nacos-discovery
-
com.alibaba.cloud
spring-cloud-starter-alibaba-nacos-config
-
com.alibaba.cloud
diff --git a/op-modules/op-job/src/main/resources/bootstrap.yml b/op-modules/op-job/src/main/resources/bootstrap.yml
index efda0fbaf..c7d74cfa9 100644
--- a/op-modules/op-job/src/main/resources/bootstrap.yml
+++ b/op-modules/op-job/src/main/resources/bootstrap.yml
@@ -14,12 +14,12 @@ spring:
nacos:
discovery:
namespace: lanju-op
- group: zxl
+ group: chj
# 服务注册地址
server-addr: 140.249.53.142:8848
config:
namespace: lanju-op
- group: zxl
+ group: chj
#命名空间
#group: local
# 配置中心地址
diff --git a/op-modules/op-mes/src/main/java/com/op/mes/mapper/ProEmbryoScrapMapper.java b/op-modules/op-mes/src/main/java/com/op/mes/mapper/ProEmbryoScrapMapper.java
index 3e8e44dbe..bf747f167 100644
--- a/op-modules/op-mes/src/main/java/com/op/mes/mapper/ProEmbryoScrapMapper.java
+++ b/op-modules/op-mes/src/main/java/com/op/mes/mapper/ProEmbryoScrapMapper.java
@@ -68,9 +68,17 @@ public interface ProEmbryoScrapMapper {
//自定义查询所有(物料)
// public List selectProEmbryoScrap();
- //查詢所有物料名称
+
+ /**
+ * 查询所有物料名称
+ * @return
+ */
public List showAllMaterial();
- //查询工位详细信息
+
+ /**
+ * 查询工位详细信息
+ * @return
+ */
public List showSysPost();
/**
diff --git a/op-modules/op-modules.iml b/op-modules/op-modules.iml
deleted file mode 100644
index e27a22bf9..000000000
--- a/op-modules/op-modules.iml
+++ /dev/null
@@ -1,39 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/op-modules/op-plan/op-modules-plan.iml b/op-modules/op-plan/op-modules-plan.iml
deleted file mode 100644
index 871896279..000000000
--- a/op-modules/op-plan/op-modules-plan.iml
+++ /dev/null
@@ -1,224 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/op-modules/op-plan/src/main/java/com/op/plan/controller/ProOrderWorkorderController.java b/op-modules/op-plan/src/main/java/com/op/plan/controller/ProOrderWorkorderController.java
index 847666779..428f93f19 100644
--- a/op-modules/op-plan/src/main/java/com/op/plan/controller/ProOrderWorkorderController.java
+++ b/op-modules/op-plan/src/main/java/com/op/plan/controller/ProOrderWorkorderController.java
@@ -3,8 +3,10 @@ package com.op.plan.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
+import com.op.plan.domain.ProOrder;
import com.op.plan.domain.dto.SplitOrderDTO;
import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.util.ObjectUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
@@ -141,7 +143,25 @@ public class ProOrderWorkorderController extends BaseController {
@DeleteMapping("/{workorderIds}")
public AjaxResult remove(@PathVariable String[] workorderIds) {
//什么时候可以删除工单?TODO;没进入生产之前都可以?
+ ProOrderWorkorder proOrderWorkorder = new ProOrderWorkorder();
+ String status = proOrderWorkorder.getStatus();
+ ProOrder proOrder = new ProOrder();
+ String status1 = proOrder.getStatus();
+ if (proOrderWorkorder != null) {
+ int parsedStatus1 = Integer.parseInt(status1);
+ int parsedStatus = Integer.parseInt(status);
+ if (parsedStatus1 == 1 && parsedStatus == 0) {
+ proOrderWorkorderService.deleteProOrderWorkorderByWorkorderIds(workorderIds);
+ } else {
+ System.out.println("订单未拆分或工单已经下单");
+ }
+ }
+// if (!ObjectUtils.isEmpty(proOrderWorkorder) && Integer.parseInt(status1)==1 && Integer.parseInt(status)==0){
+// proOrderWorkorderService.deleteProOrderWorkorderByWorkorderIds(workorderIds);
+// }else {
+// System.out.println("订单未拆分或工单已经下单");
+// }
return toAjax(proOrderWorkorderService.deleteProOrderWorkorderByWorkorderIds(workorderIds));
}
diff --git a/op-modules/op-plan/src/main/resources/bootstrap.yml b/op-modules/op-plan/src/main/resources/bootstrap.yml
index 11a152774..9cb5432ab 100644
--- a/op-modules/op-plan/src/main/resources/bootstrap.yml
+++ b/op-modules/op-plan/src/main/resources/bootstrap.yml
@@ -14,12 +14,12 @@ spring:
nacos:
discovery:
namespace: lanju-op
- group: zxl
+ group: chj
# 服务注册地址
server-addr: 140.249.53.142:8848
config:
namespace: lanju-op
- group: zxl
+ group: chj
#命名空间
#group: local
# 配置中心地址
diff --git a/op-modules/op-system/src/main/resources/bootstrap.yml b/op-modules/op-system/src/main/resources/bootstrap.yml
index fe34e4c4c..793453f37 100644
--- a/op-modules/op-system/src/main/resources/bootstrap.yml
+++ b/op-modules/op-system/src/main/resources/bootstrap.yml
@@ -14,12 +14,12 @@ spring:
nacos:
discovery:
namespace: lanju-op
- group: zxl
+ group: chj
# 服务注册地址
server-addr: 140.249.53.142:8848
config:
namespace: lanju-op
- group: zxl
+ group: chj
#命名空间
#group: local
# 配置中心地址
diff --git a/op-modules/op-technology/src/main/resources/bootstrap.yml b/op-modules/op-technology/src/main/resources/bootstrap.yml
index 476a1073f..11a2d5987 100644
--- a/op-modules/op-technology/src/main/resources/bootstrap.yml
+++ b/op-modules/op-technology/src/main/resources/bootstrap.yml
@@ -14,12 +14,12 @@ spring:
nacos:
discovery:
namespace: lanju-op
- group: test
+ group: chj
# 服务注册地址
server-addr: 140.249.53.142:8848
config:
namespace: lanju-op
- group: test
+ group: chj
#命名空间
#group: local
# 配置中心地址