|
@@ -968,7 +968,8 @@ public class UserFacade extends UserServiceImpl {
|
|
|
map.put("modifier", UserUtils.getCurrentPrincipleID());
|
|
|
map.put("gmtModified", DateUtil.now());
|
|
|
User userDate = getById(baseIdVO.getId());
|
|
|
- if (userDate.getIsDeleted().equals("Y")) {
|
|
|
+ if ((null == userDate)
|
|
|
+ || (null != userDate && IsDeleteEnum.Y.getKey().equals(userDate.getIsDeleted()))) {
|
|
|
return RespDTO.onError("该用户已不存在");
|
|
|
}
|
|
|
//客户中心-查询用户续费数量
|
|
@@ -1411,7 +1412,7 @@ public class UserFacade extends UserServiceImpl {
|
|
|
amendUserInfo.put("linkman", amendUserInfoVO.getLinkman());
|
|
|
User userDate = getById(amendUserInfoVO.getUserId());
|
|
|
if ((null == userDate)
|
|
|
- || (null != userDate && userDate.getIsDeleted().equals("Y"))) {
|
|
|
+ || (null != userDate && IsDeleteEnum.Y.getKey().equals(userDate.getIsDeleted()))) {
|
|
|
return RespDTO.onError("该用户已不存在");
|
|
|
}
|
|
|
boolean res = updateUserInfo(amendUserInfo);
|