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
b57407d7
Commit
b57407d7
authored
May 17, 2021
by
zhangch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务方式接口修改,服务方式接口调试
parent
7b9703b1
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
102 additions
and
36 deletions
+102
-36
DisableController.java
...n/java/com/hungraim/ltc/controller/DisableController.java
+3
-6
SrvModeMapper.java
...ice/src/main/java/com/hungraim/ltc/dao/SrvModeMapper.java
+21
-0
DisableService.java
...rc/main/java/com/hungraim/ltc/service/DisableService.java
+2
-5
DisableServiceImpl.java
...ava/com/hungraim/ltc/service/impl/DisableServiceImpl.java
+4
-3
ChDisableApplyMapper.xml
...ervice/src/main/resources/mapper/ChDisableApplyMapper.xml
+4
-4
SrvModeMapper.xml
...apply-service/src/main/resources/mapper/SrvModeMapper.xml
+12
-0
SrvModeVo.java
...main/java/com/hungraim/ltc/pojo/vo/disable/SrvModeVo.java
+12
-0
NursingServiceItemsController.java
.../governance/controller/NursingServiceItemsController.java
+22
-8
NursingServiceItemsService.java
...im/ltc/governance/service/NursingServiceItemsService.java
+8
-0
NursingServiceItemsServiceImpl.java
...vernance/service/impl/NursingServiceItemsServiceImpl.java
+5
-1
ChSrvProgramMapper.xml
...com/hungraim/ltc/governance/mapper/ChSrvProgramMapper.xml
+7
-7
SrvTaskMapper.xml
...rces/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
+2
-2
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/controller/DisableController.java
View file @
b57407d7
...
@@ -3,10 +3,7 @@ package com.hungraim.ltc.controller;
...
@@ -3,10 +3,7 @@ package com.hungraim.ltc.controller;
import
cn.hutool.core.util.StrUtil
;
import
cn.hutool.core.util.StrUtil
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.pojo.entity.disable.*
;
import
com.hungraim.ltc.pojo.entity.disable.*
;
import
com.hungraim.ltc.pojo.vo.disable.DisableExamineInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.*
;
import
com.hungraim.ltc.pojo.vo.disable.DisableInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.vo.disable.DistrictTreeVo
;
import
com.hungraim.ltc.service.DisableService
;
import
com.hungraim.ltc.service.DisableService
;
import
com.hungraim.ltc.util.Result
;
import
com.hungraim.ltc.util.Result
;
import
com.hungraim.ltc.util.ResultCode
;
import
com.hungraim.ltc.util.ResultCode
;
...
@@ -79,8 +76,8 @@ public class DisableController {
...
@@ -79,8 +76,8 @@ public class DisableController {
* 查询所有服务方式
* 查询所有服务方式
*/
*/
@RequestMapping
(
"/fndSrvMode"
)
@RequestMapping
(
"/fndSrvMode"
)
public
Result
<
List
<
ChFndSrvMode
>>
fnd
SrvMode
()
{
public
Result
cfg
SrvMode
()
{
List
<
ChFndSrvMode
>
fndSrvModes
=
disableService
.
fnd
SrvModeList
();
List
<
SrvModeVo
>
fndSrvModes
=
disableService
.
cfg
SrvModeList
();
return
Result
.
success
(
fndSrvModes
);
return
Result
.
success
(
fndSrvModes
);
}
}
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/dao/SrvModeMapper.java
0 → 100644
View file @
b57407d7
package
com
.
hungraim
.
ltc
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.SysConfig.ChCfgSrvMode
;
import
com.hungraim.ltc.pojo.vo.disable.SrvModeVo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
import
java.util.List
;
@Mapper
@Repository
public
interface
SrvModeMapper
extends
BaseMapper
<
ChCfgSrvMode
>
{
/**
* 查询全部服务方式
* @return 返回所有服务方式
*/
List
<
SrvModeVo
>
selectAll
();
}
\ No newline at end of file
apply/apply-service/src/main/java/com/hungraim/ltc/service/DisableService.java
View file @
b57407d7
...
@@ -2,10 +2,7 @@ package com.hungraim.ltc.service;
...
@@ -2,10 +2,7 @@ package com.hungraim.ltc.service;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.pojo.entity.disable.*
;
import
com.hungraim.ltc.pojo.entity.disable.*
;
import
com.hungraim.ltc.pojo.vo.disable.DisableExamineInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.*
;
import
com.hungraim.ltc.pojo.vo.disable.DisableInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.vo.disable.DistrictTreeVo
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
import
java.util.List
;
...
@@ -48,7 +45,7 @@ public interface DisableService {
...
@@ -48,7 +45,7 @@ public interface DisableService {
/**
/**
* 查询所有服务方式
* 查询所有服务方式
*/
*/
List
<
ChFndSrvMode
>
fnd
SrvModeList
();
List
<
SrvModeVo
>
cfg
SrvModeList
();
/**
/**
* 查询机构下所有护理机构
* 查询机构下所有护理机构
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/DisableServiceImpl.java
View file @
b57407d7
...
@@ -29,7 +29,7 @@ public class DisableServiceImpl implements DisableService {
...
@@ -29,7 +29,7 @@ public class DisableServiceImpl implements DisableService {
@Autowired
@Autowired
private
FndStreetMapper
fndStreetMapper
;
private
FndStreetMapper
fndStreetMapper
;
@Autowired
@Autowired
private
FndSrvModeMapper
fndS
rvModeMapper
;
private
SrvModeMapper
s
rvModeMapper
;
@Autowired
@Autowired
private
SrvOrganMapper
srvOrganMapper
;
private
SrvOrganMapper
srvOrganMapper
;
@Autowired
@Autowired
...
@@ -182,8 +182,9 @@ public class DisableServiceImpl implements DisableService {
...
@@ -182,8 +182,9 @@ public class DisableServiceImpl implements DisableService {
}
}
@Override
@Override
public
List
<
ChFndSrvMode
>
fndSrvModeList
()
{
public
List
<
SrvModeVo
>
cfgSrvModeList
()
{
return
fndSrvModeMapper
.
selectList
(
new
QueryWrapper
<>());
return
srvModeMapper
.
selectAll
();
}
}
@Override
@Override
...
...
apply/apply-service/src/main/resources/mapper/ChDisableApplyMapper.xml
View file @
b57407d7
...
@@ -18,14 +18,14 @@
...
@@ -18,14 +18,14 @@
a.OPER_CERTI_CODE operCertiCode,
a.OPER_CERTI_CODE operCertiCode,
a.tel tel,
a.tel tel,
a.fixed_tel fixedTel,
a.fixed_tel fixedTel,
m.
SRV_
MODE_NAME srvModeName,
m.MODE_NAME srvModeName,
(SELECT DISE_TYPE_CODE FROM CH_FND_DISEASE_TYPE c WHERE a.DISE_TYPE_S = c.DISE_TYPE_ID) diseTypeS,
(SELECT DISE_TYPE_CODE FROM CH_FND_DISEASE_TYPE c WHERE a.DISE_TYPE_S = c.DISE_TYPE_ID) diseTypeS,
a.eff_time effTime,
a.eff_time effTime,
a.data_from dataFrom,
a.data_from dataFrom,
a.APPLY_STATUS applyStatus
a.APPLY_STATUS applyStatus
from CH_DISABLE_APPLY a
from CH_DISABLE_APPLY a
LEFT JOIN CH_FND_ORGAN o ON a.organ_id = o.ORGAN_ID
LEFT JOIN CH_FND_ORGAN o ON a.organ_id = o.ORGAN_ID
LEFT JOIN CH_
FND_SRV_MODE m ON a.srv_mode_id = m.SRV_
MODE_ID
LEFT JOIN CH_
CFG_SRV_MODE m ON a.srv_mode_id = m.
MODE_ID
LEFT JOIN CH_SRV_ORGAN s ON a.SRV_ORGAN_ID = s.SRV_ORGAN_ID
LEFT JOIN CH_SRV_ORGAN s ON a.SRV_ORGAN_ID = s.SRV_ORGAN_ID
<where>
<where>
<if
test=
"organIds != null"
>
<if
test=
"organIds != null"
>
...
@@ -154,7 +154,7 @@
...
@@ -154,7 +154,7 @@
--评定完成时间
--评定完成时间
task.finish_time finishTime,
task.finish_time finishTime,
--申请服务方式
--申请服务方式
mode1.
srv_mode_name
srvModeName,
mode1.
mode_name srvModeName
srvModeName,
--接受服务地址
--接受服务地址
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.acpt_srv_provincial = dis.DISTRICT_CODE) acptSrvProvincial,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.acpt_srv_provincial = dis.DISTRICT_CODE) acptSrvProvincial,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.acpt_srv_city = dis.DISTRICT_CODE) acptSrvCity,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE disable.acpt_srv_city = dis.DISTRICT_CODE) acptSrvCity,
...
@@ -163,7 +163,7 @@
...
@@ -163,7 +163,7 @@
left join ch_apr_report report on disable.last_task_id = report.task_id
left join ch_apr_report report on disable.last_task_id = report.task_id
left join ch_apr_task task on disable.last_task_id = task.task_id
left join ch_apr_task task on disable.last_task_id = task.task_id
left join ch_disable_apply apply on disable.apply_id = apply.apply_id
left join ch_disable_apply apply on disable.apply_id = apply.apply_id
left join ch_
fnd_srv_mode mode1 on apply.srv_mode_id = mode1.srv_
mode_id
left join ch_
cfg_srv_mode mode1 on apply.srv_mode_id = mode1.
mode_id
where disable.disab_info_id = #{disableInfoId}
where disable.disab_info_id = #{disableInfoId}
</select>
</select>
...
...
apply/apply-service/src/main/resources/mapper/SrvModeMapper.xml
0 → 100644
View file @
b57407d7
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hungraim.ltc.dao.SrvModeMapper"
>
<select
id=
"selectAll"
resultType=
"com.hungraim.ltc.pojo.vo.disable.SrvModeVo"
>
SELECT MODE_ID srvModeId,
MODE_NAME srvModeName
FROM CH_CFG_SRV_MODE
</select>
</mapper>
\ No newline at end of file
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/disable/SrvModeVo.java
0 → 100644
View file @
b57407d7
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
disable
;
import
lombok.Data
;
/**
* 服务方式vo
*/
@Data
public
class
SrvModeVo
{
private
Integer
srvModeId
;
private
String
srvModeName
;
}
governance/src/main/java/com/hungraim/ltc/governance/controller/NursingServiceItemsController.java
View file @
b57407d7
...
@@ -120,19 +120,33 @@ public class NursingServiceItemsController {
...
@@ -120,19 +120,33 @@ public class NursingServiceItemsController {
/**
/**
* 服务方式定义配置
* 服务方式定义配置
*
*
* @param modeId
服务方式定义id(如果为null就是新增,否则就是修改)
* @param modeId 服务方式定义id(如果为null就是新增,否则就是修改)
* @param modeName
服务方式定义列表 服务方式
* @param modeName 服务方式定义列表 服务方式
* @param
modeRemark
服务方式定义列表 备注
* @param
remark
服务方式定义列表 备注
*/
*/
@RequestMapping
(
"/modeConfig"
)
@RequestMapping
(
"/modeConfig"
)
public
Result
<
Object
>
modeConfig
(
String
modeId
,
String
modeName
,
String
modeR
emark
)
{
public
Result
<
Object
>
modeConfig
(
String
modeId
,
String
modeName
,
String
r
emark
)
{
//参数校验
//参数校验
if
(
StringUtils
.
isBlank
(
modeId
)
if
(
StringUtils
.
isBlank
(
modeName
))
{
||
StringUtils
.
isBlank
(
modeName
)
)
{
return
Result
.
failed
(
"参数异常!"
);
return
Result
.
failed
(
"参数异常!"
);
}
}
nursingServiceItemsService
.
modeConfig
(
modeId
,
modeName
,
modeRemark
);
nursingServiceItemsService
.
modeConfig
(
modeId
,
modeName
,
remark
);
return
Result
.
success
();
}
/**
* 删除服务方式数据
*
* @param modeId 服务方式id
* @return 返回执行结果
*/
@DeleteMapping
(
"/srvModel"
)
public
Result
deleteSrvModel
(
Long
modeId
)
{
if
(
modeId
==
null
||
modeId
==
0
)
{
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
nursingServiceItemsService
.
deleteSrvModel
(
modeId
);
return
Result
.
success
();
return
Result
.
success
();
}
}
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/NursingServiceItemsService.java
View file @
b57407d7
...
@@ -30,4 +30,12 @@ public interface NursingServiceItemsService {
...
@@ -30,4 +30,12 @@ public interface NursingServiceItemsService {
* @param disableLevelId 失能等级id
* @param disableLevelId 失能等级id
*/
*/
void
delectDisableLevel
(
Long
disableLevelId
);
void
delectDisableLevel
(
Long
disableLevelId
);
/**
* 删除服务方式数据
*
* @param modeId 服务方式id
* @return 返回执行结果
*/
void
deleteSrvModel
(
Long
modeId
);
}
}
governance/src/main/java/com/hungraim/ltc/governance/service/impl/NursingServiceItemsServiceImpl.java
View file @
b57407d7
...
@@ -42,8 +42,8 @@ public class NursingServiceItemsServiceImpl implements NursingServiceItemsServic
...
@@ -42,8 +42,8 @@ public class NursingServiceItemsServiceImpl implements NursingServiceItemsServic
public
void
organProjectConfig
(
ChSrvOrganProject
project
)
{
public
void
organProjectConfig
(
ChSrvOrganProject
project
)
{
if
(
project
.
getProjectId
()
!=
null
)
{
if
(
project
.
getProjectId
()
!=
null
)
{
project
.
setEffTime
(
new
Date
());
//创建时间
project
.
setEffTime
(
new
Date
());
//创建时间
chSrvOrganProjectMapper
.
updateById
(
project
);
}
else
{
}
else
{
chSrvOrganProjectMapper
.
updateById
(
project
);
chSrvOrganProjectMapper
.
insert
(
project
);
chSrvOrganProjectMapper
.
insert
(
project
);
}
}
}
}
...
@@ -97,4 +97,8 @@ public class NursingServiceItemsServiceImpl implements NursingServiceItemsServic
...
@@ -97,4 +97,8 @@ public class NursingServiceItemsServiceImpl implements NursingServiceItemsServic
disableLevelMapper
.
deleteById
(
disableLevelId
);
disableLevelMapper
.
deleteById
(
disableLevelId
);
}
}
@Override
public
void
deleteSrvModel
(
Long
modeId
)
{
srvModeMapper
.
deleteById
(
modeId
);
}
}
}
governance/src/main/resources/com/hungraim/ltc/governance/mapper/ChSrvProgramMapper.xml
View file @
b57407d7
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<result
column=
"ACPT_ADDRESS"
property=
"acptAddress"
/>
<result
column=
"ACPT_ADDRESS"
property=
"acptAddress"
/>
<result
column=
"DISABLE_LEVEL_NAME"
property=
"realLevel"
/>
<result
column=
"DISABLE_LEVEL_NAME"
property=
"realLevel"
/>
<result
column=
"FINISH_TIME"
property=
"assessDate"
/>
<result
column=
"FINISH_TIME"
property=
"assessDate"
/>
<result
column=
"
SRV_
MODE_NAME"
property=
"svrModelName"
/>
<result
column=
"MODE_NAME"
property=
"svrModelName"
/>
<result
column=
"SRV_ORGAN_NAME"
property=
"svrOrganName"
/>
<result
column=
"SRV_ORGAN_NAME"
property=
"svrOrganName"
/>
<result
column=
"PROG_STATUS"
property=
"progStatus"
/>
<result
column=
"PROG_STATUS"
property=
"progStatus"
/>
<result
column=
"PROGRAM_EDN_DATE"
property=
"programEndDate"
/>
<result
column=
"PROGRAM_EDN_DATE"
property=
"programEndDate"
/>
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
T2.ACPT_ADDRESS,
T2.ACPT_ADDRESS,
T6.DISABLE_LEVEL_NAME,
T6.DISABLE_LEVEL_NAME,
T4.FINISH_TIME,
T4.FINISH_TIME,
T7.
SRV_
MODE_NAME,
T7.MODE_NAME,
T5.SRV_ORGAN_NAME,
T5.SRV_ORGAN_NAME,
T1.PROG_STATUS,
T1.PROG_STATUS,
T1.PROGRAM_DATE,
T1.PROGRAM_DATE,
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
T1.EFF_TIME
T1.EFF_TIME
FROM CH_SRV_PROGRAM T1
FROM CH_SRV_PROGRAM T1
INNER JOIN CH_DISABLE_INFO T2 ON T1.DISAB_INFO_ID = T2.DISAB_INFO_ID
INNER JOIN CH_DISABLE_INFO T2 ON T1.DISAB_INFO_ID = T2.DISAB_INFO_ID
LEFT JOIN CH_
FND_SRV_MODE T7 ON T2.SRV_MODE_ID = T7.SRV_
MODE_ID
LEFT JOIN CH_
CFG_SRV_MODE T7 ON T2.SRV_MODE_ID = T7.
MODE_ID
LEFT JOIN CH_APR_REPORT T3 ON T2.LAST_TASK_ID = T3.TASK_ID
LEFT JOIN CH_APR_REPORT T3 ON T2.LAST_TASK_ID = T3.TASK_ID
LEFT JOIN CH_CFG_SRV_DISABLE_LEVEL T6 ON T3.DISABLE_LEVEL_ID = T6.DISABLE_LEVEL_ID
LEFT JOIN CH_CFG_SRV_DISABLE_LEVEL T6 ON T3.DISABLE_LEVEL_ID = T6.DISABLE_LEVEL_ID
LEFT JOIN CH_APR_TASK T4 ON T3.TASK_ID = T4.TASK_ID
LEFT JOIN CH_APR_TASK T4 ON T3.TASK_ID = T4.TASK_ID
...
@@ -92,14 +92,14 @@
...
@@ -92,14 +92,14 @@
T2.ACPT_ADDRESS,
T2.ACPT_ADDRESS,
T6.DISABLE_LEVEL_NAME,
T6.DISABLE_LEVEL_NAME,
T4.FINISH_TIME,
T4.FINISH_TIME,
T7.
SRV_
MODE_NAME,
T7.MODE_NAME,
T5.SRV_ORGAN_NAME,
T5.SRV_ORGAN_NAME,
NULL PROG_STATUS,
NULL PROG_STATUS,
T1.ALLOT_TIME PROGRAM_DATE,
T1.ALLOT_TIME PROGRAM_DATE,
T1.STOP_TIME PROGRAM_EDN_DATE
T1.STOP_TIME PROGRAM_EDN_DATE
FROM CH_SRV_SEND T1
FROM CH_SRV_SEND T1
INNER JOIN CH_DISABLE_INFO T2 ON T1.DISAB_INFO_ID = T2.DISAB_INFO_ID
INNER JOIN CH_DISABLE_INFO T2 ON T1.DISAB_INFO_ID = T2.DISAB_INFO_ID
LEFT JOIN CH_
FND_SRV_MODE T7 ON T2.SRV_MODE_ID = T7.SRV_
MODE_ID
LEFT JOIN CH_
CFG_SRV_MODE T7 ON T2.SRV_MODE_ID = T7.
MODE_ID
LEFT JOIN CH_APR_REPORT T3 ON T2.LAST_TASK_ID = T3.TASK_ID
LEFT JOIN CH_APR_REPORT T3 ON T2.LAST_TASK_ID = T3.TASK_ID
LEFT JOIN CH_CFG_SRV_DISABLE_LEVEL T6 ON T3.DISABLE_LEVEL_ID = T6.DISABLE_LEVEL_ID
LEFT JOIN CH_CFG_SRV_DISABLE_LEVEL T6 ON T3.DISABLE_LEVEL_ID = T6.DISABLE_LEVEL_ID
LEFT JOIN CH_APR_TASK T4 ON T3.TASK_ID = T4.TASK_ID
LEFT JOIN CH_APR_TASK T4 ON T3.TASK_ID = T4.TASK_ID
...
@@ -125,13 +125,13 @@
...
@@ -125,13 +125,13 @@
T2.ACPT_ADDRESS acptAddress,
T2.ACPT_ADDRESS acptAddress,
T6.DISABLE_LEVEL_NAME realLevel,
T6.DISABLE_LEVEL_NAME realLevel,
T4.FINISH_TIME assessDate,
T4.FINISH_TIME assessDate,
T7.
SRV_MODE_NAME
svrModelName,
T7.
MODE_NAME
svrModelName,
T5.SRV_ORGAN_NAME svrOrganName,
T5.SRV_ORGAN_NAME svrOrganName,
T1.PROG_STATUS progStatus,
T1.PROG_STATUS progStatus,
T1.EFF_TIME effTime
T1.EFF_TIME effTime
FROM CH_SRV_PROGRAM T1
FROM CH_SRV_PROGRAM T1
INNER JOIN CH_DISABLE_INFO T2 ON T1.DISAB_INFO_ID = T2.DISAB_INFO_ID
INNER JOIN CH_DISABLE_INFO T2 ON T1.DISAB_INFO_ID = T2.DISAB_INFO_ID
LEFT JOIN CH_
FND_SRV_MODE T7 ON T2.SRV_MODE_ID = T7.SRV_
MODE_ID
LEFT JOIN CH_
CFG_SRV_MODE T7 ON T2.SRV_MODE_ID = T7.
MODE_ID
LEFT JOIN CH_APR_REPORT T3 ON T2.LAST_TASK_ID = T3.TASK_ID
LEFT JOIN CH_APR_REPORT T3 ON T2.LAST_TASK_ID = T3.TASK_ID
LEFT JOIN CH_CFG_SRV_DISABLE_LEVEL T6 ON T3.DISABLE_LEVEL_ID = T6.DISABLE_LEVEL_ID
LEFT JOIN CH_CFG_SRV_DISABLE_LEVEL T6 ON T3.DISABLE_LEVEL_ID = T6.DISABLE_LEVEL_ID
LEFT JOIN CH_APR_TASK T4 ON T3.TASK_ID = T4.TASK_ID
LEFT JOIN CH_APR_TASK T4 ON T3.TASK_ID = T4.TASK_ID
...
...
governance/src/main/resources/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
View file @
b57407d7
...
@@ -95,7 +95,7 @@
...
@@ -95,7 +95,7 @@
--评定完成日期
--评定完成日期
aprtask.finish_time finishTime,
aprtask.finish_time finishTime,
--服务方式
--服务方式
mode1.
srv_mode_name
srvModeName,
mode1.
mode_name
srvModeName,
--护理机构名称
--护理机构名称
organ.srv_organ_name srvOrganName,
organ.srv_organ_name srvOrganName,
--护理服务人员
--护理服务人员
...
@@ -111,7 +111,7 @@
...
@@ -111,7 +111,7 @@
left join ch_apr_report report on aprtask.task_id = report.task_id--评定报告
left join ch_apr_report report on aprtask.task_id = report.task_id--评定报告
left join ch_srv_program program on task.program_id = program.program_id--服务方案
left join ch_srv_program program on task.program_id = program.program_id--服务方案
left join ch_srv_organ organ on program.srv_organ_id = organ.srv_organ_id--服务机构
left join ch_srv_organ organ on program.srv_organ_id = organ.srv_organ_id--服务机构
left join ch_
fnd_srv_mode mode1 on program.srv_mode_id = mode1.srv_
mode_id--服务方式
left join ch_
cfg_srv_mode mode1 on program.srv_mode_id = mode1.
mode_id--服务方式
left join ch_srv_organ_emp emp on task.srv_emp_id = emp.emp_id--护理人员
left join ch_srv_organ_emp emp on task.srv_emp_id = emp.emp_id--护理人员
--失能等级
--失能等级
left join ch_cfg_srv_disable_level level1 on report.disable_level_id = level1.disable_level_id
left join ch_cfg_srv_disable_level level1 on report.disable_level_id = level1.disable_level_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