Browse Source

20240310修改sql

luguang 8 months ago
parent
commit
765a65e6ed

+ 4 - 0
20040310.sql

@@ -0,0 +1,4 @@
+ALTER TABLE `tenant_coinage`.`rfid_base_info`
+    ADD COLUMN `warning_flag` tinyint(4) NULL DEFAULT NULL COMMENT '冠字号段可能存在异常标记 1是';
+INSERT INTO `sys_menu`
+VALUES (36, 1, 0, 6, 14, 'quality', NULL, '车间质量管理', 'quality', '/workshop/baseInfo/quality1', NULL, NULL);

+ 4 - 0
src/main/java/com/sy/coinage/workshop/model/BaseInfo.java

@@ -246,6 +246,10 @@ public class BaseInfo implements Serializable {
     @TableField(value = "loc_area_id")
     @TableField(value = "loc_area_id")
     private Integer locAreaId;
     private Integer locAreaId;
 
 
+    @ApiModelProperty(value = "冠字号段可能存在异常标记 1是")
+    @TableField(value = "warning_flag")
+    private Integer warningFlag;
+
     @ApiModelProperty(value = "最大净重")
     @ApiModelProperty(value = "最大净重")
     @TableField(value = "max_weight", select = false, exist = false)
     @TableField(value = "max_weight", select = false, exist = false)
     private Double maxWeight;
     private Double maxWeight;

File diff suppressed because it is too large
+ 2 - 1
src/main/resources/mappers/workshop/dao/BaseInfoDao.xml