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
476dc9d8
Commit
476dc9d8
authored
Sep 25, 2019
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改app查询公司问题
parent
6559efd4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
CompanySearchDTO.java
...java/com/xxfc/platform/vehicle/pojo/CompanySearchDTO.java
+3
-0
BranchCompanyMapper.xml
...-server/src/main/resources/mapper/BranchCompanyMapper.xml
+9
-0
No files found.
xx-vehicle/xx-vehicle-api/src/main/java/com/xxfc/platform/vehicle/pojo/CompanySearchDTO.java
View file @
476dc9d8
...
@@ -9,4 +9,7 @@ public class CompanySearchDTO {
...
@@ -9,4 +9,7 @@ public class CompanySearchDTO {
Integer
addrCity
;
Integer
addrCity
;
String
lon
;
String
lon
;
String
lat
;
String
lat
;
Integer
state
=
1
;
Integer
isShow
=
1
;
Integer
isDel
=
0
;
}
}
xx-vehicle/xx-vehicle-server/src/main/resources/mapper/BranchCompanyMapper.xml
View file @
476dc9d8
...
@@ -36,6 +36,15 @@
...
@@ -36,6 +36,15 @@
<if
test=
"lon != null and lat != null"
>
<if
test=
"lon != null and lat != null"
>
and longitude is not null and latitude is not null
and longitude is not null and latitude is not null
</if>
</if>
<if
test=
"state != null"
>
and state = #{state}
</if>
<if
test=
"isShow != null"
>
and is_show = #{isShow}
</if>
<if
test=
"isDel != null"
>
and is_del = #{isDel}
</if>
</where>
</where>
<if
test=
"lon != null and lat != null"
>
<if
test=
"lon != null and lat != null"
>
order by distance asc
order by distance asc
...
...
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