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
6ab7e598
Commit
6ab7e598
authored
Mar 14, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务方案
parent
e204a5b6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
7 deletions
+8
-7
SrvTaskScheduledController.java
...ltc/governance/controller/SrvTaskScheduledController.java
+1
-1
SrvSend.xml
.../resources/com/hungraim/ltc/governance/mapper/SrvSend.xml
+5
-5
SrvTaskMapper.xml
...rces/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
+2
-1
No files found.
governance/src/main/java/com/hungraim/ltc/governance/controller/SrvTaskScheduledController.java
View file @
6ab7e598
...
@@ -21,7 +21,7 @@ public class SrvTaskScheduledController {
...
@@ -21,7 +21,7 @@ public class SrvTaskScheduledController {
@Autowired
@Autowired
private
SrvTaskService
srvTaskService
;
private
SrvTaskService
srvTaskService
;
@Scheduled
(
cron
=
"0
38 09
* * ?"
)
@Scheduled
(
cron
=
"0
18 21
* * ?"
)
public
void
timeAllocationSrvTask
()
{
public
void
timeAllocationSrvTask
()
{
log
.
info
(
"timeAllocationSrvTask========start"
);
log
.
info
(
"timeAllocationSrvTask========start"
);
srvTaskService
.
timeAllocationSrvTask
();
srvTaskService
.
timeAllocationSrvTask
();
...
...
governance/src/main/resources/com/hungraim/ltc/governance/mapper/SrvSend.xml
View file @
6ab7e598
...
@@ -42,13 +42,13 @@
...
@@ -42,13 +42,13 @@
ch_disable_info i
ch_disable_info i
LEFT JOIN ch_srv_send s ON s.disab_info_id = i.disab_info_id
LEFT JOIN ch_srv_send s ON s.disab_info_id = i.disab_info_id
LEFT JOIN ch_fnd_organ o ON i.organ_id = o.organ_id
LEFT JOIN ch_fnd_organ o ON i.organ_id = o.organ_id
LEFT JOIN
CH_APR_TASK
t ON i.disab_info_id = t.DISABLE_INFO_ID
LEFT JOIN
(select * from CH_APR_TASK where APR_TYPE =0)
t ON i.disab_info_id = t.DISABLE_INFO_ID
--
left join ch_apr_report report on t.task_id = report.task_id
left join ch_apr_report report on t.task_id = report.task_id
<where>
<where>
t.TASK_STATUS = 3 --and report.DISABLE_LEVEL_ID in ('3','4','5')
t.TASK_STATUS = 3
--and report.DISABLE_LEVEL_ID in ('3','4','5')
--
and sysdate
<![CDATA[ > ]]>
report.PUBLICITY_END_TIME
--and sysdate
<![CDATA[ > ]]>
report.PUBLICITY_END_TIME
and t.task_id in (select distinct TASK_ID from CH_APR_REPORT report where report.DISABLE_LEVEL_ID in ('3','4','5')
and t.task_id in (select distinct TASK_ID from CH_APR_REPORT report where report.DISABLE_LEVEL_ID in ('3','4','5')
and sysdate
<![CDATA[ > ]]>
report.PUBLICITY_END_TIME)
and sysdate
<![CDATA[ > ]]>
report.PUBLICITY_END_TIME)
<if
test=
"chSrvOrgan.organId != null and chSrvOrgan.organId != ''"
>
<if
test=
"chSrvOrgan.organId != null and chSrvOrgan.organId != ''"
>
AND o.organ_id = #{chSrvOrgan.organId}
AND o.organ_id = #{chSrvOrgan.organId}
</if>
</if>
...
...
governance/src/main/resources/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
View file @
6ab7e598
...
@@ -224,7 +224,7 @@
...
@@ -224,7 +224,7 @@
where
<![CDATA[ t.SRV_DATE < sysdate and
where
<![CDATA[ t.SRV_DATE < sysdate and
(info.EXIT_TIME >
sysdate or info.EXIT_TIME is null)
(info.EXIT_TIME >
sysdate or info.EXIT_TIME is null)
and sysdate
< program.PROGRAM_EDN_DATE
and sysdate
< program.PROGRAM_EDN_DATE
and
sysdate
>
report.PUBLICITY_END_TIME ]]>
and
sysdate
>
report.PUBLICITY_END_TIME
and program.PROG_STATUS
<
>'2'
]]>
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
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