feat: 资料中心排序字段改为double
This commit is contained in:
+1
-1
@@ -13,6 +13,6 @@ public class TreeNodeComparator implements Comparator<LawsDataCenterFolder> {
|
||||
@Override
|
||||
public int compare(LawsDataCenterFolder o1, LawsDataCenterFolder o2) {
|
||||
// 升序排序
|
||||
return Integer.compare(o1.getSort(), o2.getSort());
|
||||
return Double.compare(o1.getSort(), o2.getSort());
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -122,7 +122,7 @@ public class LawsDataCenterFolder implements Serializable {
|
||||
@NotNull(message = "文件夹顺序不能为空")
|
||||
@Max(value = 999999999, message = "文件夹顺序超出最大限度")
|
||||
@Min(value = 0, message = "文件夹顺序不能小于0")
|
||||
private java.lang.Integer sort;
|
||||
private java.lang.Double sort;
|
||||
/**
|
||||
* 父id
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user