From cf34501387c45db1fedb0e1e88c3b89576c88920 Mon Sep 17 00:00:00 2001
From: Comair <1464848666@qq.com>
Date: Mon, 21 Apr 2025 10:06:01 +0800
Subject: [PATCH] =?UTF-8?q?=E8=8B=8F=E5=AE=A0=E6=96=B0=E5=A2=9E=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
shkj-admin/pom.xml | 2 +-
.../src/main/resources/application-test.yml | 4 +-
.../src/main/resources/application-yun.yml | 2 +-
shkj-admin/src/main/resources/application.yml | 2 +-
shkj-admin/src/main/resources/logback.xml | 2 +-
.../java/com/shkj/wcs/bo/WcsRequestBo.java | 23 +++++
.../controller/busin/AgvTaskContorller.java | 35 ++++++++
.../controller/busin/WcsTaskController.java | 85 +++++++++++++++++++
.../{wms => wcs}/domain/BusinDataTask.java | 11 +--
.../mapper/BusinDataTaskMapper.java | 4 +-
.../java/com/shkj/wcs/plc/PlcEventTask.java | 6 +-
.../wcs/service/IBusinDataTaskService.java | 12 +++
.../impl/BusinDataTaskServiceImpl.java | 10 +++
.../java/com/shkj/wcs/third/rcs/RCSUtil.java | 14 +--
.../workbinWcs/dto/WcsCreateTaskBody.java | 63 ++++++++++++++
.../workbinWcs/dto/WcsCreateTaskDto.java | 21 +++++
.../workbinWcs/dto/WcsCreateTaskHeader.java | 14 +++
.../workbinWcs/enums/WcsCallbackTaskEnum.java | 24 ++++++
.../com/shkj/wcs/vo/QueryAreaStatusVo.java | 15 ++++
.../java/com/shkj/wcs/vo/WcsResponseVo.java | 60 +++++++++++++
.../shkj/wms/mapper/BusinPickupMapper.java | 2 -
.../java/com/shkj/wms/vo/BusinDataTaskVo.java | 3 -
.../{wms => wcs}/BusinDataTaskMapper.xml | 7 +-
23 files changed, 377 insertions(+), 44 deletions(-)
create mode 100644 shkj-wms/src/main/java/com/shkj/wcs/bo/WcsRequestBo.java
create mode 100644 shkj-wms/src/main/java/com/shkj/wcs/controller/busin/AgvTaskContorller.java
create mode 100644 shkj-wms/src/main/java/com/shkj/wcs/controller/busin/WcsTaskController.java
rename shkj-wms/src/main/java/com/shkj/{wms => wcs}/domain/BusinDataTask.java (91%)
rename shkj-wms/src/main/java/com/shkj/{wms => wcs}/mapper/BusinDataTaskMapper.java (96%)
create mode 100644 shkj-wms/src/main/java/com/shkj/wcs/service/IBusinDataTaskService.java
create mode 100644 shkj-wms/src/main/java/com/shkj/wcs/service/impl/BusinDataTaskServiceImpl.java
create mode 100644 shkj-wms/src/main/java/com/shkj/wcs/third/workbinWcs/dto/WcsCreateTaskBody.java
create mode 100644 shkj-wms/src/main/java/com/shkj/wcs/third/workbinWcs/dto/WcsCreateTaskDto.java
create mode 100644 shkj-wms/src/main/java/com/shkj/wcs/third/workbinWcs/dto/WcsCreateTaskHeader.java
create mode 100644 shkj-wms/src/main/java/com/shkj/wcs/third/workbinWcs/enums/WcsCallbackTaskEnum.java
create mode 100644 shkj-wms/src/main/java/com/shkj/wcs/vo/QueryAreaStatusVo.java
create mode 100644 shkj-wms/src/main/java/com/shkj/wcs/vo/WcsResponseVo.java
rename shkj-wms/src/main/resources/mapper/{wms => wcs}/BusinDataTaskMapper.xml (95%)
diff --git a/shkj-admin/pom.xml b/shkj-admin/pom.xml
index 9269bb6..fb520ba 100644
--- a/shkj-admin/pom.xml
+++ b/shkj-admin/pom.xml
@@ -121,7 +121,7 @@
- kmv2-admin
+ sc-admin
diff --git a/shkj-admin/src/main/resources/application-test.yml b/shkj-admin/src/main/resources/application-test.yml
index b42d64c..4f7abd0 100644
--- a/shkj-admin/src/main/resources/application-test.yml
+++ b/shkj-admin/src/main/resources/application-test.yml
@@ -12,9 +12,9 @@ spring:
druid:
# 主库数据源
master:
- url: jdbc:mysql://127.0.0.1:3306/mjk_wcs_2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+ url: jdbc:mysql://127.0.0.1:3306/mjk_wms_wcs?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
- password: Sh@2024_
+ password: root
# 从库数据源
slave:
# 从数据源开关/默认关闭
diff --git a/shkj-admin/src/main/resources/application-yun.yml b/shkj-admin/src/main/resources/application-yun.yml
index 0ce7b83..37aee8a 100644
--- a/shkj-admin/src/main/resources/application-yun.yml
+++ b/shkj-admin/src/main/resources/application-yun.yml
@@ -12,7 +12,7 @@ spring:
druid:
# 主库数据源
master:
- url: jdbc:mysql://120.77.94.227:3306/mjk_wcs_2?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
+ url: jdbc:mysql://120.77.94.227:3306/sc-wcs?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: CTlTwKgIrRVTsEHqxxx
# 从库数据源
diff --git a/shkj-admin/src/main/resources/application.yml b/shkj-admin/src/main/resources/application.yml
index 39c840e..fc83ead 100644
--- a/shkj-admin/src/main/resources/application.yml
+++ b/shkj-admin/src/main/resources/application.yml
@@ -45,7 +45,7 @@ spring:
# 国际化资源文件路径
basename: i18n/messages
profiles:
- active: yun
+ active: pro146
# 文件上传
servlet:
multipart:
diff --git a/shkj-admin/src/main/resources/logback.xml b/shkj-admin/src/main/resources/logback.xml
index e4a1813..5d77252 100644
--- a/shkj-admin/src/main/resources/logback.xml
+++ b/shkj-admin/src/main/resources/logback.xml
@@ -8,7 +8,7 @@
logback
-
+
diff --git a/shkj-wms/src/main/java/com/shkj/wcs/bo/WcsRequestBo.java b/shkj-wms/src/main/java/com/shkj/wcs/bo/WcsRequestBo.java
new file mode 100644
index 0000000..221db99
--- /dev/null
+++ b/shkj-wms/src/main/java/com/shkj/wcs/bo/WcsRequestBo.java
@@ -0,0 +1,23 @@
+package com.shkj.wcs.bo;
+
+import lombok.Data;
+import lombok.NoArgsConstructor;
+import lombok.experimental.Accessors;
+
+import java.io.Serializable;
+import java.util.List;
+
+@Data
+@NoArgsConstructor
+@Accessors(chain = true)
+public class WcsRequestBo implements Serializable {
+
+ private Header header;
+ private List