修复新增馆内用户接口,去除副岗关键字

This commit is contained in:
lhc
2021-05-20 15:33:04 +08:00
parent e9db8feebf
commit 8d1132565e

View File

@@ -72,6 +72,7 @@ public class ManageServiceDataImpl implements ManageService {
public ResultVO<Map<String, Object>> addUser(Map<String, Object> user) {
JudgeException.isNull(user.get("PASSWORD"), "密码不能为空");
JudgeException.isNull(user.get("LOGIN_NAME"), "用户名不能为空");
user.remove("DEPUTY_POST");
if (!StringUtils.isEmpty(user.get("ORG_ACCOUNT_ID"))) {
String orgAcId = String.valueOf(user.get("ORG_ACCOUNT_ID"));
user.put("ORG_ACCOUNT_ID", orgAcId.replaceAll("\"", ""));