From 78f395ada5485cbd93927e22d318d7d7f8140e77 Mon Sep 17 00:00:00 2001 From: wangwei <1610949092@qq.com> Date: Wed, 27 Nov 2024 14:34:14 +0800 Subject: [PATCH] =?UTF-8?q?11/27=20=E9=87=87=E9=9B=86=E5=B7=A5=E4=BD=8D-?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E9=87=87=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/glxp/api/res/basic/SysWorkplaceResponse.java | 6 ++++++ src/main/resources/schemas/schema_v2.4.sql | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/glxp/api/res/basic/SysWorkplaceResponse.java b/src/main/java/com/glxp/api/res/basic/SysWorkplaceResponse.java index aa1013b5c..a4413ea0d 100644 --- a/src/main/java/com/glxp/api/res/basic/SysWorkplaceResponse.java +++ b/src/main/java/com/glxp/api/res/basic/SysWorkplaceResponse.java @@ -145,6 +145,12 @@ public class SysWorkplaceResponse { private String queueStatus; + /** + * 是否自动采集 0:否 1:是 + */ + @TableField(value = "autoCollect") + private Integer autoCollect; + @TableField(exist = false) private String invName; diff --git a/src/main/resources/schemas/schema_v2.4.sql b/src/main/resources/schemas/schema_v2.4.sql index f91aa1da5..55b161921 100644 --- a/src/main/resources/schemas/schema_v2.4.sql +++ b/src/main/resources/schemas/schema_v2.4.sql @@ -4850,8 +4850,8 @@ ALTER TABLE io_collect_order_backup MODIFY errorMsg text; CALL Pro_Temp_ColumnWork('sys_workplace_document', 'autoHandle', ' tinyint NULL DEFAULT NULL COMMENT ''是否自动处理''', 1); -INSERT INTO `sys_scheduled` (`id`, `cronName`, `cron`, `customerId`, `remark`) -VALUES (158, 'ioCollectOrderFinishTask', '0 */30 * * * ?', NULL, '自动完成第三方处方单'); +INSERT ignore INTO `sys_scheduled` ( `cronName`, `cron`, `customerId`, `remark`) +VALUES ('ioCollectOrderFinishTask', '0 */30 * * * ?', NULL, '自动完成第三方处方单'); CALL Pro_Temp_ColumnWork('sys_workplace', 'autoCollect',