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
0bd2b903
Commit
0bd2b903
authored
Mar 13, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
朋友圈
parent
8713047b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
QwMomentPlanServiceImpl.java
.../service/service/moment/impl/QwMomentPlanServiceImpl.java
+7
-0
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/moment/impl/QwMomentPlanServiceImpl.java
View file @
0bd2b903
...
...
@@ -233,6 +233,7 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
@Override
public
ServiceResponse
<
Void
>
del
(
Long
planId
)
{
this
.
qwMomentPlanMapper
.
del
(
planId
);
this
.
addOrDelTimer
(
planId
,
new
Date
(),
0
);
return
ServiceResponse
.
success
();
}
...
...
@@ -240,6 +241,8 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
public
ServiceResponse
<
Void
>
stop
(
Long
planId
)
{
TabQwMomentPlan
plan
=
this
.
qwMomentPlanMapper
.
getById
(
planId
)
;
this
.
qwMomentPlanMapper
.
stop
(
planId
);
// 删除定时
this
.
addOrDelTimer
(
planId
,
new
Date
(),
0
);
if
(
plan
.
getExecType
()==
0
&&
StringUtils
.
isNotBlank
(
plan
.
getMomentId
()))
{
String
wxEnterpriseId
=
plan
.
getWxEnterpriseId
()
;
WxEnterpriseQwDTO
qwDTO
=
this
.
wxEnterpriseService
.
getQwInfo
(
wxEnterpriseId
)
;
...
...
@@ -356,6 +359,10 @@ public class QwMomentPlanServiceImpl implements QwMomentPlanService {
}
private
void
send
(
TabQwMomentPlan
plan
)
{
if
(
plan
.
getDeleteFlag
()==
1
||
plan
.
getStatusFlag
()!=
1
||
plan
.
getEndDate
().
getTime
()<=
System
.
currentTimeMillis
())
{
logger
.
info
(
"计划已停止={}"
,
plan
.
getPlanId
());
return
;
}
// 0全部导购 1部分导购
if
(
plan
.
getPlanClerkType
()==
0
)
{
this
.
saveAttendClerkForTask
(
plan
)
;
...
...
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