feat:门店编码查询
This commit is contained in:
@@ -121,7 +121,7 @@
|
|||||||
FROM store_${enterpriseId} a
|
FROM store_${enterpriseId} a
|
||||||
WHERE a.is_delete = 'effective' and a.store_status != 'closed'
|
WHERE a.is_delete = 'effective' and a.store_status != 'closed'
|
||||||
<if test="storeName!=null and storeName!=''">
|
<if test="storeName!=null and storeName!=''">
|
||||||
AND a.store_name LIKE CONCAT('%', #{storeName}, '%')
|
AND (a.store_name LIKE CONCAT('%', #{storeName}, '%') or a.store_num LIKE CONCAT('%', #{storeName}, '%'))
|
||||||
</if>
|
</if>
|
||||||
<if test="storeNum!=null and storeNum!=''">
|
<if test="storeNum!=null and storeNum!=''">
|
||||||
AND a.store_num = #{storeNum}
|
AND a.store_num = #{storeNum}
|
||||||
@@ -139,7 +139,7 @@
|
|||||||
INNER JOIN store_master_signer_info_${enterpriseId} b ON a.store_id = b.store_id
|
INNER JOIN store_master_signer_info_${enterpriseId} b ON a.store_id = b.store_id
|
||||||
WHERE a.is_delete = 'effective' and a.store_status != 'closed'
|
WHERE a.is_delete = 'effective' and a.store_status != 'closed'
|
||||||
<if test="storeName!=null and storeName!=''">
|
<if test="storeName!=null and storeName!=''">
|
||||||
AND a.store_name LIKE CONCAT('%', #{storeName}, '%')
|
AND (a.store_name LIKE CONCAT('%', #{storeName}, '%') or a.store_num LIKE CONCAT('%', #{storeName}, '%'))
|
||||||
</if>
|
</if>
|
||||||
<if test="storeNum!=null and storeNum!=''">
|
<if test="storeNum!=null and storeNum!=''">
|
||||||
AND a.store_num = #{storeNum}
|
AND a.store_num = #{storeNum}
|
||||||
@@ -154,7 +154,7 @@
|
|||||||
INNER JOIN store_master_signer_info_${enterpriseId} b ON a.store_id = b.store_id
|
INNER JOIN store_master_signer_info_${enterpriseId} b ON a.store_id = b.store_id
|
||||||
WHERE a.is_delete = 'effective' and a.store_status != 'closed'
|
WHERE a.is_delete = 'effective' and a.store_status != 'closed'
|
||||||
<if test="storeName!=null and storeName!=''">
|
<if test="storeName!=null and storeName!=''">
|
||||||
AND a.store_name LIKE CONCAT('%', #{storeName}, '%')
|
AND (a.store_name LIKE CONCAT('%', #{storeName}, '%') or a.store_num LIKE CONCAT('%', #{storeName}, '%'))
|
||||||
</if>
|
</if>
|
||||||
<if test="storeNum!=null and storeNum!=''">
|
<if test="storeNum!=null and storeNum!=''">
|
||||||
AND a.store_num = #{storeNum}
|
AND a.store_num = #{storeNum}
|
||||||
|
|||||||
Reference in New Issue
Block a user