Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-manage3.0
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
haoban3.0
haoban-manage3.0
Commits
839ec5be
Commit
839ec5be
authored
May 26, 2023
by
jinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时任务添加
parent
36a6b40b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
WxEnterpriseApiServiceImpl.java
.../service/service/out/impl/WxEnterpriseApiServiceImpl.java
+5
-3
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/WxEnterpriseApiServiceImpl.java
View file @
839ec5be
...
...
@@ -23,6 +23,7 @@ import com.gic.haoban.manage.service.dao.mapper.WxEnterpriseRelatedMapper;
import
com.gic.haoban.manage.service.entity.*
;
import
com.gic.haoban.manage.service.pojo.bo.StaffPrivacyUseLogBO
;
import
com.gic.haoban.manage.service.service.*
;
import
com.gic.operating.api.dto.HaobanWxEnterpriseDTO
;
import
com.gic.operating.api.service.HaobanWxEnterpriseApiService
;
import
com.gic.wechat.api.service.qywx.QywxUserApiService
;
import
com.github.pagehelper.Page
;
...
...
@@ -563,15 +564,16 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
log
.
info
(
"定时同步自建应用信息"
);
List
<
TabHaobanWxEnterprise
>
list
=
wxEnterpriseService
.
listAllByWxSecurityType
(
5
);
if
(
CollUtil
.
isNotEmpty
(
list
)){
l
ist
.
stream
().
forEach
(
a
->{
//haobanWxEnterpriseApiService.saveOrUpdate(
);
}
);
l
og
.
info
(
"查询需要同步的信息:{}"
,
JSON
.
toJSONString
(
list
));
List
<
HaobanWxEnterpriseDTO
>
list1
=
EntityUtil
.
changeEntityListByJSON
(
HaobanWxEnterpriseDTO
.
class
,
list
);
haobanWxEnterpriseApiService
.
batchSaveOrUpdate
(
list1
);
}
return
null
;
}
@Override
public
ServiceResponse
<
Boolean
>
deleteByWxEnterpriseId
(
String
wxEnterpriseId
)
{
log
.
info
(
"删除的企业微信id:{}"
,
wxEnterpriseId
);
wxEnterpriseService
.
deleteByWxEnterpriseId
(
wxEnterpriseId
);
return
ServiceResponse
.
success
(
true
);
}
...
...
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