| | |
| | | payFeePo.setContractFee(contractDtos.get(0).getContractId()); |
| | | // payFeePo.setCreateTime(importFeeDetailPo.getC); |
| | | ContractPartyaDto contractPartyaDto = new ContractPartyaDto(); |
| | | if(importRoomFee.getPayerObjName() == null || Objects.equals(importRoomFee.getPayerObjName(), "")){ |
| | | contractPartyaDto.setPartyA(importRoomFee.getPayerObjName()); |
| | | } |
| | | else{ |
| | | if(importRoomFee.getPayerObjName() == null || Objects.equals(importRoomFee.getPayerObjName(), "")){//当没写入主体时 |
| | | contractPartyaDto.setPartyaId(contractDtos.get(0).getbPartyaId()); |
| | | } |
| | | else{//写入了 |
| | | contractPartyaDto.setPartyA(importRoomFee.getPayerObjName()); |
| | | } |
| | | List<ContractPartyaDto> contractPartyaDtos = iContractPartyaInnerServiceSMO.queryContractPartyas(contractPartyaDto); |
| | | if (ListUtil.isNull(contractPartyaDtos)) { |
| | | throw new IllegalArgumentException("不存在合同主体:"+importRoomFee.getPayerObjName()); |