优化权限配置的校验存在的接口
This commit is contained in:
parent
32e19f7a55
commit
24c123f459
@ -74,11 +74,7 @@ public class UserBusinessController {
|
||||
HttpServletRequest request)throws Exception {
|
||||
Map<String, Object> objectMap = new HashMap<String, Object>();
|
||||
Long id = userBusinessService.checkIsValueExist(type, keyId);
|
||||
if(id != null) {
|
||||
objectMap.put("id", id);
|
||||
} else {
|
||||
objectMap.put("id", null);
|
||||
}
|
||||
objectMap.put("id", id);
|
||||
return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user