update 调整排序字段与数据库类型对应

2.X
疯狂的狮子li 3 years ago
parent f60befce9c
commit a546c8ceaa

@ -49,7 +49,7 @@ public class SysDept extends TreeEntity<SysDept> {
*/ */
@ApiModelProperty(value = "显示顺序") @ApiModelProperty(value = "显示顺序")
@NotNull(message = "显示顺序不能为空") @NotNull(message = "显示顺序不能为空")
private Long orderNum; private Integer orderNum;
/** /**
* *

@ -44,7 +44,7 @@ public class SysDictData extends BaseEntity {
*/ */
@ApiModelProperty(value = "字典排序") @ApiModelProperty(value = "字典排序")
@ExcelProperty(value = "字典排序") @ExcelProperty(value = "字典排序")
private Long dictSort; private Integer dictSort;
/** /**
* *

@ -16,6 +16,7 @@ import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size; import javax.validation.constraints.Size;
/** /**
@ -62,8 +63,8 @@ public class SysRole extends BaseEntity {
*/ */
@ApiModelProperty(value = "角色排序") @ApiModelProperty(value = "角色排序")
@ExcelProperty(value = "角色排序") @ExcelProperty(value = "角色排序")
@NotBlank(message = "显示顺序不能为空") @NotNull(message = "显示顺序不能为空")
private String roleSort; private Integer roleSort;
/** /**
* 12345 * 12345

@ -47,7 +47,7 @@ public class SysMenu extends TreeEntity<SysMenu> {
*/ */
@ApiModelProperty(value = "显示顺序") @ApiModelProperty(value = "显示顺序")
@NotNull(message = "显示顺序不能为空") @NotNull(message = "显示顺序不能为空")
private Long orderNum; private Integer orderNum;
/** /**
* *

@ -15,6 +15,7 @@ import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor; import lombok.NoArgsConstructor;
import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size; import javax.validation.constraints.Size;
/** /**
@ -62,8 +63,8 @@ public class SysPost extends BaseEntity {
*/ */
@ApiModelProperty(value = "岗位排序") @ApiModelProperty(value = "岗位排序")
@ExcelProperty(value = "岗位排序") @ExcelProperty(value = "岗位排序")
@NotBlank(message = "显示顺序不能为空") @NotNull(message = "显示顺序不能为空")
private String postSort; private Integer postSort;
/** /**
* 0 1 * 0 1

Loading…
Cancel
Save