parent
e29a621613
commit
017386100f
|
@ -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("操作成功");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue