sort String -> Integer

pull/2/head
niudehua 2021-03-08 00:39:04 +08:00
parent 5351917b67
commit 7b4d7f5e65
8 changed files with 8 additions and 8 deletions

View File

@ -26,7 +26,7 @@ public class SysDeptBaseVO {
@ApiModelProperty(value = "显示顺序不能为空", required = true, example = "1024") @ApiModelProperty(value = "显示顺序不能为空", required = true, example = "1024")
@NotBlank(message = "显示顺序不能为空") @NotBlank(message = "显示顺序不能为空")
private String sort; private Integer sort;
@ApiModelProperty(value = "负责人", example = "芋道") @ApiModelProperty(value = "负责人", example = "芋道")
private String leader; private String leader;

View File

@ -25,7 +25,7 @@ public class SysPostBaseVO {
@ApiModelProperty(value = "显示顺序不能为空", required = true, example = "1024") @ApiModelProperty(value = "显示顺序不能为空", required = true, example = "1024")
@NotBlank(message = "显示顺序不能为空") @NotBlank(message = "显示顺序不能为空")
private String sort; private Integer sort;
@ApiModelProperty(value = "状态", required = true, example = "1", notes = "参见 SysCommonStatusEnum 枚举类") @ApiModelProperty(value = "状态", required = true, example = "1", notes = "参见 SysCommonStatusEnum 枚举类")
private Integer status; private Integer status;

View File

@ -23,7 +23,7 @@ public class SysPostExcelVO {
private String name; private String name;
@ExcelProperty("岗位排序") @ExcelProperty("岗位排序")
private String sort; private Integer sort;
@ExcelProperty(value = "状态", converter = DictConvert.class) @ExcelProperty(value = "状态", converter = DictConvert.class)
@DictFormat(SYS_COMMON_STATUS) @DictFormat(SYS_COMMON_STATUS)

View File

@ -29,7 +29,7 @@ public class SysMenuBaseVO {
@ApiModelProperty(value = "显示顺序不能为空", required = true, example = "1024") @ApiModelProperty(value = "显示顺序不能为空", required = true, example = "1024")
@NotBlank(message = "显示顺序不能为空") @NotBlank(message = "显示顺序不能为空")
private String sort; private Integer sort;
@ApiModelProperty(value = "父菜单 ID", required = true, example = "1024") @ApiModelProperty(value = "父菜单 ID", required = true, example = "1024")
@NotNull(message = "父菜单 ID 不能为空") @NotNull(message = "父菜单 ID 不能为空")

View File

@ -25,7 +25,7 @@ public class SysRoleBaseVO {
@ApiModelProperty(value = "显示顺序不能为空", required = true, example = "1024") @ApiModelProperty(value = "显示顺序不能为空", required = true, example = "1024")
@NotBlank(message = "显示顺序不能为空") @NotBlank(message = "显示顺序不能为空")
private String sort; private Integer sort;
@ApiModelProperty(value = "角色类型", required = true, example = "1", notes = "见 SysRoleTypeEnum 枚举") @ApiModelProperty(value = "角色类型", required = true, example = "1", notes = "见 SysRoleTypeEnum 枚举")
private Integer type; private Integer type;

View File

@ -35,7 +35,7 @@ public class SysDeptDO extends BaseDO {
/** /**
* *
*/ */
private String sort; private Integer sort;
/** /**
* *
*/ */

View File

@ -34,7 +34,7 @@ public class SysPostDO extends BaseDO {
/** /**
* *
*/ */
private String sort; private Integer sort;
/** /**
* *
* *

View File

@ -49,7 +49,7 @@ public class SysMenuDO extends BaseDO {
/** /**
* *
*/ */
private String sort; private Integer sort;
/** /**
* ID * ID
*/ */