fix bug 修改组织机构导入提示语
This commit is contained in:
+1
-1
@@ -443,7 +443,7 @@ public class SysDepartController {
|
||||
try {
|
||||
List<String> errorList = ValidUtil.validateReturnList(sysDepart);
|
||||
if (!errorList.isEmpty()){
|
||||
errorMessage.add("第 " + lineNumber + " 行:"+ StringUtils.strip(errorList.toString(),"[]"));
|
||||
errorMessage.add("第 " + lineNumber + " 行:"+ StringUtils.join(errorList,","));
|
||||
}
|
||||
LambdaQueryWrapper<SysDepart> wrapper = new LambdaQueryWrapper<>();
|
||||
wrapper.eq(SysDepart::getDepartName,sysDepart.getDepartName());
|
||||
|
||||
+1
-1
@@ -773,7 +773,7 @@ public class SysUserController {
|
||||
List<String> errorList = ValidUtil.validateReturnList(sysUser);
|
||||
if (!errorList.isEmpty()){
|
||||
errorLines++;
|
||||
errorMessage.add("第 " + lineNumber + " 行:"+ StringUtils.strip(errorList.toString(),"[]"));
|
||||
errorMessage.add("第 " + lineNumber + " 行:"+ StringUtils.join(errorList,","));
|
||||
}
|
||||
//处理邮箱和手机号的加密
|
||||
UserUtil.encryptUser(sysUser);
|
||||
|
||||
Reference in New Issue
Block a user