From acc2afebdf1ce835e0909b0868f9b6fd6f13a218 Mon Sep 17 00:00:00 2001 From: anthonywj Date: Mon, 29 Jul 2024 09:25:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=88=86=E6=94=AF=E5=A4=87?= =?UTF-8?q?=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/glxp/api/entity/inout/IoOrderEntity.java | 5 +++++ src/main/resources/schemas/schema_v2.4.sql | 8 +++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/glxp/api/entity/inout/IoOrderEntity.java b/src/main/java/com/glxp/api/entity/inout/IoOrderEntity.java index e2130c366..7f8e6fd16 100644 --- a/src/main/java/com/glxp/api/entity/inout/IoOrderEntity.java +++ b/src/main/java/com/glxp/api/entity/inout/IoOrderEntity.java @@ -323,6 +323,11 @@ public class IoOrderEntity { */ @TableField(value = "workPlaceCode") private String workPlaceCode; + /** + * 单据产品类型 1:器械;2:药品 + */ + @TableField(value = "productType") + private Integer productType; } diff --git a/src/main/resources/schemas/schema_v2.4.sql b/src/main/resources/schemas/schema_v2.4.sql index 6a8e530fa..497cc7b62 100644 --- a/src/main/resources/schemas/schema_v2.4.sql +++ b/src/main/resources/schemas/schema_v2.4.sql @@ -4048,9 +4048,6 @@ CREATE TABLE IF NOT EXISTS `io_split_code_detail` - - - CALL Pro_Temp_ColumnWork('pur_receive', 'productType', ' tinyint NULL DEFAULT NULL COMMENT ''产品类型(1.耗材,2.药品)''', 1); @@ -4067,3 +4064,8 @@ CALL Pro_Temp_ColumnWork('pur_plan', 'productType', CALL Pro_Temp_ColumnWork('pur_order', 'productType', ' tinyint NULL DEFAULT NULL COMMENT ''产品类型(1.耗材,2.药品)''', 1); + +CALL Pro_Temp_ColumnWork('io_order', 'productType', + ' tinyint NULL DEFAULT NULL COMMENT ''产品类型(1.耗材,2.药品)''', + 1); +