Browse Source

fix(ShopDealerRefereeMapper): 修复查询用户信息时未考虑删除状态

- 在 ShopDealerRefereeMapper.xml 文件中,修改了与 sys_user 表的 LEFT JOIN 条件
- 增加了对用户删除状态(deleted)的判断,确保只查询未删除的用户信息
- 这
pan
科技小王子 3 weeks ago
parent
commit
eab2890527
  1. 6
      src/main/java/com/gxwebsoft/shop/mapper/xml/ShopDealerRefereeMapper.xml

6
src/main/java/com/gxwebsoft/shop/mapper/xml/ShopDealerRefereeMapper.xml

@ -34,9 +34,9 @@
AND a.create_time <= #{param.createTimeEnd}
</if>
<if test="param.keywords != null">
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
)
</if>
AND (a.comments LIKE CONCAT('%', #{param.keywords}, '%')
)
</if>
</where>
</sql>

Loading…
Cancel
Save