工作台搜索
This commit is contained in:
@@ -56,6 +56,9 @@
|
||||
and b.shop_sub_stage_status = 901
|
||||
and c.deleted = 0
|
||||
and c.shop_status !=2
|
||||
<if test="keyword !=null and keyword !=''">
|
||||
and (c.shop_name like concat('%',#{keyword},'%') or c.shop_code like concat('%',#{keyword},'%'))
|
||||
</if>
|
||||
order by b.update_time desc
|
||||
</select>
|
||||
|
||||
|
||||
@@ -52,6 +52,9 @@
|
||||
and b.shop_sub_stage_status = 892
|
||||
and c.deleted = 0
|
||||
and c.shop_status !=2
|
||||
<if test="keyword != null and keyword != ''">
|
||||
and (c.shop_name like concat('%',#{keyword},'%') or c.shop_code like concat('%',#{keyword},'%'))
|
||||
</if>
|
||||
order by b.update_time desc
|
||||
</select>
|
||||
<select id="getShopIdListByDesignUserIdAndShopStage" resultType="com.cool.store.vo.desk.PreparationCommonPendingVO">
|
||||
@@ -77,6 +80,9 @@
|
||||
and b.shop_sub_stage_status = 900
|
||||
and c.deleted = 0
|
||||
and c.shop_status !=2
|
||||
<if test="keyword != null and keyword != ''">
|
||||
and (c.shop_name like concat('%',#{keyword},'%') or c.shop_code like concat('%',#{keyword},'%'))
|
||||
</if>
|
||||
order by b.update_time desc
|
||||
</select>
|
||||
<select id="getShopIdListByDesignUserIdOrQuotationAndShopStage" resultType="com.cool.store.vo.desk.PreparationCommonPendingVO">
|
||||
@@ -102,6 +108,9 @@
|
||||
where
|
||||
((b.shop_sub_stage_status = 900 and a.design_user_id = #{userId}) or (b.shop_sub_stage_status = 901 and d.design_user_id = #{userId}))
|
||||
and c.deleted = 0 and c.shop_status !=2
|
||||
<if test="keyword !=null and keyword !=''">
|
||||
and (c.shop_name like concat('%',#{keyword},'%') or c.shop_code like concat('%',#{keyword},'%'))
|
||||
</if>
|
||||
order by b.update_time desc
|
||||
|
||||
</select>
|
||||
|
||||
@@ -353,6 +353,9 @@
|
||||
#{code}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="keyword !=null and keyword !=''">
|
||||
and (username like concat('%',#{keyword},'%') or mobile like concat('%',#{keyword},'%'))
|
||||
</if>
|
||||
order by update_time desc
|
||||
</select>
|
||||
|
||||
|
||||
@@ -90,6 +90,9 @@
|
||||
#{item}
|
||||
</foreach>
|
||||
and a.status = 0
|
||||
<if test="keyword !=null and keyword !=''">
|
||||
and (b.shop_code like concat('%',#{keyword},'%') or b.shop_name like concat('%',#{keyword},'%'))
|
||||
</if>
|
||||
order by a.create_time desc
|
||||
</select>
|
||||
<select id="getByCondition" resultType="com.cool.store.entity.OperationLogDO">
|
||||
|
||||
@@ -339,6 +339,9 @@
|
||||
and si.join_mode != 3
|
||||
</if>
|
||||
</if>
|
||||
<if test="keyword!=null and keyword !=''">
|
||||
and (si.shop_name like concat('%',#{keyword},'%') or si.shop_code like concat('%',#{keyword},'%'))
|
||||
</if>
|
||||
order by a.update_time desc
|
||||
</where>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user