|
@@ -77,6 +77,8 @@ public class ContractManagementInfoServiceImpl extends ServiceImpl<ContractManag
|
|
private INoticeService noticeService;
|
|
private INoticeService noticeService;
|
|
@Autowired
|
|
@Autowired
|
|
private IPriceConfirmationSheetService priceConfirmationSheetService;
|
|
private IPriceConfirmationSheetService priceConfirmationSheetService;
|
|
|
|
+ @Autowired
|
|
|
|
+ private ICollectionWarehousingRecordService collectionWarehousingRecordService;
|
|
@Value("${file-root-path}")
|
|
@Value("${file-root-path}")
|
|
private String localPath;
|
|
private String localPath;
|
|
|
|
|
|
@@ -455,6 +457,15 @@ public class ContractManagementInfoServiceImpl extends ServiceImpl<ContractManag
|
|
}
|
|
}
|
|
contractManagementInfo.setCompletedQuantity(inWeight);
|
|
contractManagementInfo.setCompletedQuantity(inWeight);
|
|
}
|
|
}
|
|
|
|
+ //代收合同
|
|
|
|
+ else if ("3".equals(contractManagementInfo.getContractType())) {
|
|
|
|
+ List<CollectionWarehousingRecord> collectionWarehousingRecordList=collectionWarehousingRecordService.selectList(new EntityWrapper<CollectionWarehousingRecord>()
|
|
|
|
+ .eq("contract_no",contractManagementInfo.getContractNo())
|
|
|
|
+ .eq("comp_id",contractManagementInfo.getCompId()));
|
|
|
|
+ if (CollectionUtils.isNotEmpty(collectionWarehousingRecordList)){
|
|
|
|
+ contractManagementInfo.setCollectionWarehousingRecordList(collectionWarehousingRecordList);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
//销售合同
|
|
//销售合同
|
|
else {
|
|
else {
|
|
//定义出库量
|
|
//定义出库量
|