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
72e7eb28
Commit
72e7eb28
authored
May 19, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
溢出门店添加地区模糊查询
parent
22d88e63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
TabStoreInfoMapper.xml
...-service/src/main/resources/mapper/TabStoreInfoMapper.xml
+2
-1
No files found.
gic-store-service/src/main/resources/mapper/TabStoreInfoMapper.xml
View file @
72e7eb28
...
...
@@ -348,7 +348,8 @@
((6378.137 * acos(cos(radians(#{store.latitude})) * cos(radians(latitude)) * cos(radians(longitude) - radians(#{store.longitude})) + sin(radians(#{store.latitude})) * sin(radians(latitude))))*1000) AS distance
from tab_store_info t1,tab_store t2 where t1.store_info_id = t2.store_info_id
<if
test=
"store.search != null and store.search !=''"
>
and (t1.store_name like concat('%', #{store.search}, '%') or t1.store_code like concat('%', #{store.search}, '%'))
and (t1.store_name like concat('%', #{store.search}, '%') or t1.store_code like concat('%', #{store.search}, '%')
or t2.provinces like concat('%', #{store.search}, '%') )
</if>
<if
test=
"store.storeCode != null and store.storeCode !=''"
>
and t1.store_code =#{store.storeCode}
...
...
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