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
c5a0d709
Commit
c5a0d709
authored
Aug 17, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补卡审核
parent
4ce29477
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
SrvTaskServiceImpl.java
...graim/ltc/governance/service/impl/SrvTaskServiceImpl.java
+9
-0
No files found.
governance/src/main/java/com/hungraim/ltc/governance/service/impl/SrvTaskServiceImpl.java
View file @
c5a0d709
...
...
@@ -25,6 +25,7 @@ import com.hungraim.ltc.util.DateUtils;
import
com.hungraim.ltc.util.Result
;
import
lombok.AllArgsConstructor
;
import
lombok.extern.slf4j.Slf4j
;
import
oracle.sql.DATE
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
...
...
@@ -375,8 +376,16 @@ public class SrvTaskServiceImpl implements SrvTaskService {
chSrvTaskDetailDTO
.
setAuditRemark
(
auditingCardVO
.
getAuditRemark
());
chSrvTaskDetailDTO
.
setAuditDate
(
new
Date
());
chSrvTaskDetailDTO
.
setAuditor
(
auditingCardVO
.
getAuditor
());
if
(
auditingCardVO
.
getStatus
()
==
2
)
{
UpdateWrapper
updateWrapper
=
new
UpdateWrapper
();
updateWrapper
.
eq
(
"task_detail_id"
,
auditingCardVO
.
getTaskDetailId
());
updateWrapper
.
set
(
"is_status"
,
0
);
updateWrapper
.
set
(
"LCD"
,
new
DATE
());
chSrvPlanMapper
.
update
(
null
,
updateWrapper
);
}
int
result
=
chSrvTaskDetailMapper
.
updateById
(
chSrvTaskDetailDTO
);
if
(
result
>
0
){
return
Result
.
success
();
}
else
{
return
Result
.
failed
(
"补卡审核失败!"
);
...
...
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