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
eddb81cb
Commit
eddb81cb
authored
Apr 04, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
定时失能人员退出
parent
2e95f607
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
ChSrvTaskDetailMapper.xml
...rvice/src/main/resources/mapper/ChSrvTaskDetailMapper.xml
+2
-0
SrvTaskMapper.xml
...rces/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
+2
-2
No files found.
account/account-service/src/main/resources/mapper/ChSrvTaskDetailMapper.xml
View file @
eddb81cb
...
...
@@ -22,8 +22,10 @@
left join ch_disable_info info on plan.DISAB_INFO_ID = info.DISAB_INFO_ID
left join CH_DISABLE_APPLY apply on apply.APPLY_ID = info.APPLY_ID
left join ch_srv_organ_emp emp on plan.emp_id = emp.emp_id
left join CH_SRV_TASK_DETAIL detail on detail.TASK_DETAIL_ID = plan.TASK_DETAIL_ID
left join CH_SRV_ORGAN organ on organ.SRV_ORGAN_ID = plan.SRV_ORGAN_ID
<where>
<![CDATA[ detail.STATUS<>3 ]]>
<if
test=
"req.status != null and req.status != ''"
>
and plan.IS_STATUS = #{req.status}
</if>
...
...
governance/src/main/resources/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
View file @
eddb81cb
...
...
@@ -222,8 +222,8 @@
select max(t.SRV_TASK_ID) srvTaskId,max(program.PROGRAM_ID) programId,info.REAL_NAME,t.SRV_EMP_ID from CH_SRV_TASK t
left join CH_DISABLE_INFO info on t.DISAB_INFO_ID = info.DISAB_INFO_ID
left join CH_SRV_PROGRAM program on program.program_id = t.program_id
where
<![CDATA[ t.SRV_DATE < sysdate
and
(info.EXIT_TIME >
sysdate or info.EXIT_TIME is null)
where
<![CDATA[ t.SRV_DATE < sysdate
-- and
(info.EXIT_TIME >
sysdate or info.EXIT_TIME is null)
and sysdate
< program.PROGRAM_EDN_DATE
and
program.PROG_STATUS
<
>
'2' and t.STATUS
<
>'2'
group by info.REAL_NAME,t.SRV_EMP_ID ]]>
...
...
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