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
df4fb86f
Commit
df4fb86f
authored
Mar 02, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务方案服务公示结束后才能展
parent
1f8ce9ac
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
24 deletions
+13
-24
ChDisabAccountsDetailMapper.xml
...src/main/resources/mapper/ChDisabAccountsDetailMapper.xml
+6
-9
ChSrvTaskDetailMapper.xml
...rvice/src/main/resources/mapper/ChSrvTaskDetailMapper.xml
+1
-1
DisableController.java
...n/java/com/hungraim/ltc/controller/DisableController.java
+1
-10
DisableInfoMapper.xml
...y-service/src/main/resources/mapper/DisableInfoMapper.xml
+2
-2
SrvTaskServiceImpl.java
...graim/ltc/governance/service/impl/SrvTaskServiceImpl.java
+1
-0
SrvSend.xml
.../resources/com/hungraim/ltc/governance/mapper/SrvSend.xml
+1
-0
SrvTaskScheduledServiceImpl.java
.../ltc/system/service/impl/SrvTaskScheduledServiceImpl.java
+1
-2
No files found.
account/account-service/src/main/resources/mapper/ChDisabAccountsDetailMapper.xml
View file @
df4fb86f
...
@@ -51,15 +51,12 @@
...
@@ -51,15 +51,12 @@
<select
id=
"queryNursingRecords"
resultType=
"com.hungraim.ltc.pojo.entity.account.NursingRecordsRespVO"
>
<select
id=
"queryNursingRecords"
resultType=
"com.hungraim.ltc.pojo.entity.account.NursingRecordsRespVO"
>
select organ.SRV_ORGAN_NAME srvOrganName,
select organ.SRV_ORGAN_NAME srvOrganName,
detail.MODE_NAME modeName,
DECODE(plan.MODE_ID, '1','医疗','2', '养老','3','上门', '4', '异地') modeName,
to_char(item.FCD,'yyyy-MM-dd HH:mm:ss') executionTime,
to_char(plan.CREATION_TIME,'yyyy-MM-dd HH24:mi:ss') executionTime,
service.SERVICE_TYPE_DETAILED_NAME itemName
plan.item_name itemName
from CH_DISAB_ACCOUNTS_DETAIL detail
from CH_SRV_PLAN plan
left join CH_SRV_TASK_FINISH_ITEM item on detail.TASK_DETAIL_ID = item.TASK_DETAIL_ID
left join CH_SRV_ORGAN organ on organ.SRV_ORGAN_ID = plan.SRV_ORGAN_ID
left join CH_SRV_ORGAN organ on organ.SRV_ORGAN_ID = detail.SRV_ORGAN_ID
where plan.TASK_DETAIL_ID = #{taskDetailId} and plan.IS_STATUS ='4'
LEFT JOIN CH_SRV_ORGAN_PROJECT CSOP ON CSOP.PROJECT_ID = item.ITEM_ID
left join CH_SERVICE_TYPE_DETAILED service on service.SERVICE_TYPE_DETAILED_ID = CSOP.ITEM_NAME
where detail.TASK_DETAIL_ID = #{taskDetailId}
</select>
</select>
...
...
account/account-service/src/main/resources/mapper/ChSrvTaskDetailMapper.xml
View file @
df4fb86f
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<update
id=
"updateSrvPlanById"
>
<update
id=
"updateSrvPlanById"
>
update CH_SRV_PLAN plan set plan.is_status= '4' where plan.plan_id = #{planId}
update CH_SRV_PLAN plan set plan.is_status= '4'
,plan.creation_time=sysdate
where plan.plan_id = #{planId}
</update>
</update>
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/controller/DisableController.java
View file @
df4fb86f
...
@@ -107,16 +107,7 @@ public class DisableController {
...
@@ -107,16 +107,7 @@ public class DisableController {
List
<
ChSrvOrgan
>
chFndSrvModes
=
disableService
.
srvOrganList
(
String
.
valueOf
(
organId
),
srvOrganId
,
false
);
List
<
ChSrvOrgan
>
chFndSrvModes
=
disableService
.
srvOrganList
(
String
.
valueOf
(
organId
),
srvOrganId
,
false
);
return
Result
.
success
(
chFndSrvModes
);
return
Result
.
success
(
chFndSrvModes
);
}
}
/**
* 查询机构意向服务机构
*
* @param
*/
@RequestMapping
(
"/srvOrganList2"
)
public
Result
<
List
<
ChSrvOrgan
>>
srvOrganList2
(
String
organId
)
{
List
<
ChSrvOrgan
>
chFndSrvModes
=
disableService
.
srvOrganList2
(
String
.
valueOf
(
organId
),
false
);
return
Result
.
success
(
chFndSrvModes
);
}
/**
/**
* 查询意向服务机构
* 查询意向服务机构
...
...
apply/apply-service/src/main/resources/mapper/DisableInfoMapper.xml
View file @
df4fb86f
...
@@ -27,8 +27,8 @@
...
@@ -27,8 +27,8 @@
to_char(T2.EXIT_TIME,'yyyy-MM-dd') exitTime,
to_char(T2.EXIT_TIME,'yyyy-MM-dd') exitTime,
--服务方案起始日
--服务方案起始日
--服务方案终止日
--服务方案终止日
to_char(T1.PROGRAM_DATE,'yyyy-MM-dd HH
:mm
:ss') programDate,
to_char(T1.PROGRAM_DATE,'yyyy-MM-dd HH
24:mi
:ss') programDate,
to_char(T1.PROGRAM_EDN_DATE,'yyyy-MM-dd HH
:mm
:ss') programEdnDate,
to_char(T1.PROGRAM_EDN_DATE,'yyyy-MM-dd HH
24:mi
:ss') programEdnDate,
T2.EXIT_FLAG exitFlag,
T2.EXIT_FLAG exitFlag,
T2.EXIT_REASON_ID exitReasonId
T2.EXIT_REASON_ID exitReasonId
FROM CH_DISABLE_INFO T2
FROM CH_DISABLE_INFO T2
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/impl/SrvTaskServiceImpl.java
View file @
df4fb86f
...
@@ -215,6 +215,7 @@ public class SrvTaskServiceImpl implements SrvTaskService {
...
@@ -215,6 +215,7 @@ public class SrvTaskServiceImpl implements SrvTaskService {
int
chSrvTaskDetailCount
=
chSrvTaskDetailMapper
int
chSrvTaskDetailCount
=
chSrvTaskDetailMapper
.
getSrvTaskDetail
(
String
.
valueOf
(
srvTaskId
),
nextDay
);
.
getSrvTaskDetail
(
String
.
valueOf
(
srvTaskId
),
nextDay
);
if
(
chSrvTaskDetailCount
>
0
)
{
if
(
chSrvTaskDetailCount
>
0
)
{
log
.
info
(
"{},已经有计划任务了"
,
nextDay
);
return
;
return
;
}
}
ChSrvTaskDetail
chSrvTaskDetail
=
new
ChSrvTaskDetail
();
ChSrvTaskDetail
chSrvTaskDetail
=
new
ChSrvTaskDetail
();
...
...
governance/src/main/resources/com/hungraim/ltc/governance/mapper/SrvSend.xml
View file @
df4fb86f
...
@@ -45,6 +45,7 @@
...
@@ -45,6 +45,7 @@
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
<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>
...
...
system/system-admin-service/src/main/java/com/hungraim/ltc/system/service/impl/SrvTaskScheduledServiceImpl.java
View file @
df4fb86f
...
@@ -19,9 +19,8 @@ import org.springframework.stereotype.Service;
...
@@ -19,9 +19,8 @@ import org.springframework.stereotype.Service;
public
class
SrvTaskScheduledServiceImpl
{
public
class
SrvTaskScheduledServiceImpl
{
private
final
SrvTaskFeignService
srvTaskFeignService
;
private
final
SrvTaskFeignService
srvTaskFeignService
;
// 表示每天3点5分执行
@Scheduled
(
cron
=
"30 1
0 17
* * ?"
)
@Scheduled
(
cron
=
"30 1
8 20
* * ?"
)
public
void
timeAllocationSrvTask
()
{
public
void
timeAllocationSrvTask
()
{
log
.
info
(
"timeAllocationSrvTask========start"
);
log
.
info
(
"timeAllocationSrvTask========start"
);
Result
result
=
srvTaskFeignService
.
timeAllocationSrvTask
();
Result
result
=
srvTaskFeignService
.
timeAllocationSrvTask
();
...
...
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