瀏覽代碼

新增参数单位字段

minghao-chen 2 年之前
父節點
當前提交
b559f62709

+ 2 - 0
beidou-ship/src/main/java/cn/com/taiji/beidou/ship/warning/model/domain/WarningParamDictData.java

@@ -15,6 +15,8 @@ public class WarningParamDictData {
     private String paramCode;
     @ApiModelProperty("参数名称")
     private String paramName;
+    @ApiModelProperty("参数单位")
+    private String unit;
     private String delFlag;
 
 }

+ 2 - 0
beidou-ship/src/main/resources/mapper/ShipWarningModelMapper.xml

@@ -281,11 +281,13 @@
             id,
             param_code,
             param_name,
+            unit,
             del_flag
         ) values (
             #{id},
             #{paramCode},
             #{paramName},
+            #{unit},
             #{delFlag}
         )
     </insert>