非在编改为在编
This commit is contained in:
1 parent
bc92b16b85
commit
e5f652d9af
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -13,7 +13,7 @@ import java.util.Arrays;
|
||||
@Getter
|
||||
public enum UserStaffingTypeEnum {
|
||||
STAFFING("1", "在编"),
|
||||
NONE_STAFFING("2", "非在编"),
|
||||
NONE_STAFFING("2", "非编"),
|
||||
;
|
||||
private final String type;
|
||||
private final String description;
|
||||
|
||||
+2
-2
@@ -529,7 +529,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
|
||||
} else {
|
||||
UserStaffingTypeEnum staffingTypeEnum = UserStaffingTypeEnum.valueOfByDescription(excel.getStaffingType());
|
||||
if (ObjectUtil.isEmpty(staffingTypeEnum)) {
|
||||
errorMsg.add(MsgUtils.getMessage("编制选择错误,请选择`在编`和`非在编`", excel.getStaffingType()));
|
||||
errorMsg.add(MsgUtils.getMessage("编制选择错误,请选择<在编>和<非编>", excel.getStaffingType()));
|
||||
} else {
|
||||
excel.setStaffingTypeParse(staffingTypeEnum.getType());
|
||||
}
|
||||
@@ -636,7 +636,7 @@ public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> impl
|
||||
} else {
|
||||
UserStaffingTypeEnum staffingTypeEnum = UserStaffingTypeEnum.valueOfByDescription(v.getStaffingType());
|
||||
if (ObjectUtil.isEmpty(staffingTypeEnum)) {
|
||||
errorMsg.add("编制选择错误,请选择<在编>和<非在编>");
|
||||
errorMsg.add("编制选择错误,请选择<在编>和<非编>");
|
||||
} else {
|
||||
staffingType = staffingTypeEnum.getType();
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user