Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lyf-beidou-cdp-api
Overview
Overview
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
zhoupeng
lyf-beidou-cdp-api
Commits
1be452c4
Commit
1be452c4
authored
Sep 20, 2023
by
zhoupeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交导入组织架构openapi接口
parent
a81ba901
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
OrganizationRedisServiceImpl.java
...der/domain/service/impl/OrganizationRedisServiceImpl.java
+4
-4
No files found.
src/main/java/com/rome/order/domain/service/impl/OrganizationRedisServiceImpl.java
View file @
1be452c4
...
...
@@ -49,8 +49,8 @@ public class OrganizationRedisServiceImpl implements OrganizationRedisService {
}
List
<
OrgDTO
>
orgDTOList
=
this
.
getRemoteOrgCdpList
();
if
(!
CollectionUtils
.
isEmpty
(
orgDTOList
)){
// 组织机构存缓存(
1天
)
redisService
.
setValue
(
RedisConstant
.
DEPARTMENT_ORGANIZATION
,
JSON
.
toJSONString
(
orgDTOList
),
864
00L
);
// 组织机构存缓存(
5分钟
)
redisService
.
setValue
(
RedisConstant
.
DEPARTMENT_ORGANIZATION
,
JSON
.
toJSONString
(
orgDTOList
),
3
00L
);
}
return
true
;
}
...
...
@@ -64,8 +64,8 @@ public class OrganizationRedisServiceImpl implements OrganizationRedisService {
}
else
{
organizationRedisDTOS
=
this
.
getRemoteOrgCdpList
();
if
(!
CollectionUtils
.
isEmpty
(
organizationRedisDTOS
)){
// 组织机构存缓存(
1天
)
redisService
.
setValue
(
RedisConstant
.
DEPARTMENT_ORGANIZATION
,
JSON
.
toJSONString
(
organizationRedisDTOS
),
864
00L
);
// 组织机构存缓存(
5分钟
)
redisService
.
setValue
(
RedisConstant
.
DEPARTMENT_ORGANIZATION
,
JSON
.
toJSONString
(
organizationRedisDTOS
),
3
00L
);
}
return
organizationRedisDTOS
;
}
...
...
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