@ -105,10 +105,10 @@
user_badge_certificate_record
WHERE
DEL_FLAG = 0
AND IS_LAST = 'yes'
AND BADGE_ID = #{badgeId}
<if test="userId != null and userId != '' ">
AND USER_ID = #{userId}
</if>
<if test="recordId != null and recordId != ''">
AND ID = #{recordId}