|
@@ -625,6 +625,15 @@ public class PurchaseOrderServiceImpl extends ServiceImpl<PurchaseOrderMapper, P
|
|
|
ProcurementPlanInfo procurementPlanInfo = procurementPlanInfoService.selectById(purchaseOrder.getPlanId());
|
|
|
if (procurementPlanInfo != null) {
|
|
|
purchaseOrder.setProcurementPlanType(procurementPlanInfo.getProcurementPlanType());
|
|
|
+ //查询客户信息
|
|
|
+ Wrapper<CustomerInfo> customerInfoWrapper = new EntityWrapper<>();
|
|
|
+ customerInfoWrapper.andNew().eq("comp_name", purchaseOrder.getCustomer()).or()
|
|
|
+ .eq("customer_name", purchaseOrder.getCustomer());
|
|
|
+ customerInfoWrapper.eq("delete_flag", "0");
|
|
|
+ CustomerInfo customerInfo = customerInfoService.selectOne(customerInfoWrapper);
|
|
|
+ if (customerInfo != null) {
|
|
|
+ purchaseOrder.setCustomerInfo(customerInfo);
|
|
|
+ }
|
|
|
}
|
|
|
String taskId = "";
|
|
|
// 只有待审核状态才有taskId
|