Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
Project
Project
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
hubin
long-tern-care-service
Commits
1efeb27c
Commit
1efeb27c
authored
Apr 18, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上门
parent
e0d63fa0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
SrvTaskServiceImpl.java
...graim/ltc/governance/service/impl/SrvTaskServiceImpl.java
+4
-1
No files found.
governance/src/main/java/com/hungraim/ltc/governance/service/impl/SrvTaskServiceImpl.java
View file @
1efeb27c
...
...
@@ -279,7 +279,10 @@ public class SrvTaskServiceImpl implements SrvTaskService {
Long
modeId
=
srvPlanInputVO
.
getModeId
();
if
(
CollectionUtil
.
isNotEmpty
(
chSrvTaskDetailList
))
{
if
(
modeId
==
3
){
return
Result
.
failed
(
"手机app已有计划,不可重复生成"
);
int
status
=
chSrvTaskDetailList
.
stream
().
map
(
ChSrvTaskDetail:
:
getStatus
).
findFirst
().
orElse
((
short
)
0
);
if
(
status
==
1
||
status
==
4
)
{
return
Result
.
failed
(
"手机app已有任务,不可重复生成"
);
}
}
ChSrvTaskDetail
chSrvTaskDetail
=
chSrvTaskDetailList
.
get
(
0
);
taskDetailId
=
chSrvTaskDetail
.
getTaskDetailId
();
...
...
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