diff --git a/src/main/resources/mybatis/mapper/sup/UserCertMapper.xml b/src/main/resources/mybatis/mapper/sup/UserCertMapper.xml index 43d377d..16fef97 100644 --- a/src/main/resources/mybatis/mapper/sup/UserCertMapper.xml +++ b/src/main/resources/mybatis/mapper/sup/UserCertMapper.xml @@ -78,9 +78,9 @@ FROM user_cert uc LEFT JOIN user_register ur ON uc.businessId = ur.companyId - - - + + and businessId = #{businessId} + and ur.mobile = #{mobile}