wenhongquan 2 gadi atpakaļ
vecāks
revīzija
e24e3747ac

+ 11 - 11
ruoyi-system/src/main/java/com/ruoyi/data/domain/TblUnit.java

@@ -23,40 +23,40 @@ public class TblUnit extends BaseEntity {
     private static final long serialVersionUID=1L;
 
     /**
-     * 
+     *
      */
     @TableId(value = "id")
     private Long id;
     /**
-     * 
+     *
      */
     private String name;
     /**
-     * 
+     *
      */
     private String unitSymbol;
     /**
-     * 
+     *
      */
     private String unitName;
     /**
-     * 
+     *
      */
     private String isStandard;
     /**
-     * 
+     *
      */
     private String unitType;
     /**
-     * 
+     *
      */
-    private Long toStandardRatio;
+    private Float toStandardRatio;
     /**
-     * 
+     *
      */
-    private Long toOffset;
+    private Float toOffset;
     /**
-     * 
+     *
      */
     private String remark;
 

+ 2 - 2
ruoyi-system/src/main/java/com/ruoyi/data/domain/bo/TblUnitBo.java

@@ -68,13 +68,13 @@ public class TblUnitBo extends BaseEntity {
      *
      */
     @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
-    private Long toStandardRatio;
+    private Float toStandardRatio;
 
     /**
      *
      */
     @NotNull(message = "不能为空", groups = { AddGroup.class, EditGroup.class })
-    private Long toOffset;
+    private Float toOffset;
 
     private String remark;
 //    private String creator;

+ 11 - 11
ruoyi-system/src/main/java/com/ruoyi/data/domain/vo/TblUnitVo.java

@@ -22,55 +22,55 @@ public class TblUnitVo implements Serializable {
     private static final long serialVersionUID = 1L;
 
     /**
-     * 
+     *
      */
     @ExcelProperty(value = "")
     private Long id;
 
     /**
-     * 
+     *
      */
     @ExcelProperty(value = "")
     private String name;
 
     /**
-     * 
+     *
      */
     @ExcelProperty(value = "")
     private String unitSymbol;
 
     /**
-     * 
+     *
      */
     @ExcelProperty(value = "")
     private String unitName;
 
     /**
-     * 
+     *
      */
     @ExcelProperty(value = "")
     private String isStandard;
 
     /**
-     * 
+     *
      */
     @ExcelProperty(value = "")
     private String unitType;
 
     /**
-     * 
+     *
      */
     @ExcelProperty(value = "")
-    private Long toStandardRatio;
+    private Float toStandardRatio;
 
     /**
-     * 
+     *
      */
     @ExcelProperty(value = "")
-    private Long toOffset;
+    private Float toOffset;
 
     /**
-     * 
+     *
      */
     @ExcelProperty(value = "")
     private String remark;