This commit is contained in:
2023-12-01 10:11:19 +08:00
parent eaea5bec19
commit dc8caa7716
3 changed files with 18 additions and 0 deletions

View File

@@ -178,6 +178,12 @@
<if test="status != null and status != ''"> and t1.status = #{status}</if>
<if test="phoneNumber != null and phoneNumber != ''"> and t2.mobile_number = #{phoneNumber}</if>
<if test="memberId != null and memberId != ''"> and t1.member_id = #{memberId}</if>
<if test="merchantIdList != null and merchantIdList.size() != 0">
and t1.merchant_id in
<foreach collection="merchantIdList" item="merchantId" open="(" separator="," close=")">
#{merchantId,jdbcType=VARCHAR}
</foreach>
</if>
</select>
<select id="getAuthCardListByMemberId" resultType="com.jsowell.pile.vo.uniapp.AuthCardVO">