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
bd4c711e
Commit
bd4c711e
authored
Sep 03, 2022
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除好办定时
parent
3f20c8ee
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
HaobanCommonMQApiServiceImpl.java
...ervice/service/out/impl/HaobanCommonMQApiServiceImpl.java
+7
-2
WxEnterpriseApiServiceImpl.java
.../service/service/out/impl/WxEnterpriseApiServiceImpl.java
+1
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/HaobanCommonMQApiServiceImpl.java
View file @
bd4c711e
...
...
@@ -2,6 +2,7 @@ package com.gic.haoban.manage.service.service.out.impl;
import
java.util.Map
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.logging.log4j.LogManager
;
import
org.apache.logging.log4j.Logger
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -52,10 +53,14 @@ public class HaobanCommonMQApiServiceImpl implements HaobanCommonMQApiService {
}
private
void
deleteQuartz
(
String
enterpriseId
)
{
if
(
StringUtils
.
isBlank
(
enterpriseId
))
{
return
;
}
log
.
info
(
"删除好办定时eid={}"
,
enterpriseId
);
// 日报
QuartzTaskDTO
task
=
new
QuartzTaskDTO
();
task
.
setTaskService
(
"com.gic.haoban.app.daily.api.service.DailyReport
Job
ApiService"
);
task
.
setTaskMethod
(
"
callBack
"
);
task
.
setTaskService
(
"com.gic.haoban.app.daily.api.service.DailyReport
Task
ApiService"
);
task
.
setTaskMethod
(
"
run
"
);
task
.
setReferId
(
enterpriseId
);
this
.
quartzService
.
delQuartzTask
(
task
);
}
...
...
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/out/impl/WxEnterpriseApiServiceImpl.java
View file @
bd4c711e
...
...
@@ -485,6 +485,7 @@ public class WxEnterpriseApiServiceImpl implements WxEnterpriseApiService {
dto
.
setType
(
1
);
Map
<
String
,
String
>
map
=
new
HashMap
<>()
;
map
.
put
(
"enterpriseId"
,
enterpriseId
)
;
dto
.
setParams
(
map
);
this
.
haobanCommonMQApiService
.
putCommonMessage
(
dto
);
}
...
...
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