代码调整

This commit is contained in:
2023-07-05 09:00:59 +08:00
parent cfeb84a9d4
commit 7c49f4dda7

View File

@@ -68,9 +68,11 @@
from
cs_group
where
data_set_id = #{id} and is_show = 1 and group_name like concat('%',#{searchValue},'%')
order by
sort
data_set_id = #{id} and is_show = 1
<if test="searchValue != null and searchValue !=''">
and group_name like concat('%',#{searchValue},'%')
</if>
order by sort
</select>
</mapper>