Browse Source

转让组接口v2

dev_shibei_match
yinzuomei 4 years ago
parent
commit
b135bda98a
  1. 4
      epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/member/service/impl/GroupLeaderTransferRecordServiceImpl.java

4
epmet-module/resi-group/resi-group-server/src/main/java/com/epmet/modules/member/service/impl/GroupLeaderTransferRecordServiceImpl.java

@ -130,6 +130,10 @@ public class GroupLeaderTransferRecordServiceImpl extends BaseServiceImpl<GroupL
public void confirmTransfer(ConfirmTransferFormDTO formDTO) {
//原组长
ResiGroupMemberDTO originalLeader = resiGroupMemberService.getGroupLeader(formDTO.getGroupId());
if(formDTO.getNewLeaderUserId().equals(originalLeader.getCustomerUserId())){
log.warn("候选人已经是组长");
return;
}
//如果是居民端转让组,只能是当前组长操作
if (ModuleConstant.APP_RESI.equals(formDTO.getType())) {
//当前用户如果不是组长,不允许提交

Loading…
Cancel
Save