|
@@ -160,7 +160,18 @@ public class TranProcessInfoServiceImpl extends ServiceImpl<TranProcessInfoMappe
|
|
|
if (contractManagementInfo.getPriceType()!=null) {
|
|
|
tranProcessInfo.setPriceType(contractManagementInfo.getPriceType());
|
|
|
}
|
|
|
-
|
|
|
+ }
|
|
|
+ if (tranTaskInfo.getTaskType()!=null) {
|
|
|
+ tranProcessInfo.setTaskType(tranTaskInfo.getTaskType());
|
|
|
+ if ("移库".equals(tranTaskInfo.getTaskType())) {
|
|
|
+ ContractManagementInfo contractManagementInfo1 = contractManagementInfoService.selectOne(new EntityWrapper<ContractManagementInfo>()
|
|
|
+ .eq("contract_no", tranTaskInfo.getSendWarehouse())
|
|
|
+ .eq("comp_id", tranTaskInfo.getCompId()));
|
|
|
+ if (contractManagementInfo1 != null) {
|
|
|
+ //关联合同
|
|
|
+ tranProcessInfo.setRelatedContract(contractManagementInfo1.getContractNo());
|
|
|
+ }
|
|
|
+ }
|
|
|
}
|
|
|
//查看车次信息
|
|
|
List<TranCarInfo> tranCarInfoList = tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|