|
@@ -159,8 +159,11 @@ public class TranProcessInfoServiceImpl extends ServiceImpl<TranProcessInfoMappe
|
|
|
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());
|
|
|
+ if(contractManagementInfo != null){
|
|
|
+ if (contractManagementInfo.getPriceType()!=null) {
|
|
|
+ tranProcessInfo.setPriceType(contractManagementInfo.getPriceType());
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
//查看车次信息
|
|
|
List<TranCarInfo> tranCarInfoList = tranCarInfoService.selectList(new EntityWrapper<TranCarInfo>()
|