businessId

ww
chengqf 2 years ago
parent 78d5b994eb
commit 9dcb7db864

@ -27,7 +27,7 @@
</sql> </sql>
<select id="selectByRegisterId" parameterType="java.lang.String" <select id="selectByRegisterId" parameterType="java.lang.String"
resultType="com.glxp.api.entity.sup.UserCertEntity"> resultType="com.glxp.api.entity.sup.UserCertEntity">
SELECT a.id,c.name,c.isNeed,a.registerId,a.companyId,a.code,a.filePath,a.validDate,a.expireDate,a.checkStatus,a.checkTime,a.checkComment,a.status,a.remark FROM user_cert_set c LEFT JOIN SELECT a.id,c.name,c.isNeed,a.businessId,a.companyId,a.code,a.filePath,a.validDate,a.expireDate,a.checkStatus,a.checkTime,a.checkComment,a.status,a.remark FROM user_cert_set c LEFT JOIN
(SELECT * from user_cert WHERE registerId=#{registerId}) a ON c.name = a.name (SELECT * from user_cert WHERE businessId=#{registerId}) a ON c.name = a.name
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save