修复新增馆内用户接口,去除副岗关键字
This commit is contained in:
@@ -72,6 +72,7 @@ public class ManageServiceDataImpl implements ManageService {
|
|||||||
public ResultVO<Map<String, Object>> addUser(Map<String, Object> user) {
|
public ResultVO<Map<String, Object>> addUser(Map<String, Object> user) {
|
||||||
JudgeException.isNull(user.get("PASSWORD"), "密码不能为空");
|
JudgeException.isNull(user.get("PASSWORD"), "密码不能为空");
|
||||||
JudgeException.isNull(user.get("LOGIN_NAME"), "用户名不能为空");
|
JudgeException.isNull(user.get("LOGIN_NAME"), "用户名不能为空");
|
||||||
|
user.remove("DEPUTY_POST");
|
||||||
if (!StringUtils.isEmpty(user.get("ORG_ACCOUNT_ID"))) {
|
if (!StringUtils.isEmpty(user.get("ORG_ACCOUNT_ID"))) {
|
||||||
String orgAcId = String.valueOf(user.get("ORG_ACCOUNT_ID"));
|
String orgAcId = String.valueOf(user.get("ORG_ACCOUNT_ID"));
|
||||||
user.put("ORG_ACCOUNT_ID", orgAcId.replaceAll("\"", ""));
|
user.put("ORG_ACCOUNT_ID", orgAcId.replaceAll("\"", ""));
|
||||||
|
|||||||
Reference in New Issue
Block a user