状态修改
This commit is contained in:
@@ -49,7 +49,7 @@ public class SchStudent extends BaseEntity {
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 性别(0未知 1男 2女等,根据业务定义)
|
||||
* 性别(0女 1男)
|
||||
*/
|
||||
@Column(name = "gender")
|
||||
private Integer gender;
|
||||
@@ -71,13 +71,13 @@ public class SchStudent extends BaseEntity {
|
||||
private Integer classId;
|
||||
|
||||
/**
|
||||
* 状态(0禁用 1正常)
|
||||
* 状态(0正常 1禁用)
|
||||
*/
|
||||
@Column(name = "status")
|
||||
private Integer status;
|
||||
|
||||
/**
|
||||
* 异常状态(正常、休学、出国、留学、复学、停学、自愿退学、自愿留级、自愿降级、其他)
|
||||
* 异常状态(0正常、休学、出国、留学、复学、停学、自愿退学、自愿留级、自愿降级、其他)
|
||||
*/
|
||||
@Column(name = "abnormal_status")
|
||||
private Integer abnormalStatus;
|
||||
@@ -86,7 +86,7 @@ public class SchStudent extends BaseEntity {
|
||||
private Date abnormalDate;
|
||||
|
||||
/**
|
||||
* 转入状态(转出0,转入1)
|
||||
* 转入状态(转出1,转入0)
|
||||
*/
|
||||
@Column(name = "transfer_status")
|
||||
private Integer transferStatus;
|
||||
|
||||
@@ -48,7 +48,7 @@ public class SchTeacher {
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 性别(0未知 1男 2女等,根据业务定义)
|
||||
* 性别(0女等 1男)
|
||||
*/
|
||||
@Column(name = "gender")
|
||||
private Integer gender;
|
||||
|
||||
@@ -26,6 +26,6 @@ public class StuAbnormalStatusDTO {
|
||||
private List<Integer> stuIds;
|
||||
|
||||
@NotNull(message = "异常状态不能为空")
|
||||
@Min(value = 1, message = "异常状态不能为空须大于0")
|
||||
@Min(value = 0, message = "异常状态不能为空须大于等于0")
|
||||
private Integer abnormalStatus;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user