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); +