查询登录用户权限信息,使用UserUtils

This commit is contained in:
2023-11-11 16:47:20 +08:00
parent 659705e70d
commit 4fd28a156b
3 changed files with 32 additions and 24 deletions

View File

@@ -228,6 +228,12 @@
<if test="dto.vinCode != null">
and t4.vin_code like '%${dto.vinCode}%'
</if>
<if test="dto.firstMerchantIds != null and dto.firstMerchantIds.size() != 0">
and t1.merchant_id in
<foreach collection="dto.firstMerchantIds" item="firstMerchantId" open="(" separator="," close=")">
#{firstMerchantId,jdbcType=VARCHAR}
</foreach>
</if>
GROUP BY (t1.member_id)
</select>