Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
Project
Project
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
项目统一框架
amos-boot-biz
Commits
0a44d870
Commit
0a44d870
authored
Dec 09, 2022
by
chenzhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
联动单位 新增经纬度 值班模板导出去除过滤
parent
19fcdd55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
LinkageUnitServiceImpl.java
...odule/common/biz/service/impl/LinkageUnitServiceImpl.java
+4
-6
OrgUsrServiceImpl.java
...oot/module/common/biz/service/impl/OrgUsrServiceImpl.java
+1
-1
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/LinkageUnitServiceImpl.java
View file @
0a44d870
...
...
@@ -132,13 +132,11 @@ public class LinkageUnitServiceImpl extends BaseService<LinkageUnitDto, LinkageU
if
(
linkageUnitDto
.
getAddress
()
!=
null
)
{
JSONObject
address
=
WaterResourceServiceImpl
.
getLongLatFromAddress
(
linkageUnitDto
.
getAddress
());
linkageUnitDto
.
setAddress
(
address
.
getString
(
BizConstant
.
ADDRESS
));
String
[]
addressArr
=
linkageUnitDto
.
getAddress
().
split
(
"@address@"
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
addressArr
[
1
]);
if
(
StringUtils
.
isNotEmpty
(
jsonObject
.
getString
(
BizConstant
.
LONGITUDE
)))
{
linkageUnitDto
.
setLongitude
(
Double
.
valueOf
(
jsonObject
.
getString
(
BizConstant
.
LONGITUDE
)));
if
(
StringUtils
.
isNotEmpty
(
address
.
getString
(
BizConstant
.
LONGITUDE
)))
{
linkageUnitDto
.
setLongitude
(
Double
.
valueOf
(
address
.
getString
(
BizConstant
.
LONGITUDE
)));
}
if
(
StringUtils
.
isNotEmpty
(
jsonObject
.
getString
(
BizConstant
.
LATITUDE
)))
{
linkageUnitDto
.
setLatitude
(
Double
.
valueOf
(
jsonObject
.
getString
(
BizConstant
.
LATITUDE
)));
if
(
StringUtils
.
isNotEmpty
(
address
.
getString
(
BizConstant
.
LATITUDE
)))
{
linkageUnitDto
.
setLatitude
(
Double
.
valueOf
(
address
.
getString
(
BizConstant
.
LATITUDE
)));
}
}
// 1.保存行数据
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-common-biz/src/main/java/com/yeejoin/amos/boot/module/common/biz/service/impl/OrgUsrServiceImpl.java
View file @
0a44d870
...
...
@@ -1710,7 +1710,7 @@ public class OrgUsrServiceImpl extends BaseService<OrgUsrDto, OrgUsr, OrgUsrMapp
// BUG 2843 过滤没有绑定关联账户的user by kongfm 2021-09-16
List
<
OrgUsr
>
tempUserList
=
this
.
list
(
new
LambdaQueryWrapper
<
OrgUsr
>().
eq
(
OrgUsr:
:
getIsDelete
,
false
).
eq
(
OrgUsr:
:
getParentId
,
parentId
)
.
eq
(
OrgUsr:
:
getBizOrgType
,
bizOrgType
)
.
isNotNull
(
OrgUsr:
:
getAmosOrgId
)
);
.
eq
(
OrgUsr:
:
getBizOrgType
,
bizOrgType
));
tempUserList
.
stream
().
forEach
(
m
->
{
if
(
StringUtils
.
isNotEmpty
(
m
.
getAmosOrgId
()))
{
FeignClientResult
<
AgencyUserModel
>
result1
=
Privilege
.
agencyUserClient
.
queryByUserId
(
m
.
getAmosOrgId
());
...
...
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