Browse Source

支部管理v2漏题

dev_shibei_match
yinzuomei 5 years ago
parent
commit
edfff95989
  1. 2
      epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerPartyBranchController.java

2
epmet-module/gov-org/gov-org-server/src/main/java/com/epmet/controller/CustomerPartyBranchController.java

@ -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();

Loading…
Cancel
Save