|
|
@ -92,7 +92,7 @@ public class CustomerPartyBranchController { |
|
|
|
public Result deleteById(@PathVariable("id") String id){ |
|
|
|
CustomerPartyBranchDTO data = customerPartyBranchService.get(id); |
|
|
|
if(null!=data&&data.getTotalPartyMember()>0){ |
|
|
|
throw new RenException(EpmetErrorCode.CANNOT_DELETE_PARTYB_RANCH.getCode()); |
|
|
|
throw new RenException(EpmetErrorCode.CANNOT_DELETE_PARTY_BRANCH.getCode()); |
|
|
|
} |
|
|
|
customerPartyBranchService.deleteById(id); |
|
|
|
return new Result(); |
|
|
|