代表联系选民

常委会联系选民
This commit is contained in:
lijiaqi 2022-11-24 13:53:07 +08:00
parent e29a621613
commit 017386100f
2 changed files with 2 additions and 2 deletions

View File

@ -69,7 +69,7 @@ public class CwhContactVoterService extends BaseService<CwhContactVoterMapper, C
if (CollectionUtil.isNotEmpty(request.getVoterUsers())) { if (CollectionUtil.isNotEmpty(request.getVoterUsers())) {
flag = saveUser(request.getVoterUsers(), cwhContactVoter.getId(), apiUser, Const.TYPE_VOTER); flag = saveUser(request.getVoterUsers(), cwhContactVoter.getId(), apiUser, Const.TYPE_VOTER);
} }
return !flag ? Ret.fail("操作失败") : Ret.ok().msg("操作成功"); return !flag ? Ret.fail("操作失败") : Ret.ok().data(cwhContactVoter.getId()).msg("操作成功");
} }

View File

@ -69,7 +69,7 @@ public class DbContactVoterService extends BaseService<DbContactVoterMapper, DbC
if (CollectionUtil.isNotEmpty(request.getVoterUsers())) { if (CollectionUtil.isNotEmpty(request.getVoterUsers())) {
flag = saveUser(request.getVoterUsers(), dbContactVoter.getId(), apiUser, Const.TYPE_VOTER); flag = saveUser(request.getVoterUsers(), dbContactVoter.getId(), apiUser, Const.TYPE_VOTER);
} }
return !flag ? Ret.fail("操作失败") : Ret.ok().msg("操作成功"); return !flag ? Ret.fail("操作失败") : Ret.ok().data(dbContactVoter.getId()).msg("操作成功");
} }
public Ret stateSign(SignRequest request, User apiUser) { public Ret stateSign(SignRequest request, User apiUser) {