Browse Source

党群管理数更换群主设为副群主

feature/syp_points
songyunpeng 5 years ago
parent
commit
e20f7476cd
  1. 4
      esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/java/com/elink/esua/epdc/service/impl/PartyUserGroupServiceImpl.java

4
esua-epdc/epdc-module/epdc-party-group/epdc-party-group-server/src/main/java/com/elink/esua/epdc/service/impl/PartyUserGroupServiceImpl.java

@ -211,8 +211,8 @@ public class PartyUserGroupServiceImpl extends BaseServiceImpl<PartyUserGroupDao
//获取之前的群主信息
PartyUserGroupDTO managerByGroupId = getManagerByGroupId(partyUserGroupDTO.getPartyGroupId());
if(managerByGroupId!=null){
//更新为群成员
managerByGroupId.setIdentityFlag("2");
//更新为副群主
managerByGroupId.setIdentityFlag("1");
updateById(ConvertUtils.sourceToTarget(managerByGroupId,PartyUserGroupEntity.class));
}
}

Loading…
Cancel
Save