提交 4e759133 作者: panda

服务管理上架和下架筛选添加

上级 4673e566
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
service_introduction, create_time, update_time, account_id service_introduction, create_time, update_time, account_id
from service from service
<where> <where>
is_deleted = 0 and display_state = 0 is_deleted = 0
<if test="serviceName != null and serviceName != ''"> <if test="serviceName != null and serviceName != ''">
and service_name LIKE CONCAT('%',#{serviceName},'%') and service_name LIKE CONCAT('%',#{serviceName},'%')
</if> </if>
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
select count(*) select count(*)
from service from service
<where> <where>
is_deleted = 0 and display_state = 0 is_deleted = 0
<if test="serviceName != null and serviceName != ''"> <if test="serviceName != null and serviceName != ''">
and service_name LIKE CONCAT('%',#{serviceName},'%') and service_name LIKE CONCAT('%',#{serviceName},'%')
</if> </if>
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论