代码调整
This commit is contained in:
@@ -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>
|
||||
Reference in New Issue
Block a user