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
2a5dfa4b
Commit
2a5dfa4b
authored
Jul 29, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop_dl_plan6_temp' of…
Merge branch 'develop_dl_plan6_temp' of
http://39.98.45.134:8090/moa/amos-boot-biz
into develop_dl_plan6_temp
parents
082e882f
8ec169f5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
PointController.java
...join/amos/patrol/business/controller/PointController.java
+8
-6
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/PointController.java
View file @
2a5dfa4b
...
@@ -1351,16 +1351,18 @@ public class PointController extends AbstractBaseController {
...
@@ -1351,16 +1351,18 @@ public class PointController extends AbstractBaseController {
point
.
setOrgCode
(
loginOrgCode
);
//点归属于公司
point
.
setOrgCode
(
loginOrgCode
);
//点归属于公司
point
.
setCreatorId
(
user
.
getUserId
());
point
.
setCreatorId
(
user
.
getUserId
());
ResponseModel
<
Object
>
companyInfo
=
jcsFeignClient
.
getCompanyInfo
(
point
.
getChargeDeptId
());
Object
obj
=
companyInfo
.
getResult
();
String
bizOrgCode
=
((
Map
<
String
,
Object
>)
obj
).
get
(
"bizOrgCode"
).
toString
();
String
bizOrgName
=
((
Map
<
String
,
Object
>)
obj
).
get
(
"bizOrgName"
).
toString
();
point
.
setBizOrgCode
(
bizOrgCode
);
point
.
setBizOrgName
(
bizOrgName
);
FeignClientResult
userInfo
=
jcsFeignClient
.
selectById
(
point
.
getChargePersonId
());
FeignClientResult
userInfo
=
jcsFeignClient
.
selectById
(
point
.
getChargePersonId
());
Object
result
=
userInfo
.
getResult
();
Object
result
=
userInfo
.
getResult
();
Map
<
String
,
Object
>
map
=
(
Map
<
String
,
Object
>)
result
;
Map
<
String
,
Object
>
map
=
(
Map
<
String
,
Object
>)
result
;
String
personName
=
map
.
get
(
"personName"
).
toString
();
point
.
setChargePersonName
(
map
.
get
(
"personName"
).
toString
());
point
.
setChargePersonName
(
personName
);
String
bizOrgName
=
map
.
get
(
"companyName"
).
toString
();
point
.
setChargePersonId
(
map
.
get
(
"companyId"
).
toString
());
point
.
setBizOrgCode
(
map
.
get
(
"bizOrgCode"
).
toString
());
point
.
setBizOrgName
(
bizOrgName
);
iPointService
.
addPointNew
(
point
);
iPointService
.
addPointNew
(
point
);
return
CommonResponseUtil
.
success
();
return
CommonResponseUtil
.
success
();
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
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