|
|
@ -60,8 +60,8 @@ public class AppGroupController { |
|
|
|
@PostMapping("createParty") |
|
|
|
public Result createPartyGroup(@RequestBody CompleteDeptDTO formDto) { |
|
|
|
GroupCreateFormDTO groupCreateFormDto = ConvertUtils.sourceToTarget(formDto, GroupCreateFormDTO.class); |
|
|
|
groupCreateFormDto.setArea(formDto.getDistrict()); |
|
|
|
groupCreateFormDto.setAreaId(formDto.getDistrictId()); |
|
|
|
// groupCreateFormDto.setArea(formDto.getDistrict());
|
|
|
|
// groupCreateFormDto.setAreaId(formDto.getDistrictId());
|
|
|
|
groupCreateFormDto.setGroupName(formDto.getCommunity().concat(formDto.getGrid()).concat(GroupConstant.PARTY_GROUP_NAME_SUFFIX)); |
|
|
|
groupCreateFormDto.setGroupAvatar(GroupConstant.PARTY_GROUP_AVATAR); |
|
|
|
groupCreateFormDto.setGroupIntroduction(formDto.getStreet().concat(formDto.getCommunity()).concat(formDto.getGrid())); |
|
|
|