Commit 286194a2 by 刘宇峰

特约店、围栏bug修复

1 parent 3eec995d
...@@ -97,9 +97,9 @@ ...@@ -97,9 +97,9 @@
and tef.biz_fence_type = 12 and tef.biz_fence_type = 12
<if test="term != null and term !=''"> <if test="term != null and term !=''">
and ( and (
ttds.shop_name like CONCAT('%',#{term},'%') tu.username like CONCAT('%',#{term},'%')
or or
ttds.shop_code like CONCAT('%',#{term},'%') tu.account like CONCAT('%',#{term},'%')
or or
tef.fence_name like CONCAT('%',#{term},'%') tef.fence_name like CONCAT('%',#{term},'%')
) )
...@@ -127,9 +127,9 @@ ...@@ -127,9 +127,9 @@
and tef.biz_fence_type = 12 and tef.biz_fence_type = 12
<if test="term != null and term !=''"> <if test="term != null and term !=''">
and ( and (
ttds.shop_name like CONCAT('%',#{term},'%') tu.username like CONCAT('%',#{term},'%')
or or
ttds.shop_code like CONCAT('%',#{term},'%') tu.account like CONCAT('%',#{term},'%')
or or
tef.fence_name like CONCAT('%',#{term},'%') tef.fence_name like CONCAT('%',#{term},'%')
) )
......
...@@ -46,9 +46,9 @@ ...@@ -46,9 +46,9 @@
and tef.biz_fence_type = 13 and tef.biz_fence_type = 13
<if test="term != null and term !=''"> <if test="term != null and term !=''">
and ( and (
shop_name like CONCAT('%',#{term},'%') tu.username like CONCAT('%',#{term},'%')
or or
shop_code like CONCAT('%',#{term},'%') tu.account like CONCAT('%',#{term},'%')
) )
</if> </if>
<if test="area != null and area !=''"> <if test="area != null and area !=''">
...@@ -83,9 +83,9 @@ ...@@ -83,9 +83,9 @@
and tef.biz_fence_type = 13 and tef.biz_fence_type = 13
<if test="term != null and term !=''"> <if test="term != null and term !=''">
and ( and (
ttds.shop_name like CONCAT('%',#{term},'%') tu.username like CONCAT('%',#{term},'%')
or or
ttds.shop_code like CONCAT('%',#{term},'%') tu.account like CONCAT('%',#{term},'%')
) )
</if> </if>
<if test="area != null and area !=''"> <if test="area != null and area !=''">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!