| | |
| | | contractPo.setaPartyaId(contractPartyaDtos.get(0).getPartyaId()); |
| | | contractPo.setPartyA(contractPartyaDtos.get(0).getPartyA()); |
| | | } else { |
| | | throw new IllegalArgumentException("存在多个名为"+contractPo.getaPartyaId()+"的甲方"); |
| | | throw new IllegalArgumentException("不存在或存在多个名为"+contractPo.getaPartyaId()+"的甲方"); |
| | | } |
| | | } catch (IllegalArgumentException e){ |
| | | throw new IllegalArgumentException("存在多个名为"+contractPo.getaPartyaId()+"的甲方"); |
| | | throw new IllegalArgumentException("不存在或存在多个名为"+contractPo.getaPartyaId()+"的甲方"); |
| | | } catch (Exception e){ |
| | | throw new IllegalArgumentException("甲方主体不存在"); |
| | | } |