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
082e882f
Commit
082e882f
authored
Jul 29, 2022
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
968e0ec8
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
BasicEntity.java
.../java/com/yeejoin/amos/patrol/dao/entity/BasicEntity.java
+2
-0
RouteController.java
...join/amos/patrol/business/controller/RouteController.java
+3
-3
No files found.
amos-boot-module/amos-boot-module-api/amos-boot-module-patrol-api/src/main/java/com/yeejoin/amos/patrol/dao/entity/BasicEntity.java
View file @
082e882f
package
com
.
yeejoin
.
amos
.
patrol
.
dao
.
entity
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
org.springframework.data.annotation.CreatedDate
;
import
org.springframework.data.jpa.domain.support.AuditingEntityListener
;
...
...
@@ -30,6 +31,7 @@ public class BasicEntity implements Serializable{
@CreatedDate
@Column
(
name
=
"create_date"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
createDate
;
@Id
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-patrol-biz/src/main/java/com/yeejoin/amos/patrol/business/controller/RouteController.java
View file @
082e882f
...
...
@@ -133,15 +133,15 @@ public class RouteController extends AbstractBaseController {
ReginParams
reginParams
=
getSelectedOrgInfo
();
String
loginOrgCode
=
getOrgCode
(
reginParams
);
route
.
setOrgCode
(
loginOrgCode
);
route
.
setBizOrgCode
(
reginParams
.
getPersonIdentity
().
getBizOrgCode
());
route
.
setBizOrgName
(
reginParams
.
getPersonIdentity
().
getCompanyName
());
if
(
route
.
getDeptId
()!=
null
){
//查询jcs
ResponseModel
<
Object
>
companyInfo
=
jcsFeignClient
.
getCompanyInfo
(
route
.
getDeptId
());
Object
obj
=
companyInfo
.
getResult
();
String
bizOrgName
=
((
Map
<
String
,
Object
>)
obj
).
get
(
"bizOrgName"
).
toString
();
route
.
setDeptName
(
bizOrgName
);
route
.
setBizOrgCode
(((
Map
<
String
,
Object
>)
obj
).
get
(
"bizOrgCode"
).
toString
());
route
.
setBizOrgName
(
bizOrgName
);
}
if
(
route
.
getBoss
()!=
null
){
//查询jcs
...
...
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