Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-store
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
base_platform_enterprise
gic-store
Commits
d1eb3376
Commit
d1eb3376
authored
Jun 23, 2021
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
门店查询调整:查询tab_store 状态为1的数据。
parent
b258d1b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
TabStoreInfoMapper.xml
...-service/src/main/resources/mapper/TabStoreInfoMapper.xml
+17
-0
No files found.
gic-store-service/src/main/resources/mapper/TabStoreInfoMapper.xml
View file @
d1eb3376
...
...
@@ -327,6 +327,7 @@
<if
test=
"storeDTO.storeInfoId != null"
>
and t1.store_info_id
<>
#{storeDTO.storeInfoId}
</if>
and t2.status = 1
</select>
<select
id=
"countByBrandId"
resultType=
"java.lang.Integer"
>
...
...
@@ -424,6 +425,7 @@
#{id}
</foreach>
</if>
and t2.status = 1
order by distance asc
</select>
...
...
@@ -477,14 +479,19 @@
and t1.region_id = #{regionId}
and t1.store_name = #{storeName}
and t1.store_code = #{storeCode}
and t2.status = 1
</select>
<select
id=
"listAllstoreInfoId"
resultType=
"Integer"
>
select t1.store_info_id from tab_store_info t1,tab_store t2 where t2.enterprise_id=#{enterpriseId}
and t1.store_info_id=t2.store_info_id and t1.overflow_status=0
and t2.status = 1
</select>
<select
id=
"listAllstoreId"
resultType=
"Integer"
>
select t2.store_id from tab_store_info t1,tab_store t2 where t2.enterprise_id=#{enterpriseId}
and t1.store_info_id=t2.store_info_id and t1.overflow_status=0
and t2.status = 1
</select>
<select
id=
"getByStore"
resultMap=
"BaseResultMap"
parameterType=
"com.gic.store.dto.StoreDTO"
>
select
...
...
@@ -510,6 +517,8 @@
<if
test=
"store.storeId != null "
>
and t2.store_id
<>
#{store.storeId}
</if>
and t2.status = 1
</select>
<select
id=
"getDtoByStore"
resultMap=
"DTOResultMap"
parameterType=
"com.gic.store.dto.StoreDTO"
>
...
...
@@ -536,6 +545,8 @@
<if
test=
"store.storeId != null "
>
and t2.store_id
<>
#{store.storeId}
</if>
and t2.status = 1
limit 1
</select>
<select
id=
"getStoreOwnerByStoreInfoId"
resultType=
"java.lang.Integer"
>
...
...
@@ -544,6 +555,8 @@
from tab_store_info t1,tab_store t2 where t1.store_info_id = t2.store_info_id
and t1.store_info_id = #{storeInfoId}
and t2.enterprise_id = #{enterpriseId}
and t2.status = 1
</select>
<select
id=
"getStoreIdByStoreInfoId"
resultType=
"java.lang.Integer"
>
...
...
@@ -552,6 +565,8 @@
from tab_store_info t1,tab_store t2 where t1.store_info_id = t2.store_info_id
and t1.store_info_id = #{storeInfoId}
and t2.enterprise_id = #{enterpriseId}
and t2.status = 1
</select>
<select
id=
"hasUnCompleteStatusStore"
resultType=
"java.lang.Integer"
>
select
...
...
@@ -561,6 +576,8 @@
and t2.own_type = 0
and t1.status = 2
and t1.complete_status = 0
and t2.status = 1
limit 1
</select>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment