Explorar o código

新增参数单位字段

minghao-chen %!s(int64=2) %!d(string=hai) anos
pai
achega
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>