|
@@ -145,6 +145,13 @@ public class TranProcessInfoServiceImpl extends ServiceImpl<TranProcessInfoMappe
|
|
|
public TranProcessInfo getTranProcess(String id) {
|
|
|
//查看运输信息
|
|
|
TranProcessInfo tranProcessInfo = this.selectById(id);
|
|
|
+ TranTaskInfo tranTaskInfo=tranTaskInfoService.selectById(tranProcessInfo.getInfoId());
|
|
|
+ ContractManagementInfo contractManagementInfo=contractManagementInfoService.selectOne(new EntityWrapper<ContractManagementInfo>()
|
|
|
+ .eq("contract_no",tranProcessInfo.getContractNo())
|
|
|
+ .eq("comp_id",tranTaskInfo.getCompId()));
|
|
|
+ if (contractManagementInfo.getPriceType()!=null) {
|
|
|
+ tranProcessInfo.setPriceType(contractManagementInfo.getPriceType());
|
|
|
+ }
|
|
|
//查看车次信息
|
|
|
List<TranCarInfo> tranCarInfoList = tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|
|
|
.eq(TranCarInfo.QueryFiles.PROCESS_ID, id).eq(TranCarInfo.QueryFiles.DELETE_FLAG, NumberConstant.CONSTANT0).orderBy("tran_car_no").orderBy("box_no"));
|