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
515abd96
Commit
515abd96
authored
Dec 15, 2020
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master-chw' into dev-chw
parents
40ec0638
888b4690
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
CompanySearchVO.java
...com/github/wxiaoqi/security/admin/vo/CompanySearchVO.java
+5
-0
BranchCompanyMapper.xml
...e-admin/src/main/resources/mapper/BranchCompanyMapper.xml
+2
-1
No files found.
ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/vo/CompanySearchVO.java
View file @
515abd96
...
...
@@ -13,4 +13,9 @@ public class CompanySearchVO extends BranchCompany {
String
companyName
;
String
levelName
;
Integer
imUserid
;
Integer
appUserId
;
}
ace-modules/ace-admin/src/main/resources/mapper/BranchCompanyMapper.xml
View file @
515abd96
...
...
@@ -22,7 +22,7 @@
</resultMap>
<select
id=
"search"
parameterType=
"com.github.wxiaoqi.security.admin.dto.CompanySearchDTO"
resultType=
"com.github.wxiaoqi.security.admin.vo.CompanySearchVO"
>
select c.*,i.name as companyName,l.name as levelName
select c.*,i.name as companyName,l.name as levelName
,ul.im_userid as imUserid,i.app_user_id as appUserId
<if
test=
"lon != null and lat != null"
>
, ROUND(( (2 * ASIN( SQRT( POW( SIN((c.latitude * PI() / 180.0
-${lat} * PI() / 180.0)/2), 2)
...
...
@@ -33,6 +33,7 @@
from branch_company c
LEFT JOIN company_info i on c.company_id=i.id
LEFT JOIN branch_company_level l on c.branch_type=l.level
LEFT JOIN app_user_login ul on i.app_user_id=ul.id
<where>
c.is_del = 0
<if
test=
"id != null"
>
...
...
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