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
15130647
Commit
15130647
authored
Mar 12, 2025
by
徐高华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
朋友圈
parent
a76f4782
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
QwMomentPlanAttendServiceImpl.java
...ce/service/moment/impl/QwMomentPlanAttendServiceImpl.java
+4
-4
No files found.
haoban-manage3-service/src/main/java/com/gic/haoban/manage/service/service/moment/impl/QwMomentPlanAttendServiceImpl.java
View file @
15130647
...
@@ -65,13 +65,13 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService
...
@@ -65,13 +65,13 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService
@Override
@Override
public
ServiceResponse
<
Page
<
QwMomentPlanAttendDTO
>>
attendList
(
PlanClerkListQDTO
qdto
)
{
public
ServiceResponse
<
Page
<
QwMomentPlanAttendDTO
>>
attendList
(
PlanClerkListQDTO
qdto
)
{
// 0已失效 1待完成 2已完成
// 0已失效 1待完成 2已完成
int
sendStatus
=
qdto
.
getSendStatus
()
;
Integer
sendStatus
=
qdto
.
getSendStatus
()
;
TabQwMomentPlan
plan
=
this
.
qwMomentPlanMapper
.
getById
(
qdto
.
getPlanId
())
;
TabQwMomentPlan
plan
=
this
.
qwMomentPlanMapper
.
getById
(
qdto
.
getPlanId
())
;
boolean
isEnd
=
plan
.
getStatusFlag
()==
2
||
plan
.
getEndDate
().
getTime
()
<=
System
.
currentTimeMillis
()
;
boolean
isEnd
=
plan
.
getStatusFlag
()==
2
||
plan
.
getEndDate
().
getTime
()
<=
System
.
currentTimeMillis
()
;
if
(
isEnd
&&
sendStatus
==
1
)
{
if
(
null
!=
sendStatus
&&
isEnd
&&
sendStatus
==
1
)
{
return
ServiceResponse
.
success
(
new
Page
<>());
return
ServiceResponse
.
success
(
new
Page
<>());
}
}
if
(!
isEnd
&&
sendStatus
==
0
)
{
if
(
null
!=
sendStatus
&&
!
isEnd
&&
sendStatus
==
0
)
{
return
ServiceResponse
.
success
(
new
Page
<>());
return
ServiceResponse
.
success
(
new
Page
<>());
}
}
PageHelper
.
startPage
(
qdto
);
PageHelper
.
startPage
(
qdto
);
...
@@ -89,7 +89,7 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService
...
@@ -89,7 +89,7 @@ public class QwMomentPlanAttendServiceImpl implements QwMomentPlanAttendService
}
}
List
<
QwMomentPlanAttendDTO
>
list
=
this
.
qwMomentPlanAttendMapper
.
list
(
qdto
);
List
<
QwMomentPlanAttendDTO
>
list
=
this
.
qwMomentPlanAttendMapper
.
list
(
qdto
);
Page
<
QwMomentPlanAttendDTO
>
retPage
=
PageHelperUtils
.
changePageHelperToCurrentPage
(
list
,
QwMomentPlanAttendDTO
.
class
);
Page
<
QwMomentPlanAttendDTO
>
retPage
=
PageHelperUtils
.
changePageHelperToCurrentPage
(
list
,
QwMomentPlanAttendDTO
.
class
);
if
(
CollectionUtils
.
isNotEmpty
(
retPage
.
getResult
())
&&
sendStatus
==
0
)
{
if
(
CollectionUtils
.
isNotEmpty
(
retPage
.
getResult
())
&&
null
!=
sendStatus
&&
sendStatus
==
0
)
{
retPage
.
getResult
().
forEach
(
o
->
o
.
setTaskStatus
(
0
));
retPage
.
getResult
().
forEach
(
o
->
o
.
setTaskStatus
(
0
));
}
}
return
ServiceResponse
.
success
(
retPage
);
return
ServiceResponse
.
success
(
retPage
);
...
...
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