update 会员信息根据所属一级运营商查询

This commit is contained in:
2023-11-07 16:30:45 +08:00
parent 10e1d7eeb6
commit ed458b875d
4 changed files with 13 additions and 27 deletions

View File

@@ -216,7 +216,7 @@
<if test="dto.mobileNumber != null and dto.mobileNumber != ''">and t1.mobile_number like '%${dto.mobileNumber}%'</if>
<if test="dto.nickName != null and dto.nickName != ''">and t1.nick_name like '%${dto.nickName}%'</if>
<if test="dto.memberId != null and dto.memberId != ''">and t1.member_id like '%${dto.memberId}%'</if>
<if test="dto.merchantId != null and dto.merchantId != ''">and t1.merchant_id like '%${dto.merchantId}%'</if>
<if test="dto.merchantId != null and dto.merchantId != ''">and t1.merchant_id = #{dto.merchantId,jdbcType=VARCHAR}</if>
<if test="dto.merchantDeptIds != null and dto.merchantDeptIds.size() != 0">
and t3.dept_id in
<foreach collection="dto.merchantDeptIds" item="deptId" open="(" separator="," close=")">