This commit is contained in:
磷叶 2025-04-28 20:13:40 +08:00
parent 37b255992c
commit 4cd4a6ee4e

View File

@ -128,7 +128,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="query.mchName != null and query.mchName != ''">and mch.nick_name like concat('%', #{query.mchName}, '%')</if> <if test="query.mchName != null and query.mchName != ''">and mch.nick_name like concat('%', #{query.mchName}, '%')</if>
<if test="query.modelName != null and query.modelName != ''">and bm.name like concat('%', #{query.modelName}, '%')</if> <if test="query.modelName != null and query.modelName != ''">and bm.name like concat('%', #{query.modelName}, '%')</if>
<if test="query.suitId != null"> <if test="query.suitId != null">
and find_in_set(#{query.suitId}, bm.suit_ids) and bm.id in (
select bms.model_id from bst_model_suit bms where bms.suit_id = #{query.suitId}
)
</if> </if>
<if test="query.ids != null and query.ids.size() > 0"> <if test="query.ids != null and query.ids.size() > 0">
and bd.id in and bd.id in