|
@ -75,7 +75,7 @@ public class ReportPartyController { |
|
|
dto.setId(result.getId()); |
|
|
dto.setId(result.getId()); |
|
|
dto.setCouplingCommunity(result.getCouplingCommunity()); |
|
|
dto.setCouplingCommunity(result.getCouplingCommunity()); |
|
|
dto.setCouplingCommunityName(result.getCouplingCommunityName()); |
|
|
dto.setCouplingCommunityName(result.getCouplingCommunityName()); |
|
|
reportPartyService.update(result); |
|
|
reportPartyService.update(dto); |
|
|
} else { |
|
|
} else { |
|
|
int sum = reportPartyService.findByIdCardAndName(dto.getIdCard(), dto.getName()); |
|
|
int sum = reportPartyService.findByIdCardAndName(dto.getIdCard(), dto.getName()); |
|
|
if (sum == 1) { |
|
|
if (sum == 1) { |
|
|