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
7d9148bf
Commit
7d9148bf
authored
Apr 27, 2021
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询失能人员信息
parent
55aecbe2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
166 additions
and
43 deletions
+166
-43
DisableController.java
...n/java/com/hungraim/ltc/controller/DisableController.java
+15
-1
DisableApplyMapper.java
...rc/main/java/com/hungraim/ltc/dao/DisableApplyMapper.java
+4
-1
DisableService.java
...rc/main/java/com/hungraim/ltc/service/DisableService.java
+6
-17
DisableServiceImpl.java
...ava/com/hungraim/ltc/service/impl/DisableServiceImpl.java
+24
-7
ChDisableApplyMapper.xml
...ervice/src/main/resources/mapper/ChDisableApplyMapper.xml
+0
-0
DisableInfoVO.java
.../java/com/hungraim/ltc/pojo/vo/disable/DisableInfoVO.java
+65
-0
DisableVO.java
...main/java/com/hungraim/ltc/pojo/vo/disable/DisableVO.java
+0
-2
SrvTaskVO.java
...n/java/com/hungraim/ltc/pojo/vo/governance/SrvTaskVO.java
+28
-2
SrvTaskController.java
...hungraim/ltc/governance/controller/SrvTaskController.java
+4
-3
SrvTaskServiceImpl.java
...graim/ltc/governance/service/impl/SrvTaskServiceImpl.java
+0
-1
SrvTaskMapper.xml
...rces/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
+20
-9
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/controller/DisableController.java
View file @
7d9148bf
...
@@ -2,11 +2,12 @@ package com.hungraim.ltc.controller;
...
@@ -2,11 +2,12 @@ package com.hungraim.ltc.controller;
import
cn.hutool.core.util.StrUtil
;
import
cn.hutool.core.util.StrUtil
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.hungraim.ltc.pojo.entity.disable.*
;
import
com.hungraim.ltc.pojo.vo.disable.DisableExamineInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableExamineInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.vo.disable.DistrictTreeVo
;
import
com.hungraim.ltc.pojo.vo.disable.DistrictTreeVo
;
import
com.hungraim.ltc.service.DisableService
;
import
com.hungraim.ltc.service.DisableService
;
import
com.hungraim.ltc.pojo.entity.disable.*
;
import
com.hungraim.ltc.util.Result
;
import
com.hungraim.ltc.util.Result
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.commons.lang.StringUtils
;
...
@@ -246,5 +247,18 @@ public class DisableController {
...
@@ -246,5 +247,18 @@ public class DisableController {
return
Result
.
success
();
return
Result
.
success
();
}
}
/**
* 查询失能人员信息
*
* @param disableInfoId 失能人员id
*/
@RequestMapping
(
"/getDisableInfo"
)
public
Result
getDisableInfo
(
String
disableInfoId
)
{
if
(
StringUtils
.
isBlank
(
disableInfoId
))
{
return
Result
.
failed
(
"请求参数错误"
);
}
DisableInfoVO
disableInfoVO
=
disableService
.
getDisableInfo
(
disableInfoId
);
return
Result
.
success
(
disableInfoVO
);
}
}
}
apply/apply-service/src/main/java/com/hungraim/ltc/dao/DisableApplyMapper.java
View file @
7d9148bf
...
@@ -2,10 +2,11 @@ package com.hungraim.ltc.dao;
...
@@ -2,10 +2,11 @@ package com.hungraim.ltc.dao;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApply
;
import
com.hungraim.ltc.pojo.vo.disable.DisableExamineInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableExamineInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.vo.disable.ExamineRecord
;
import
com.hungraim.ltc.pojo.vo.disable.ExamineRecord
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApply
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
import
org.springframework.stereotype.Repository
;
...
@@ -39,4 +40,6 @@ public interface DisableApplyMapper extends BaseMapper<ChDisableApply> {
...
@@ -39,4 +40,6 @@ public interface DisableApplyMapper extends BaseMapper<ChDisableApply> {
DisableExamineInfoVO
selectDisableExamineInfoByApplyId
(
String
applyId
);
DisableExamineInfoVO
selectDisableExamineInfoByApplyId
(
String
applyId
);
List
<
ExamineRecord
>
listExamineRecordByApplyId
(
String
applyId
);
List
<
ExamineRecord
>
listExamineRecordByApplyId
(
String
applyId
);
DisableInfoVO
getDisableInfo
(
String
disableInfoId
);
}
}
apply/apply-service/src/main/java/com/hungraim/ltc/service/DisableService.java
View file @
7d9148bf
package
com
.
hungraim
.
ltc
.
service
;
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.vo.disable.DisableExamineInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableExamineInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.entity.disable.*
;
import
com.hungraim.ltc.pojo.vo.disable.DistrictTreeVo
;
import
com.hungraim.ltc.pojo.vo.disable.DistrictTreeVo
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -17,24 +18,10 @@ import java.util.List;
...
@@ -17,24 +18,10 @@ import java.util.List;
@Service
@Service
public
interface
DisableService
{
public
interface
DisableService
{
/**
* 查询所有资源对应的角色
*
* @param organId 适用机构代码
* @param districtProvincial 所在省
* @param districtCity 所在市
* @param districtArea 所在区域
* @param realName 失能人员姓名
* @param certiCode 失能人员身份证号码
* @param dataFrom 申请来源
* @param srvOrganId 护理机构
* @param pageNum 当前页
* @param pageSize 每页几条数据
* @return list
*/
Page
<
DisableVO
>
disableList
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
Page
<
DisableVO
>
disableList
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
dataFrom
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
dataFrom
,
String
srvOrgan
Id
,
int
pageNum
,
int
pageSize
);
String
srvOrgan
Name
,
int
pageNum
,
int
pageSize
);
/**
/**
* 失能审核信息详情
* 失能审核信息详情
...
@@ -105,4 +92,6 @@ public interface DisableService {
...
@@ -105,4 +92,6 @@ public interface DisableService {
* 查询所有疾病数据
* 查询所有疾病数据
*/
*/
List
<
ChFndDiseaseType
>
fndAllDisease
();
List
<
ChFndDiseaseType
>
fndAllDisease
();
DisableInfoVO
getDisableInfo
(
String
disableInfoId
);
}
}
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/DisableServiceImpl.java
View file @
7d9148bf
...
@@ -8,10 +8,7 @@ import com.hungraim.ltc.dao.*;
...
@@ -8,10 +8,7 @@ import com.hungraim.ltc.dao.*;
import
com.hungraim.ltc.pojo.entity.assessment.ChAprTask
;
import
com.hungraim.ltc.pojo.entity.assessment.ChAprTask
;
import
com.hungraim.ltc.pojo.entity.disable.*
;
import
com.hungraim.ltc.pojo.entity.disable.*
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChCfgPara
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChCfgPara
;
import
com.hungraim.ltc.pojo.vo.disable.DisableExamineInfoVO
;
import
com.hungraim.ltc.pojo.vo.disable.*
;
import
com.hungraim.ltc.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.vo.disable.DistrictTreeVo
;
import
com.hungraim.ltc.pojo.vo.disable.ExamineRecord
;
import
com.hungraim.ltc.service.DisableService
;
import
com.hungraim.ltc.service.DisableService
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.BeanUtils
;
...
@@ -68,17 +65,31 @@ public class DisableServiceImpl implements DisableService {
...
@@ -68,17 +65,31 @@ public class DisableServiceImpl implements DisableService {
}
}
}
}
/**
* 查询所有资源对应的角色
*
* @param organId 适用机构代码
* @param districtProvincial 所在省
* @param districtCity 所在市
* @param districtArea 所在区域
* @param realName 失能人员姓名
* @param certiCode 失能人员身份证号码
* @param dataFrom 申请来源
* @param srvOrganName 护理机构名称
* @param pageNum 当前页
* @param pageSize 每页几条数据
* @return list
*/
@Override
@Override
public
Page
<
DisableVO
>
disableList
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
public
Page
<
DisableVO
>
disableList
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
dataFrom
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
dataFrom
,
String
srvOrganName
,
int
page
,
int
pageSize
)
{
String
srvOrganName
,
int
page
Num
,
int
pageSize
)
{
// 没有organId参数的时候,这个集合就为null
// 没有organId参数的时候,这个集合就为null
List
<
String
>
organIds
=
null
;
List
<
String
>
organIds
=
null
;
if
(
StrUtil
.
isNotBlank
(
organId
))
{
if
(
StrUtil
.
isNotBlank
(
organId
))
{
organIds
=
Arrays
.
asList
(
organId
.
split
(
","
));
organIds
=
Arrays
.
asList
(
organId
.
split
(
","
));
}
}
return
disableApplyMapper
.
disableList
(
new
Page
<>(
page
,
pageSize
),
organIds
,
districtProvincial
,
return
disableApplyMapper
.
disableList
(
new
Page
<>(
page
Num
,
pageSize
),
organIds
,
districtProvincial
,
districtCity
,
districtArea
,
realName
,
certiCode
,
dataFrom
,
srvOrganName
);
districtCity
,
districtArea
,
realName
,
certiCode
,
dataFrom
,
srvOrganName
);
}
}
...
@@ -227,4 +238,9 @@ public class DisableServiceImpl implements DisableService {
...
@@ -227,4 +238,9 @@ public class DisableServiceImpl implements DisableService {
queryWrapper
.
eq
(
"IS_VALID"
,
"0"
);
queryWrapper
.
eq
(
"IS_VALID"
,
"0"
);
return
fndDiseaseTypeMapper
.
selectList
(
queryWrapper
);
return
fndDiseaseTypeMapper
.
selectList
(
queryWrapper
);
}
}
@Override
public
DisableInfoVO
getDisableInfo
(
String
disableInfoId
)
{
return
disableApplyMapper
.
getDisableInfo
(
disableInfoId
);
}
}
}
\ No newline at end of file
apply/apply-service/src/main/resources/mapper/ChDisableApplyMapper.xml
View file @
7d9148bf
This diff is collapsed.
Click to expand it.
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/disable/DisableInfoVO.java
0 → 100644
View file @
7d9148bf
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
disable
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 失能人员信息列表VO
*/
@Data
public
class
DisableInfoVO
implements
Serializable
{
/**
* 失能人员id
*/
private
String
disabInfoId
;
/**
* 姓名
*/
private
String
realName
;
/**
* 所在省市区
*/
private
String
districtProvincial
;
private
String
districtCity
;
private
String
districtArea
;
/**
* 手机号码
*/
private
String
tel
;
/**
* 性别
*/
private
String
gender
;
/**
* 诊断疾病
*/
private
String
disease
;
/**
* 家庭住址
*/
private
String
adressDistrictProvincial
;
private
String
adressDistrictCity
;
private
String
adressDistrictCode
;
/**
* 评定等级
*/
private
String
evaluateRating
;
/**
* 评定完成时间
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
finishTime
;
/**
* 申请服务方式
*/
private
String
srvModeName
;
/**
* 接受服务地址
*/
private
String
acptSrvProvincial
;
private
String
acptSrvCity
;
private
String
acptSrvArea
;
}
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/disable/DisableVO.java
View file @
7d9148bf
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
disable
;
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -11,7 +10,6 @@ import java.util.Date;
...
@@ -11,7 +10,6 @@ import java.util.Date;
* 失能人员信息列表VO
* 失能人员信息列表VO
*/
*/
@Data
@Data
@TableName
(
""
)
public
class
DisableVO
implements
Serializable
{
public
class
DisableVO
implements
Serializable
{
//id
//id
private
String
applyId
;
private
String
applyId
;
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/governance/SrvTaskVO.java
View file @
7d9148bf
...
@@ -13,6 +13,14 @@ import java.util.Date;
...
@@ -13,6 +13,14 @@ import java.util.Date;
@Data
@Data
public
class
SrvTaskVO
extends
PageInfo
implements
Serializable
{
public
class
SrvTaskVO
extends
PageInfo
implements
Serializable
{
/**
/**
* 服务计划id
*/
private
Integer
srvTaskId
;
/**
* 失能人员id
*/
private
Integer
disabInfoId
;
/**
* 所在省市
* 所在省市
*/
*/
private
String
districtProvincial
;
private
String
districtProvincial
;
...
@@ -40,12 +48,16 @@ public class SrvTaskVO extends PageInfo implements Serializable {
...
@@ -40,12 +48,16 @@ public class SrvTaskVO extends PageInfo implements Serializable {
*/
*/
private
String
disease
;
private
String
disease
;
/**
/**
* 失能等级
*/
private
String
disableLevelName
;
/**
* 接受服务地址
* 接受服务地址
*/
*/
private
String
acptSrvProvincial
;
private
String
acptSrvProvincial
;
private
String
acptSrvCity
;
private
String
acptSrvCity
;
private
String
acptSrvArea
;
private
String
acptSrvArea
;
private
String
acptSrv
RoadType
;
private
String
acptSrv
Street
;
/**
/**
* 评定等级
* 评定等级
*/
*/
...
@@ -73,7 +85,21 @@ public class SrvTaskVO extends PageInfo implements Serializable {
...
@@ -73,7 +85,21 @@ public class SrvTaskVO extends PageInfo implements Serializable {
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
effTime
;
private
Date
effTime
;
/**
/**
* 任务状态
* 任务状态
(服务计划状态)
*/
*/
private
String
status
;
private
String
status
;
/**
* 服务方案状态
*/
private
String
progStatus
;
/**
* 服务方案起始日
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
programEffTime
;
/**
* 服务方案终止日
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
programEndTime
;
}
}
governance/src/main/java/com/hungraim/ltc/governance/controller/SrvTaskController.java
View file @
7d9148bf
...
@@ -12,6 +12,8 @@ import java.util.List;
...
@@ -12,6 +12,8 @@ import java.util.List;
/**
/**
* 服务计划Controller
* 服务计划Controller
*
* @author czz
*/
*/
@RestController
@RestController
@RequestMapping
(
"/api.governance/srvTask"
)
@RequestMapping
(
"/api.governance/srvTask"
)
...
@@ -22,7 +24,7 @@ public class SrvTaskController {
...
@@ -22,7 +24,7 @@ public class SrvTaskController {
private
SrvTaskService
srvTaskService
;
private
SrvTaskService
srvTaskService
;
/**
/**
* 服务计划列表
* 服务计划
、服务计划配置
列表
*
*
* @param organId 护理机构id
* @param organId 护理机构id
* @param disableName 失能人员姓名
* @param disableName 失能人员姓名
...
@@ -31,8 +33,7 @@ public class SrvTaskController {
...
@@ -31,8 +33,7 @@ public class SrvTaskController {
* @param certifNum 护理人员证件号码
* @param certifNum 护理人员证件号码
* @param startTime 服务计划开始时间
* @param startTime 服务计划开始时间
* @param endTime 服务计划结束时间
* @param endTime 服务计划结束时间
* @param endTime 服务计划结束时间
* @param status 任务状态(服务计划状态)
* @param status 任务状态
* @param modeId 服务方式
* @param modeId 服务方式
*/
*/
@RequestMapping
(
"/getSrvTaskList"
)
@RequestMapping
(
"/getSrvTaskList"
)
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/impl/SrvTaskServiceImpl.java
View file @
7d9148bf
...
@@ -26,7 +26,6 @@ public class SrvTaskServiceImpl implements SrvTaskService {
...
@@ -26,7 +26,6 @@ public class SrvTaskServiceImpl implements SrvTaskService {
* @param certifNum 护理人员证件号码
* @param certifNum 护理人员证件号码
* @param startTime 服务计划开始时间
* @param startTime 服务计划开始时间
* @param endTime 服务计划结束时间
* @param endTime 服务计划结束时间
* @param endTime 服务计划结束时间
* @param status 任务状态
* @param status 任务状态
* @param modeId 服务方式
* @param modeId 服务方式
*/
*/
...
...
governance/src/main/resources/com/hungraim/ltc/governance/mapper/SrvTaskMapper.xml
View file @
7d9148bf
...
@@ -5,10 +5,12 @@
...
@@ -5,10 +5,12 @@
<!--查询服务分配信息列表-->
<!--查询服务分配信息列表-->
<select
id=
"getSrvTaskList"
resultType=
"com.hungraim.ltc.pojo.vo.governance.SrvTaskVO"
>
<select
id=
"getSrvTaskList"
resultType=
"com.hungraim.ltc.pojo.vo.governance.SrvTaskVO"
>
select
select
task.srv_task_id srvTaskId,
disable.disab_info_id disabInfoId,
--所在省市
--所在省市
disable.district_provincial
districtProvincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where disable.district_provincial = dis.DISTRICT_CODE)
districtProvincial,
disable.district_city
districtCity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where disable.district_city = dis.DISTRICT_CODE)
districtCity,
disable.district_area
districtArea,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where disable.DISTRICT_AREA = dis.DISTRICT_CODE)
districtArea,
--失能人员姓名
--失能人员姓名
disable.real_name realName,
disable.real_name realName,
--手机号码
--手机号码
...
@@ -19,11 +21,13 @@
...
@@ -19,11 +21,13 @@
disable.gender gender,
disable.gender gender,
--诊断疾病
--诊断疾病
disable.disease disease,
disable.disease disease,
--失能等级
level1.disable_level_name disableLevelName,
--接受服务地址
--接受服务地址
disable.acpt_srv_provincial acptSrv
Provincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where disable.acpt_srv_provincial = dis.DISTRICT_CODE) district
Provincial,
disable.acpt_srv_city acptSrv
City,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where disable.acpt_srv_city = dis.DISTRICT_CODE) district
City,
disable.acpt_srv_area acptSrv
Area,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where disable.acpt_srv_area = dis.DISTRICT_CODE) district
Area,
disable.acpt_srv_road_type acptSrvRoadType
,
(select STREET_NAME from CH_FND_STREET street where disable.acpt_srv_street = street.STREET_CODE) acptStreet
,
--评定等级
--评定等级
report.evaluate_rating_type evaluateRatingType,
report.evaluate_rating_type evaluateRatingType,
--评定完成日期
--评定完成日期
...
@@ -36,8 +40,14 @@
...
@@ -36,8 +40,14 @@
emp.emp_name empName,
emp.emp_name empName,
--任务时间
--任务时间
task.eff_time effTime,
task.eff_time effTime,
--任务状态
--任务状态(服务计划状态)
task.status status
task.status status,
--服务方案状态
program.prog_status progStatus,
--服务方案起始日
program.EFF_TIME programEffTime,
--服务方案终止日
program.END_TIME programEndTime
from ch_srv_task task--服务计划
from ch_srv_task task--服务计划
left join ch_disable_info disable on task.disab_info_id = disable.disab_info_id--失能人员
left join ch_disable_info disable on task.disab_info_id = disable.disab_info_id--失能人员
left join ch_apr_task aprtask on disable.last_task_id = aprtask.task_id--评定任务
left join ch_apr_task aprtask on disable.last_task_id = aprtask.task_id--评定任务
...
@@ -46,6 +56,7 @@
...
@@ -46,6 +56,7 @@
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_fnd_srv_mode mode1 on program.srv_mode_id = mode1.srv_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--失能等级
<where>
<where>
<if
test=
"organId != null"
>
<if
test=
"organId != null"
>
and organ.SRV_ORGAN_ID = #{organId}
and organ.SRV_ORGAN_ID = #{organId}
...
...
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