Commit 30d025b7 authored by huyuchen's avatar huyuchen

社保公积金办理权限调整

parent 7acc3567
......@@ -62,7 +62,6 @@ public class TSocialfundHouseResServiceImpl extends ServiceImpl<TSocialfundHouse
@Override
public R saveSocialAuth(TSocialfundHouseRes searchVo) {
LambdaQueryWrapper<TSocialfundHouseRes> wrapper = new LambdaQueryWrapper<>();
wrapper.eq(TSocialfundHouseRes::getStatus, CommonConstants.ZERO_STRING);
if (Common.isNotNull(searchVo.getSocialHousehold())) {
wrapper.eq(TSocialfundHouseRes::getSocialHousehold, searchVo.getSocialHousehold());
}
......@@ -79,9 +78,9 @@ public class TSocialfundHouseResServiceImpl extends ServiceImpl<TSocialfundHouse
if (Common.isNotNull(socialfundHouseRes)) {
String errorMessage;
if (CommonConstants.ZERO_STRING.equals(searchVo.getAuthType())) {
errorMessage = "员工已存在审核权限";
errorMessage = "请勿重复添加审核人员";
} else {
errorMessage = "员工已存在办理权限";
errorMessage = "请勿重复添加办理人员";
}
return R.failed(errorMessage);
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment