Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform
Commits
864f9c03
Commit
864f9c03
authored
Sep 03, 2019
by
libin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分公司查询添加状态条件查询
parent
be95908a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
BranchCompanyMapper.xml
...-server/src/main/resources/mapper/BranchCompanyMapper.xml
+2
-1
No files found.
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/BranchCompanyMapper.xml
View file @
864f9c03
...
...
@@ -20,6 +20,7 @@
<result
column=
"longitude"
property=
"longitude"
/>
<result
column=
"latitude"
property=
"latitude"
/>
<result
column=
"zone_id"
property=
"zoneId"
/>
<result
column=
"state"
property=
"state"
/>
</resultMap>
<select
id=
"search"
resultType=
"com.xxfc.platform.vehicle.pojo.CompanySearchVO"
>
...
...
@@ -69,7 +70,7 @@
bc.longitude,
bc.latitude
FROM
(SELECT * FROM `branch_company` WHERE `is_del`=0) AS `bc`
(SELECT * FROM `branch_company` WHERE `is_del`=0
AND `state`=1
) AS `bc`
INNER JOIN (SELECT * FROM `company_base` WHERE `is_del`=0
<if
test=
"provinceCode != null"
>
AND `addr_province`=#{provinceCode}
...
...
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