zhangyuewww 3 éve
szülő
commit
6cb9db7c3e

+ 8 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/PaymentManagementServiceImpl.java

@@ -124,6 +124,14 @@ public class PaymentManagementServiceImpl extends ServiceImpl<PaymentManagementM
                 if (commonCompany!=null){
                     paymentManagement1.setCompName(commonCompany.getCompName());
                 }
+                IdentityAuthenticationInfo identityAuthenticationInfo=iIdentityAuthenticationInfoService.selectOne(new EntityWrapper<IdentityAuthenticationInfo>()
+                        .eq("customer_name",paymentManagement1.getCustomerName())
+                        .eq("customer_phone",paymentManagement1.getCustomerPhone())
+                        .eq("cover","0")
+                        .eq("customer_type_flag","1"));
+                if (identityAuthenticationInfo!=null){
+                    paymentManagement1.setIdentityAuthenticationInfo(identityAuthenticationInfo);
+                }
                 WeighingManagement weighingManagement = weighingManagementService.selectOne(new EntityWrapper<WeighingManagement>()
                         .eq("relation_id", paymentManagement1.getRelationId()));
                 if (weighingManagement!=null){

+ 2 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/java/com/yh/saas/plugin/yiliangyiyun/service/impl/TranProcessInfoServiceImpl.java

@@ -272,6 +272,8 @@ public class TranProcessInfoServiceImpl extends ServiceImpl<TranProcessInfoMappe
                                 tranSettlementReport.setSettlementWeight(tranCarInfo.getLoadNetWeight());
                                 //应付
                                 tranSettlementReport.setAmountIngPayable(tranProcessInfo.getTranPrice() * tranSettlementReport.getSettlementWeight());
+                                //未付
+                                tranSettlementReport.setAmountNotPayable(tranProcessInfo.getTranPrice() * tranSettlementReport.getSettlementWeight());
                                 tranSettlementReport.setTranCarNo(tranCarInfo.getTranCarNo());
                                 tranSettlementReport.setLoadingWeight(tranCarInfo.getLoadNetWeight());
                                 tranSettlementReport.setLoadingImg(tranCarInfo.getLoadPoundImg());