ccjgmwz 3 năm trước cách đây
mục cha
commit
8f2f7ac66d

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

@@ -157,6 +157,8 @@ public class IdentityAuthenticationInfoServiceImpl extends ServiceImpl<IdentityA
         List<IdentityAuthenticationInfo> identityAuthenticationInfoList =
                 this.selectList(new EntityWrapper<IdentityAuthenticationInfo>()
                         .eq(IdentityAuthenticationInfo.QueryFiles.CUSTOMER_PHONE, identityAuthenticationInfo.getCustomerPhone())
+                        .eq("customer_name", identityAuthenticationInfo.getCustomerName())
+                        .eq("comp_id", identityAuthenticationInfo.getCompId())
                         .eq("customer_type_flag", identityAuthenticationInfo.getCustomerTypeFlag())
                         .eq(IdentityAuthenticationInfo.QueryFiles.DELETE_FLAG, NumberConstant.CONSTANT0));
         //同一手机号再次被认证

+ 2 - 0
winsea-haixin-plugin-yiliangyiyun/src/main/resources/mapper/PaymentManagementMapper.xml

@@ -133,7 +133,9 @@
         left join common_company c on c.comp_id = a.comp_id and c.delete_flag = 0
         left join identity_authentication_info i on i.customer_name = a.customer_name
             and i.customer_phone = a.customer_phone and i.customer_type_flag = 1 and i.delete_flag = 0 and i.cover = 0
+        left join common_company_identity cci on  cci.com_id = a.comp_id  and cci.delete_flag = 0
         WHERE a.delete_flag = '0'
+        and cci.identity_id = i.id
         <if test="searchType != null and searchType != ''">
             <if test="searchType == 2">
                 AND a.status='待结算'  and( a.approve_status= ''