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
e30d535d
Commit
e30d535d
authored
Apr 19, 2021
by
zhangch
Browse files
Options
Browse Files
Download
Plain Diff
解决冲突
parents
aa5e13db
7c57389d
Hide whitespace changes
Inline
Side-by-side
Showing
38 changed files
with
1882 additions
and
22 deletions
+1882
-22
DisableController.java
...n/java/com/hungraim/ism/controller/DisableController.java
+1
-0
SrvOrganMapper.java
...ce/src/main/java/com/hungraim/ism/dao/SrvOrganMapper.java
+2
-0
DisableService.java
...rc/main/java/com/hungraim/ism/service/DisableService.java
+1
-0
ChDisableApplyMapper.xml
...ervice/src/main/resources/mapper/ChDisableApplyMapper.xml
+1
-0
TaskController.java
...main/java/com/hungraim/ltc/controller/TaskController.java
+23
-0
AprEmpMapper.java
...vice/src/main/java/com/hungraim/ltc/dao/AprEmpMapper.java
+16
-0
AprReportMapper.java
...e/src/main/java/com/hungraim/ltc/dao/AprReportMapper.java
+16
-0
TaskService.java
...e/src/main/java/com/hungraim/ltc/service/TaskService.java
+6
-0
TaskServiceImpl.java
...n/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
+23
-0
ChDisableEvaluateMapper.xml
...ice/src/main/resources/mapper/ChDisableEvaluateMapper.xml
+1
-0
DisableEvaluateInfoVO.java
...m/hungraim/ism/pojo/vo/disable/DisableEvaluateInfoVO.java
+3
-0
DisableEvaluateVO.java
...a/com/hungraim/ism/pojo/vo/disable/DisableEvaluateVO.java
+4
-1
DisableVO.java
...main/java/com/hungraim/ism/pojo/vo/disable/DisableVO.java
+11
-8
PageInfo.java
.../src/main/java/com/hungraim/ltc/pojo/entity/PageInfo.java
+16
-0
ChDisableApply.java
.../com/hungraim/ltc/pojo/entity/disable/ChDisableApply.java
+2
-1
ChDisableApplyTest.java
.../hungraim/ltc/pojo/entity/disable/ChDisableApplyTest.java
+601
-0
ChDisableEvaluate.java
...m/hungraim/ltc/pojo/entity/disable/ChDisableEvaluate.java
+505
-0
ChSrvOrgan.java
...java/com/hungraim/ltc/pojo/entity/disable/ChSrvOrgan.java
+6
-1
ChAprEmp.java
...main/java/com/hungraim/ltc/pojo/entity/eval/ChAprEmp.java
+39
-0
ChAprReport.java
...n/java/com/hungraim/ltc/pojo/entity/eval/ChAprReport.java
+46
-0
ChAprTask.java
...ain/java/com/hungraim/ltc/pojo/entity/eval/ChAprTask.java
+1
-1
TaskDistributionVO.java
...m/hungraim/ltc/pojo/vo/assessment/TaskDistributionVO.java
+2
-0
BuildBedController.java
...ungraim/ltc/governance/controller/BuildBedController.java
+190
-2
RemoveBedController.java
...ngraim/ltc/governance/controller/RemoveBedController.java
+2
-0
ApplyMapper.java
...ain/java/com/hungraim/ltc/governance/dao/ApplyMapper.java
+12
-0
BuildBedMapper.java
.../java/com/hungraim/ltc/governance/dao/BuildBedMapper.java
+7
-0
CrvMapper.java
.../main/java/com/hungraim/ltc/governance/dao/CrvMapper.java
+15
-0
DisableEvaluateMapper.java
...om/hungraim/ltc/governance/dao/DisableEvaluateMapper.java
+33
-0
ApplyService.java
...ava/com/hungraim/ltc/governance/service/ApplyService.java
+19
-0
CrvService.java
.../java/com/hungraim/ltc/governance/service/CrvService.java
+16
-0
DisableEvaluateService.java
...ngraim/ltc/governance/service/DisableEvaluateService.java
+41
-0
IBuildBedService.java
...com/hungraim/ltc/governance/service/IBuildBedService.java
+12
-0
ApplyServiceImpl.java
...ungraim/ltc/governance/service/impl/ApplyServiceImpl.java
+29
-0
BuildBedServiceImpl.java
...raim/ltc/governance/service/impl/BuildBedServiceImpl.java
+9
-0
CrvServiceImpl.java
.../hungraim/ltc/governance/service/impl/CrvServiceImpl.java
+33
-0
DisableEvaluateServiceImpl.java
...c/governance/service/impl/DisableEvaluateServiceImpl.java
+43
-0
ChDisableEvaluateMapper.xml
...ungraim/ltc/governance/mapper/ChDisableEvaluateMapper.xml
+94
-0
UserController.java
...va/com/hungraim/ltc/system/controller/UserController.java
+1
-8
No files found.
apply/apply-service/src/main/java/com/hungraim/ism/controller/DisableController.java
View file @
e30d535d
...
...
@@ -211,4 +211,5 @@ public class DisableController {
return
Result
.
success
();
}
}
apply/apply-service/src/main/java/com/hungraim/ism/dao/SrvOrganMapper.java
View file @
e30d535d
...
...
@@ -3,6 +3,7 @@ package com.hungraim.ism.dao;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Select
;
import
org.springframework.stereotype.Repository
;
/**
...
...
@@ -13,4 +14,5 @@ import org.springframework.stereotype.Repository;
@Mapper
@Repository
public
interface
SrvOrganMapper
extends
BaseMapper
<
ChSrvOrgan
>
{
}
apply/apply-service/src/main/java/com/hungraim/ism/service/DisableService.java
View file @
e30d535d
...
...
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import
com.hungraim.ism.pojo.vo.disable.DisableExamineInfoVO
;
import
com.hungraim.ism.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.entity.disable.*
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvProgram
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
...
...
apply/apply-service/src/main/resources/mapper/ChDisableApplyMapper.xml
View file @
e30d535d
...
...
@@ -116,6 +116,7 @@
from CH_DISABLE_APPLY a
LEFT JOIN CH_SRV_ORGAN o ON a.SRV_ORGAN_ID = o.SRV_ORGAN_ID
where a.APPLY_ID = #{applyId}
order by APPLY_ID desc
</select>
<select
id=
"listExamineRecordByApplyId"
resultType=
"com.hungraim.ism.pojo.vo.disable.ExamineRecord"
>
...
...
assessment/assessment-service/src/main/java/com/hungraim/ltc/controller/TaskController.java
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprEmp
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprReport
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskReportVO
;
import
com.hungraim.ltc.service.TaskService
;
import
com.hungraim.ltc.util.Result
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.Date
;
import
java.util.List
;
/**
...
...
@@ -63,4 +67,23 @@ public class TaskController {
return
Result
.
success
(
taskReportList
);
}
/**
* 查询失能人员列表
*/
@RequestMapping
(
"/aprEmpList"
)
public
Result
<
List
<
ChAprEmp
>>
aprEmpList
()
{
List
<
ChAprEmp
>
chAprEmps
=
taskService
.
aprEmpList
();
return
Result
.
success
(
chAprEmps
);
}
/**
* 评定报告新增
*/
@RequestMapping
(
"/addReport"
)
public
Result
addReport
(
@RequestBody
ChAprReport
chAprReport
)
{
chAprReport
.
setEffTime
(
new
Date
());
taskService
.
addReport
(
chAprReport
);
return
Result
.
success
();
}
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/dao/AprEmpMapper.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprEmp
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
/**
* 失能评定人员Mapper
*
* @author czz
*/
@Mapper
@Repository
public
interface
AprEmpMapper
extends
BaseMapper
<
ChAprEmp
>
{
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/dao/AprReportMapper.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprReport
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
/**
* 失能评定报告Mapper
*
* @author czz
*/
@Mapper
@Repository
public
interface
AprReportMapper
extends
BaseMapper
<
ChAprReport
>
{
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/TaskService.java
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprEmp
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprReport
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskReportVO
;
import
org.springframework.stereotype.Service
;
...
...
@@ -42,4 +44,8 @@ public interface TaskService {
* 评定报告录入列表
*/
List
<
TaskReportVO
>
taskReportList
();
List
<
ChAprEmp
>
aprEmpList
();
void
addReport
(
ChAprReport
chAprReport
);
}
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/TaskServiceImpl.java
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
service
.
impl
;
import
cn.hutool.core.util.StrUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.dao.AprEmpMapper
;
import
com.hungraim.ltc.dao.AprReportMapper
;
import
com.hungraim.ltc.dao.TaskMapper
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprEmp
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprReport
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskDistributionVO
;
import
com.hungraim.ltc.pojo.vo.assessment.TaskReportVO
;
import
com.hungraim.ltc.service.TaskService
;
...
...
@@ -13,11 +18,18 @@ import org.springframework.stereotype.Service;
import
java.util.Arrays
;
import
java.util.List
;
/**
* @author czz
*/
@Service
public
class
TaskServiceImpl
implements
TaskService
{
@Autowired
private
TaskMapper
taskMapper
;
@Autowired
private
AprEmpMapper
aprEmpMapper
;
@Autowired
private
AprReportMapper
aprReportMapper
;
@Override
public
IPage
<
TaskDistributionVO
>
taskDistributionList
(
String
organId
,
String
provincial
,
String
city
,
...
...
@@ -36,4 +48,14 @@ public class TaskServiceImpl implements TaskService {
public
List
<
TaskReportVO
>
taskReportList
()
{
return
taskMapper
.
taskReportList
();
}
@Override
public
List
<
ChAprEmp
>
aprEmpList
()
{
return
aprEmpMapper
.
selectList
(
new
QueryWrapper
<
ChAprEmp
>().
eq
(
"IS_LOCK"
,
0
));
}
@Override
public
void
addReport
(
ChAprReport
chAprReport
)
{
aprReportMapper
.
insert
(
chAprReport
);
}
}
\ No newline at end of file
assessment/assessment-service/src/main/resources/mapper/ChDisableEvaluateMapper.xml
View file @
e30d535d
...
...
@@ -14,6 +14,7 @@
disable.real_name realName,
task.fcd fcd,
disable.certi_code certiCode,
disable.BIRTHDAY birthday,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE where disable.DISE_TYPE_F = DISE_TYPE_ID) diseTypeF,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE where disable.DISE_TYPE_S = DISE_TYPE_ID) diseTypeS,
disable.tel tel,
...
...
common/common-core/src/main/java/com/hungraim/ism/pojo/vo/disable/DisableEvaluateInfoVO.java
View file @
e30d535d
package
com
.
hungraim
.
ism
.
pojo
.
vo
.
disable
;
import
lombok.Data
;
import
java.util.Date
;
/**
* 失能审核信息详情VO
*/
@Data
public
class
DisableEvaluateInfoVO
{
//***失能人员个人信息
//机构
...
...
common/common-core/src/main/java/com/hungraim/ism/pojo/vo/disable/DisableEvaluateVO.java
View file @
e30d535d
package
com
.
hungraim
.
ism
.
pojo
.
vo
.
disable
;
import
com.hungraim.ltc.pojo.entity.PageInfo
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 失能评定列表VO
*/
public
class
DisableEvaluateVO
{
public
class
DisableEvaluateVO
extends
PageInfo
implements
Serializable
{
//id
private
String
evaluateId
;
//适用机构
...
...
common/common-core/src/main/java/com/hungraim/ism/pojo/vo/disable/DisableVO.java
View file @
e30d535d
package
com
.
hungraim
.
ism
.
pojo
.
vo
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 失能人员信息列表VO
*/
@Data
public
class
DisableVO
{
@TableName
(
""
)
public
class
DisableVO
implements
Serializable
{
//id
private
String
applyId
;
//适用机构
private
String
organName
;
//机构代码
private
String
organId
;
private
String
organ
i
Id
;
//所在省市
private
String
provincial
;
private
String
city
;
...
...
@@ -27,27 +30,27 @@ public class DisableVO {
//待遇类型
private
String
treatmentTyte
;
//联系人姓名
private
String
oper
N
ame
;
private
String
oper
n
ame
;
//年龄
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
birthday
;
//性别
private
String
gender
;
//失能人员身份证号码
private
String
oper
C
ertiCode
;
private
String
oper
c
ertiCode
;
//失能人员手机号
private
String
tel
;
//失能人员固话
private
String
fixed
T
el
;
private
String
fixed
t
el
;
//申请服务方式
private
String
srv
M
odeName
;
private
String
srv
m
odeName
;
//诊断疾病
private
String
disease
;
//申请时间
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
)
private
Date
eff
T
ime
;
private
Date
eff
t
ime
;
//申请来源 网厅:0,核心:1,手机端:2,待遇申请:3
private
String
data
F
rom
;
private
String
data
f
rom
;
//审核状态
private
String
applyStatus
;
}
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/PageInfo.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
pojo
.
entity
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
lombok.Data
;
import
lombok.experimental.FieldDefaults
;
import
java.io.Serializable
;
@Data
public
class
PageInfo
implements
Serializable
{
@TableField
(
exist
=
false
)
private
int
current
;
@TableField
(
exist
=
false
)
private
int
limit
;
}
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/disable/ChDisableApply.java
View file @
e30d535d
...
...
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
import
com.baomidou.mybatisplus.annotation.KeySequence
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.hungraim.ltc.pojo.entity.PageInfo
;
import
lombok.Data
;
import
org.springframework.format.annotation.DateTimeFormat
;
...
...
@@ -17,7 +18,7 @@ import java.util.Date;
@Data
@TableName
(
"CH_DISABLE_APPLY"
)
@KeySequence
(
value
=
"SEQ_CH_DISABLE_APPLY"
)
public
class
ChDisableApply
implements
Serializable
{
public
class
ChDisableApply
extends
PageInfo
implements
Serializable
{
/**
* 失能申请id
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/disable/ChDisableApplyTest.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
java.math.BigDecimal
;
import
java.util.Date
;
@Data
@TableName
(
"CH_DISABLE_APPLY_TEST"
)
public
class
ChDisableApplyTest
{
/**
* 失能申请id
*/
private
Long
applyId
;
/**
* 机构代码
*/
private
String
organId
;
/**
* 所在省份
*/
private
String
districtProvincial
;
/**
* 所在城市
*/
private
String
districtCity
;
/**
* 所在区域
*/
private
String
districtArea
;
/**
* 姓名
*/
private
String
realName
;
/**
* 身份证号
*/
private
String
certiCode
;
/**
* 出生年月
*/
@DateTimeFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
birthday
;
/**
* 性别 男:M;女:F;不确定 N
*/
private
String
gender
;
/**
* 电话
*/
private
String
tel
;
/**
* 现住地址区域
*/
private
String
adressDistrictCode
;
/**
* 住址详情
*/
private
String
adressDetail
;
/**
* 户籍 本市:0;非本市:1
*/
private
Short
regist
;
/**
* 疾病
*/
private
String
disease
;
/**
* 服务方式
*/
private
Long
srvModeId
;
/**
* 疾病描述
*/
private
String
diseaseDesc
;
/**
* 医保类型 城镇:1;非城镇:0
*/
private
Short
medicalType
;
/**
* 社保卡号
*/
private
String
medicalCard
;
/**
* 意向护理机构
*/
private
Long
srvOrganId
;
/**
* 代办人姓名
*/
private
String
operName
;
/**
* 代办人身份证号
*/
private
String
operCertiCode
;
/**
* 代办人手机号
*/
private
String
operTel
;
/**
* 与失能人员关系 子女:0;父母:1配偶:2其他:3
*/
private
String
operRelation
;
/**
* 代办人住址区域
*/
private
String
operDistrictCode
;
/**
* 代办人住址详情
*/
private
String
operAddress
;
/**
* 鉴定标准配置id
*/
private
Long
aprConfId
;
/**
* 申请状态 未提交:0;待审核:1;审核通过:2;不通过:3;删除:4;撤销:5
*/
private
Short
applyStatus
;
/**
* 审核人
*/
private
String
checkName
;
/**
* 审核备注
*/
private
String
checkRemark
;
/**
* 审核时间
*/
private
Date
checkTime
;
/**
* 创建人
*/
private
Long
defineEmg
;
/**
* 创建时间
*/
private
Date
effTime
;
/**
* 终止人
*/
private
Long
endEmg
;
/**
* 终止人终止时间
*/
private
Date
endTime
;
/**
* 首次操作时间
*/
private
Date
fcd
;
/**
* 首次操作人
*/
private
Long
fcu
;
/**
* 末次操作时间
*/
private
Date
lcd
;
/**
* 末次操作人
*/
private
Long
lcu
;
/**
* 申请机构
*/
private
Long
aplOrganId
;
/**
* 现住地址省份
*/
private
String
adressDistrictProvincial
;
/**
* 现住地址城市
*/
private
String
adressDistrictCity
;
/**
* 代办人住址省份
*/
private
String
operDistrictProvince
;
/**
* 代办人住址城市
*/
private
String
operDistrictCity
;
/**
* 最新鉴定任务ID
*/
private
Long
lastTaskId
;
/**
* 数据来源 网厅:0,核心:1,微信:2
*/
private
Short
dataFrom
;
/**
* 网厅创建人
*/
private
Long
webDefineEmp
;
/**
* 网厅终止人
*/
private
Long
webEndEmp
;
/**
* 现住址街道
*/
private
String
street
;
/**
* 鉴定分数总计
*/
private
Short
aprTotalScore
;
/**
* 接受评定省
*/
private
String
acptProvincial
;
/**
* 接受评定市
*/
private
String
acptCity
;
/**
* 接受评定区
*/
private
String
acptArea
;
/**
* 接受评定街道
*/
private
String
acptStreet
;
/**
* 接受评定详细地址
*/
private
String
acptAddress
;
/**
* 接受评定类型 现在址:0,机构地址:1,其他:2
*/
private
Short
acptType
;
/**
* 疾病大类
*/
private
Long
diseTypeF
;
/**
* 疾病小类
*/
private
Long
diseTypeS
;
/**
* 服务配置模式ID
*/
private
Long
cfgModeId
;
/**
* 复评原因
*/
private
String
reasonsReview
;
/**
* 复评备注
*/
private
String
reasonsRemark
;
/**
* 申请方式
*/
private
Short
applyMethod
;
/**
* 首次申请ID
*/
private
Long
firstApplyId
;
/**
* 现住址经度
*/
private
String
addressLongitude
;
/**
* 现住址纬度
*/
private
String
addressLatitude
;
/**
* 接受评定地址经度
*/
private
String
acptLongitude
;
/**
* 接受评定地址纬度
*/
private
String
acptLatitude
;
/**
* 代办人街道
*/
private
String
operStreet
;
/**
* 代办人地址经度
*/
private
String
agentLongitude
;
/**
* 代办人地址纬度
*/
private
String
agentLatitude
;
/**
* 现住地址路街
*/
private
String
addressRoadDetail
;
/**
* 现住地址路/街(0路,1街,2村)
*/
private
Short
addressRoadType
;
/**
* 现住地址号弄
*/
private
String
addressNumberDetail
;
/**
* 现住地址号/弄(0弄,1号)
*/
private
Short
addressNumberType
;
/**
* 接受评定地址路街
*/
private
String
acptRoadDetail
;
/**
* 接受评定地址路/街(0路,1街,2村)
*/
private
Short
acptRoadType
;
/**
* 接受评定地址号弄
*/
private
String
acptNumberDetail
;
/**
* 接受评定地址号/弄(0弄,1号)
*/
private
Short
acptNumberType
;
/**
* 代办人现住止路街
*/
private
String
operRoadDetail
;
/**
* 代办人现住止路/街(0路,1街,2村)
*/
private
Short
operRoadType
;
/**
* 代办人现住止号弄
*/
private
String
operNumberDetail
;
/**
* 代办人现住止号/弄(0弄,1号)
*/
private
Short
operNumberType
;
/**
* 接受服务地址省
*/
private
String
acptSrvProvincial
;
/**
* 接受服务地址市
*/
private
String
acptSrvCity
;
/**
* 接受服务地址区
*/
private
String
acptSrvArea
;
/**
* 接受服务地址街道
*/
private
String
acptSrvStreet
;
/**
* 接受服务地址路街
*/
private
String
acptSrvRoadDetail
;
/**
* 接受服务地址路/街(0路,1街,2村)
*/
private
Short
acptSrvRoadType
;
/**
* 接受服务地址号弄
*/
private
String
acptSrvNumberDetail
;
/**
* 接受服务地址号/弄(0弄,1号)
*/
private
Short
acptSrvNumberType
;
/**
* 接受服务地址详细地址
*/
private
String
acptSrvAddress
;
/**
* 接受服务地址类型(现在址:0,护理机构地址:1,其他:2,接受评定地址:3)
*/
private
Short
acptSrvType
;
/**
* 接受服务地址经度
*/
private
String
acptSrvLongitude
;
/**
* 接受服务地址纬度
*/
private
String
acptSrvLatitude
;
/**
* 失能人员电话
*/
private
String
fixedTel
;
/**
* 所在户籍地址省
*/
private
String
registProvincial
;
/**
* 所在户籍地址市
*/
private
String
registCity
;
/**
* 所在户籍地址区
*/
private
String
registArea
;
/**
* 所在户籍地址街道
*/
private
String
registStreet
;
/**
* 所在户籍地址详细地址
*/
private
String
registAddress
;
/**
* 所在户籍地址经度
*/
private
String
registLongitude
;
/**
* 所在户籍地址纬度
*/
private
String
registLatitude
;
/**
* 病史简述1
* 1. 曾患的重大疾病、外伤史、传染病史
*/
private
String
medicalHistory1
;
/**
* 病史简述2 2. 现有的疾病和病症
*/
private
String
medicalHistory2
;
/**
* 病史简述3 3. 目前正在治疗的疾病和病症
*/
private
String
medicalHistory3
;
/**
* 身高
*/
private
BigDecimal
height
;
/**
* 体重
*/
private
BigDecimal
weight
;
/**
* 左手握力
*/
private
BigDecimal
leftHandGrip
;
/**
* 右手握力
*/
private
BigDecimal
rightHandGrip
;
/**
* 肢体残缺 0有,1无
*/
private
Short
bodyIncomplete
;
/**
* 视力障碍 0有,1无
*/
private
Short
visionObstacle
;
/**
* 听力障碍 0有,1无
*/
private
Short
hearingObstacle
;
/**
* 病史简述
*/
private
String
medicalHistory
;
/**
* 历史操作时间
*/
//private Date hisTime;
/**
* 历史操作人
*/
// private Long hisEmp;
/**
* 代办人固话
*/
private
String
operFixedTel
;
/**
* 现住址类型(0:接受评定地址;1:接受服务地址;2:其他)
*/
private
Short
addressType
;
/**
* 待遇类型(1失能、0失智)
*/
private
Short
treatmentType
;
private
static
final
long
serialVersionUID
=
1L
;
}
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/disable/ChDisableEvaluate.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 失能评定
*/
@Data
@TableName
(
"CH_DISABLE_EVALUATE"
)
public
class
ChDisableEvaluate
implements
Serializable
{
private
Integer
evaluateId
;
private
String
certiCode
;
private
Integer
medicalType
;
private
String
diseaseDesc
;
private
String
checkName
;
private
String
accName
;
private
String
cardType
;
private
String
areaCode
;
private
String
provinceCode
;
private
Integer
diseaseLevel1
;
private
Integer
diseaseLevel2
;
private
String
bankNo
;
private
Integer
operRelation
;
private
Integer
sTATUS
;
private
Date
allotTime
;
private
Integer
webEndEmp
;
private
Integer
srvOrgenId
;
private
Integer
webDefineEmp
;
private
String
districtArea
;
private
String
bankRemark
;
private
Integer
modeId
;
private
Date
evaluateTime
;
private
String
addressResidential
;
private
String
contactName
;
private
String
bankDistrictWebsite
;
private
String
cityCode
;
private
Integer
checkStatus
;
private
String
districtProvince
;
private
String
addressDetail
;
private
Date
fCD
;
private
Integer
srvModeId
;
private
String
contactTel
;
private
Date
lCD
;
private
String
realName
;
private
Integer
treatmentType
;
private
String
streetCode
;
private
Integer
dataFrom
;
private
String
organId
;
private
String
districtCity
;
private
String
contactCertiCode
;
private
String
bankDistrictCity
;
private
String
refuseRemark
;
private
Integer
fCU
;
private
String
bankAccCode
;
private
String
tEL
;
private
String
bankDistrictProvincial
;
private
String
checkRemark
;
private
Integer
lCU
;
public
ChDisableEvaluate
()
{
super
();
}
public
ChDisableEvaluate
(
Integer
evaluateId
,
String
certiCode
,
Integer
medicalType
,
String
diseaseDesc
,
String
checkName
,
String
accName
,
String
cardType
,
String
areaCode
,
String
provinceCode
,
Integer
diseaseLevel1
,
Integer
diseaseLevel2
,
String
bankNo
,
Integer
operRelation
,
Integer
sTATUS
,
java
.
util
.
Date
allotTime
,
Integer
webEndEmp
,
Integer
srvOrgenId
,
Integer
webDefineEmp
,
String
districtArea
,
String
bankRemark
,
Integer
modeId
,
java
.
util
.
Date
evaluateTime
,
String
addressResidential
,
String
contactName
,
String
bankDistrictWebsite
,
String
cityCode
,
Integer
checkStatus
,
String
districtProvince
,
String
addressDetail
,
java
.
util
.
Date
fCD
,
Integer
srvModeId
,
String
contactTel
,
java
.
util
.
Date
lCD
,
String
realName
,
Integer
treatmentType
,
String
streetCode
,
Integer
dataFrom
,
String
organId
,
String
districtCity
,
String
contactCertiCode
,
String
bankDistrictCity
,
String
refuseRemark
,
Integer
fCU
,
String
bankAccCode
,
String
tEL
,
String
bankDistrictProvincial
,
String
checkRemark
,
Integer
lCU
)
{
super
();
this
.
evaluateId
=
evaluateId
;
this
.
certiCode
=
certiCode
;
this
.
medicalType
=
medicalType
;
this
.
diseaseDesc
=
diseaseDesc
;
this
.
checkName
=
checkName
;
this
.
accName
=
accName
;
this
.
cardType
=
cardType
;
this
.
areaCode
=
areaCode
;
this
.
provinceCode
=
provinceCode
;
this
.
diseaseLevel1
=
diseaseLevel1
;
this
.
diseaseLevel2
=
diseaseLevel2
;
this
.
bankNo
=
bankNo
;
this
.
operRelation
=
operRelation
;
this
.
sTATUS
=
sTATUS
;
this
.
allotTime
=
allotTime
;
this
.
webEndEmp
=
webEndEmp
;
this
.
srvOrgenId
=
srvOrgenId
;
this
.
webDefineEmp
=
webDefineEmp
;
this
.
districtArea
=
districtArea
;
this
.
bankRemark
=
bankRemark
;
this
.
modeId
=
modeId
;
this
.
evaluateTime
=
evaluateTime
;
this
.
addressResidential
=
addressResidential
;
this
.
contactName
=
contactName
;
this
.
bankDistrictWebsite
=
bankDistrictWebsite
;
this
.
cityCode
=
cityCode
;
this
.
checkStatus
=
checkStatus
;
this
.
districtProvince
=
districtProvince
;
this
.
addressDetail
=
addressDetail
;
this
.
fCD
=
fCD
;
this
.
srvModeId
=
srvModeId
;
this
.
contactTel
=
contactTel
;
this
.
lCD
=
lCD
;
this
.
realName
=
realName
;
this
.
treatmentType
=
treatmentType
;
this
.
streetCode
=
streetCode
;
this
.
dataFrom
=
dataFrom
;
this
.
organId
=
organId
;
this
.
districtCity
=
districtCity
;
this
.
contactCertiCode
=
contactCertiCode
;
this
.
bankDistrictCity
=
bankDistrictCity
;
this
.
refuseRemark
=
refuseRemark
;
this
.
fCU
=
fCU
;
this
.
bankAccCode
=
bankAccCode
;
this
.
tEL
=
tEL
;
this
.
bankDistrictProvincial
=
bankDistrictProvincial
;
this
.
checkRemark
=
checkRemark
;
this
.
lCU
=
lCU
;
}
public
Integer
getEvaluateId
()
{
return
this
.
evaluateId
;
}
public
void
setEvaluateId
(
Integer
evaluateId
)
{
this
.
evaluateId
=
evaluateId
;
}
public
String
getCertiCode
()
{
return
this
.
certiCode
;
}
public
void
setCertiCode
(
String
certiCode
)
{
this
.
certiCode
=
certiCode
;
}
public
Integer
getMedicalType
()
{
return
this
.
medicalType
;
}
public
void
setMedicalType
(
Integer
medicalType
)
{
this
.
medicalType
=
medicalType
;
}
public
String
getDiseaseDesc
()
{
return
this
.
diseaseDesc
;
}
public
void
setDiseaseDesc
(
String
diseaseDesc
)
{
this
.
diseaseDesc
=
diseaseDesc
;
}
public
String
getCheckName
()
{
return
this
.
checkName
;
}
public
void
setCheckName
(
String
checkName
)
{
this
.
checkName
=
checkName
;
}
public
String
getAccName
()
{
return
this
.
accName
;
}
public
void
setAccName
(
String
accName
)
{
this
.
accName
=
accName
;
}
public
String
getCardType
()
{
return
this
.
cardType
;
}
public
void
setCardType
(
String
cardType
)
{
this
.
cardType
=
cardType
;
}
public
String
getAreaCode
()
{
return
this
.
areaCode
;
}
public
void
setAreaCode
(
String
areaCode
)
{
this
.
areaCode
=
areaCode
;
}
public
String
getProvinceCode
()
{
return
this
.
provinceCode
;
}
public
void
setProvinceCode
(
String
provinceCode
)
{
this
.
provinceCode
=
provinceCode
;
}
public
Integer
getDiseaseLevel1
()
{
return
this
.
diseaseLevel1
;
}
public
void
setDiseaseLevel1
(
Integer
diseaseLevel1
)
{
this
.
diseaseLevel1
=
diseaseLevel1
;
}
public
Integer
getDiseaseLevel2
()
{
return
this
.
diseaseLevel2
;
}
public
void
setDiseaseLevel2
(
Integer
diseaseLevel2
)
{
this
.
diseaseLevel2
=
diseaseLevel2
;
}
public
String
getBankNo
()
{
return
this
.
bankNo
;
}
public
void
setBankNo
(
String
bankNo
)
{
this
.
bankNo
=
bankNo
;
}
public
Integer
getOperRelation
()
{
return
this
.
operRelation
;
}
public
void
setOperRelation
(
Integer
operRelation
)
{
this
.
operRelation
=
operRelation
;
}
public
Integer
getSTATUS
()
{
return
this
.
sTATUS
;
}
public
void
setSTATUS
(
Integer
sTATUS
)
{
this
.
sTATUS
=
sTATUS
;
}
public
java
.
util
.
Date
getAllotTime
()
{
return
this
.
allotTime
;
}
public
void
setAllotTime
(
java
.
util
.
Date
allotTime
)
{
this
.
allotTime
=
allotTime
;
}
public
Integer
getWebEndEmp
()
{
return
this
.
webEndEmp
;
}
public
void
setWebEndEmp
(
Integer
webEndEmp
)
{
this
.
webEndEmp
=
webEndEmp
;
}
public
Integer
getSrvOrgenId
()
{
return
this
.
srvOrgenId
;
}
public
void
setSrvOrgenId
(
Integer
srvOrgenId
)
{
this
.
srvOrgenId
=
srvOrgenId
;
}
public
Integer
getWebDefineEmp
()
{
return
this
.
webDefineEmp
;
}
public
void
setWebDefineEmp
(
Integer
webDefineEmp
)
{
this
.
webDefineEmp
=
webDefineEmp
;
}
public
String
getDistrictArea
()
{
return
this
.
districtArea
;
}
public
void
setDistrictArea
(
String
districtArea
)
{
this
.
districtArea
=
districtArea
;
}
public
String
getBankRemark
()
{
return
this
.
bankRemark
;
}
public
void
setBankRemark
(
String
bankRemark
)
{
this
.
bankRemark
=
bankRemark
;
}
public
Integer
getModeId
()
{
return
this
.
modeId
;
}
public
void
setModeId
(
Integer
modeId
)
{
this
.
modeId
=
modeId
;
}
public
java
.
util
.
Date
getEvaluateTime
()
{
return
this
.
evaluateTime
;
}
public
void
setEvaluateTime
(
java
.
util
.
Date
evaluateTime
)
{
this
.
evaluateTime
=
evaluateTime
;
}
public
String
getAddressResidential
()
{
return
this
.
addressResidential
;
}
public
void
setAddressResidential
(
String
addressResidential
)
{
this
.
addressResidential
=
addressResidential
;
}
public
String
getContactName
()
{
return
this
.
contactName
;
}
public
void
setContactName
(
String
contactName
)
{
this
.
contactName
=
contactName
;
}
public
String
getBankDistrictWebsite
()
{
return
this
.
bankDistrictWebsite
;
}
public
void
setBankDistrictWebsite
(
String
bankDistrictWebsite
)
{
this
.
bankDistrictWebsite
=
bankDistrictWebsite
;
}
public
String
getCityCode
()
{
return
this
.
cityCode
;
}
public
void
setCityCode
(
String
cityCode
)
{
this
.
cityCode
=
cityCode
;
}
public
Integer
getCheckStatus
()
{
return
this
.
checkStatus
;
}
public
void
setCheckStatus
(
Integer
checkStatus
)
{
this
.
checkStatus
=
checkStatus
;
}
public
String
getDistrictProvince
()
{
return
this
.
districtProvince
;
}
public
void
setDistrictProvince
(
String
districtProvince
)
{
this
.
districtProvince
=
districtProvince
;
}
public
String
getAddressDetail
()
{
return
this
.
addressDetail
;
}
public
void
setAddressDetail
(
String
addressDetail
)
{
this
.
addressDetail
=
addressDetail
;
}
public
java
.
util
.
Date
getFCD
()
{
return
this
.
fCD
;
}
public
void
setFCD
(
java
.
util
.
Date
fCD
)
{
this
.
fCD
=
fCD
;
}
public
Integer
getSrvModeId
()
{
return
this
.
srvModeId
;
}
public
void
setSrvModeId
(
Integer
srvModeId
)
{
this
.
srvModeId
=
srvModeId
;
}
public
String
getContactTel
()
{
return
this
.
contactTel
;
}
public
void
setContactTel
(
String
contactTel
)
{
this
.
contactTel
=
contactTel
;
}
public
java
.
util
.
Date
getLCD
()
{
return
this
.
lCD
;
}
public
void
setLCD
(
java
.
util
.
Date
lCD
)
{
this
.
lCD
=
lCD
;
}
public
String
getRealName
()
{
return
this
.
realName
;
}
public
void
setRealName
(
String
realName
)
{
this
.
realName
=
realName
;
}
public
Integer
getTreatmentType
()
{
return
this
.
treatmentType
;
}
public
void
setTreatmentType
(
Integer
treatmentType
)
{
this
.
treatmentType
=
treatmentType
;
}
public
String
getStreetCode
()
{
return
this
.
streetCode
;
}
public
void
setStreetCode
(
String
streetCode
)
{
this
.
streetCode
=
streetCode
;
}
public
Integer
getDataFrom
()
{
return
this
.
dataFrom
;
}
public
void
setDataFrom
(
Integer
dataFrom
)
{
this
.
dataFrom
=
dataFrom
;
}
public
String
getOrganId
()
{
return
this
.
organId
;
}
public
void
setOrganId
(
String
organId
)
{
this
.
organId
=
organId
;
}
public
String
getDistrictCity
()
{
return
this
.
districtCity
;
}
public
void
setDistrictCity
(
String
districtCity
)
{
this
.
districtCity
=
districtCity
;
}
public
String
getContactCertiCode
()
{
return
this
.
contactCertiCode
;
}
public
void
setContactCertiCode
(
String
contactCertiCode
)
{
this
.
contactCertiCode
=
contactCertiCode
;
}
public
String
getBankDistrictCity
()
{
return
this
.
bankDistrictCity
;
}
public
void
setBankDistrictCity
(
String
bankDistrictCity
)
{
this
.
bankDistrictCity
=
bankDistrictCity
;
}
public
String
getRefuseRemark
()
{
return
this
.
refuseRemark
;
}
public
void
setRefuseRemark
(
String
refuseRemark
)
{
this
.
refuseRemark
=
refuseRemark
;
}
public
Integer
getFCU
()
{
return
this
.
fCU
;
}
public
void
setFCU
(
Integer
fCU
)
{
this
.
fCU
=
fCU
;
}
public
String
getBankAccCode
()
{
return
this
.
bankAccCode
;
}
public
void
setBankAccCode
(
String
bankAccCode
)
{
this
.
bankAccCode
=
bankAccCode
;
}
public
String
getTEL
()
{
return
this
.
tEL
;
}
public
void
setTEL
(
String
tEL
)
{
this
.
tEL
=
tEL
;
}
public
String
getBankDistrictProvincial
()
{
return
this
.
bankDistrictProvincial
;
}
public
void
setBankDistrictProvincial
(
String
bankDistrictProvincial
)
{
this
.
bankDistrictProvincial
=
bankDistrictProvincial
;
}
public
String
getCheckRemark
()
{
return
this
.
checkRemark
;
}
public
void
setCheckRemark
(
String
checkRemark
)
{
this
.
checkRemark
=
checkRemark
;
}
public
Integer
getLCU
()
{
return
this
.
lCU
;
}
public
void
setLCU
(
Integer
lCU
)
{
this
.
lCU
=
lCU
;
}
}
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/disable/ChSrvOrgan.java
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
pojo
.
entity
.
disable
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.hungraim.ltc.pojo.entity.PageInfo
;
import
lombok.Data
;
import
java.io.Serializable
;
/**
* 护理机构表
*/
@Data
@TableName
(
"CH_SRV_ORGAN"
)
public
class
ChSrvOrgan
{
public
class
ChSrvOrgan
extends
PageInfo
implements
Serializable
{
@TableId
(
"srv_organ_id"
)
private
Integer
srvOrganId
;
private
String
acptRoadDetail
;
private
String
acptLongitude
;
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/eval/ChAprEmp.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
pojo
.
entity
.
eval
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
@Data
@TableName
(
"CH_APR_EMP"
)
public
class
ChAprEmp
{
private
Integer
empId
;
private
Integer
eduId
;
private
String
aprempTypeNameF
;
private
String
certiCode
;
private
Integer
isLock
;
private
String
certifTypeCode
;
private
String
eduCode
;
private
Integer
basicEmpId
;
private
java
.
util
.
Date
endTime
;
private
String
gender
;
private
Integer
defineEmp
;
private
Integer
cfgModeId
;
private
Integer
age
;
private
Integer
aprempTypeIdF
;
private
java
.
util
.
Date
fcd
;
private
Integer
empType
;
private
java
.
util
.
Date
lcd
;
private
String
realName
;
private
Integer
aprempTypeIdS
;
private
String
aprempTypeNameS
;
private
Integer
dataFrom
;
private
Integer
endEmp
;
private
String
address
;
private
Integer
fcu
;
private
String
tel
;
private
String
certifTypeId
;
private
Integer
groupLeader
;
private
java
.
util
.
Date
effTime
;
private
Integer
aprOrganId
;
private
Integer
lcu
;
}
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/eval/ChAprReport.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
pojo
.
entity
.
eval
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.KeySequence
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
lombok.Data
;
@Data
@TableName
(
"CH_APR_REPORT"
)
@KeySequence
(
value
=
"SEQ_CH_APR_REPORT"
)
public
class
ChAprReport
{
@TableId
(
value
=
"REPORT_ID"
,
type
=
IdType
.
INPUT
)
private
Integer
reportId
;
private
Integer
checkName
;
private
Integer
evaluateRatingType
;
private
Integer
status
;
private
java
.
util
.
Date
endTime
;
private
String
polNo
;
private
Integer
disableLevelId
;
private
String
evaluationRemark
;
private
Integer
defineEmp
;
private
Integer
cfgModeId
;
private
java
.
util
.
Date
evaluateTime
;
private
String
remark
;
private
java
.
util
.
Date
publicityStartTime
;
private
java
.
util
.
Date
evaluationTime
;
private
java
.
util
.
Date
publicityEndTime
;
private
java
.
util
.
Date
fcd
;
private
Integer
srvModeId
;
private
java
.
util
.
Date
lcd
;
private
Integer
simpleIntelligentScore
;
private
Integer
treatmentType
;
private
String
srvModeName
;
private
Integer
endEmp
;
private
String
publicityRemark
;
private
Integer
fcu
;
private
Integer
cfgAprId
;
private
String
evaluateRating
;
private
Integer
evaluationEmp
;
private
java
.
util
.
Date
effTime
;
private
Integer
aprTotalScore
;
private
String
checkRemark
;
private
Integer
taskId
;
private
Integer
lcu
;
}
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/eval/ChAprTask.java
View file @
e30d535d
...
...
@@ -20,7 +20,7 @@ public class ChAprTask {
private
java
.
util
.
Date
taskAppointmentDate
;
private
Integer
defineEmp
;
private
Integer
finishEmp
;
private
java
.
util
.
Date
f
CD
;
private
java
.
util
.
Date
f
cd
;
private
Integer
acceptEmp
;
private
java
.
util
.
Date
acceptTime
;
private
java
.
util
.
Date
lcd
;
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/assessment/TaskDistributionVO.java
View file @
e30d535d
...
...
@@ -27,6 +27,8 @@ public class TaskDistributionVO {
//失能人员身份证号码
private
String
certiCode
;
//年龄
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
Date
birthday
;
//出生年月
//诊断疾病 CH_FND_DISEASE_TYPE
private
String
diseTypeF
;
//大类
private
String
diseTypeS
;
//小类
...
...
governance/src/main/java/com/hungraim/ltc/governance/controller/BuildBedController.java
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
governance
.
controller
;
import
com.hungraim.ltc.governance.service.IBuildBedService
;
import
cn.hutool.core.util.StrUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ism.pojo.vo.disable.DisableEvaluateVO
;
import
com.hungraim.ltc.governance.service.*
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApply
;
import
com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan
;
import
com.hungraim.ltc.pojo.entity.governance.ChSrvBuildBed
;
import
com.hungraim.ltc.pojo.vo.governance.BuildBedSearchReq
;
import
com.hungraim.ltc.util.Result
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.*
;
import
javax.annotation.Resource
;
import
javax.servlet.http.HttpServletRequest
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
* @author jiaguokai
...
...
@@ -18,6 +30,15 @@ import javax.annotation.Resource;
public
class
BuildBedController
{
@Resource
private
IBuildBedService
buildBedService
;
@Resource
private
ApplyService
applyService
;
@Resource
private
CrvService
crvService
;
@Resource
private
DisableEvaluateService
disableEvaluateService
;
@PostMapping
(
"/searchOrgBed"
)
public
Result
searchOrgBed
(
@RequestBody
BuildBedSearchReq
req
)
{
...
...
@@ -25,8 +46,175 @@ public class BuildBedController {
}
@PostMapping
(
"/addBuild"
)
public
Result
buildBed
(
ChSrvBuildBed
buildBed
)
{
public
Result
<
Boolean
>
buildBed
(
ChSrvBuildBed
buildBed
)
{
boolean
b
=
buildBedService
.
save
(
buildBed
);
return
Result
.
success
(
b
);
}
/**
* 功能描述: 服务分配信息检索条件查询
*/
@GetMapping
(
"/pageFuwuCondition"
)
public
Result
pageFuwuCondition
(
HttpServletRequest
request
,
@RequestBody
(
required
=
false
)
ChDisableApply
disableApply
)
{
// 创建一个page对象
Page
<
ChDisableApply
>
disableApplyPage
=
new
Page
<
ChDisableApply
>(
disableApply
.
getCurrent
(),
disableApply
.
getLimit
());
// 构建条件
QueryWrapper
<
ChDisableApply
>
queryWrapper
=
new
QueryWrapper
<>();
// 多条件组合查询
// 机构id
String
organid
=
disableApply
.
getOrganId
();
// 失能人员姓名
String
name
=
disableApply
.
getRealName
();
// 失能人员手机号码
String
tel
=
disableApply
.
getTel
();
// 省
String
provincial
=
disableApply
.
getDistrictProvincial
();
// 市
String
city
=
disableApply
.
getDistrictCity
();
// 县
String
area
=
disableApply
.
getDistrictArea
();
// 失能人员身份证号码
String
certiCode
=
disableApply
.
getCertiCode
();
// 意向护理机构
Long
srvOrganId
=
disableApply
.
getSrvOrganId
();
// 服务方式
Long
srvModeId
=
disableApply
.
getSrvModeId
();
// 状态
Short
applyStatus
=
disableApply
.
getApplyStatus
();
if
(!
StrUtil
.
isEmpty
(
organid
))
{
queryWrapper
.
like
(
"organ_id"
,
organid
);
}
if
(!
StrUtil
.
isEmpty
(
name
))
{
queryWrapper
.
like
(
"real_name"
,
name
);
}
if
(!
StrUtil
.
isEmpty
(
tel
))
{
queryWrapper
.
like
(
"tel"
,
tel
);
}
if
(!
StrUtil
.
isEmpty
(
city
))
{
queryWrapper
.
like
(
"district_City"
,
city
);
}
if
(!
StrUtil
.
isEmpty
(
provincial
))
{
queryWrapper
.
like
(
"district_Provincial"
,
provincial
);
}
if
(!
StrUtil
.
isEmpty
(
area
))
{
queryWrapper
.
like
(
"district_Area"
,
area
);
}
if
(!
StrUtil
.
isEmpty
(
certiCode
))
{
queryWrapper
.
like
(
"certi_Code"
,
certiCode
);
}
if
(
srvOrganId
!=
null
)
{
queryWrapper
.
like
(
"srv_Organ_Id"
,
srvOrganId
);
}
if
(
srvModeId
!=
null
)
{
queryWrapper
.
like
(
"srv_Mode_Id"
,
srvModeId
);
}
if
(
applyStatus
!=
null
)
{
queryWrapper
.
like
(
"apply_Status"
,
applyStatus
);
}
// 调用方法实现分页查询
Page
<
ChDisableApply
>
page
=
applyService
.
seletPage
(
disableApplyPage
,
queryWrapper
);
//buildBedService.
// 总记录数
long
total
=
disableApplyPage
.
getTotal
();
List
<
ChDisableApply
>
records
=
disableApplyPage
.
getRecords
();
Map
map
=
new
HashMap
<>();
map
.
put
(
"total"
,
total
);
map
.
put
(
"recors"
,
records
);
return
Result
.
success
(
map
);
}
/**
* 根据id查询失能人员的评定信息
*/
@GetMapping
(
"/queryEvaluateById"
)
public
Result
queryEvaluateById
(
@ModelAttribute
ChDisableApply
chDisableApply
){
String
organId
=
chDisableApply
.
getOrganId
();
Long
srvOrganId
=
chDisableApply
.
getSrvOrganId
();
String
realName
=
chDisableApply
.
getRealName
();
String
certiCode
=
chDisableApply
.
getCertiCode
();
IPage
<
DisableEvaluateVO
>
disableEvaluateVOIPage
=
disableEvaluateService
.
disableEvaluateList
(
organId
,
srvOrganId
,
realName
,
certiCode
,
chDisableApply
.
getCurrent
(),
chDisableApply
.
getLimit
());
ChDisableApply
page
=
applyService
.
selectById
(
chDisableApply
.
getApplyId
());
// 查询是能人员最新评定信息
Map
map
=
new
HashMap
<>();
map
.
put
(
"disableEvaluate"
,
disableEvaluateVOIPage
.
getRecords
());
map
.
put
(
"chDisableApply"
,
page
);
return
Result
.
success
(
map
);
}
/**
*护理机构及服务方式檢索
*/
@GetMapping
(
"/PageCrv"
)
public
Result
PageCrv
(
HttpServletRequest
request
,
@RequestBody
(
required
=
false
)
ChSrvOrgan
chSrvOrgan
){
// 创建一个page对象
Page
<
ChSrvOrgan
>
chSrvOrganPage
=
new
Page
<
ChSrvOrgan
>(
chSrvOrgan
.
getCurrent
(),
chSrvOrgan
.
getLimit
());
// 构建条件
QueryWrapper
<
ChSrvOrgan
>
queryWrapper
=
new
QueryWrapper
<>();
// 多条件组合查询
// 机构id
String
srvid
=
chSrvOrgan
.
getOrganId
();
// 机构名称
String
srvOrganName
=
chSrvOrgan
.
getSrvOrganName
();
// 社会信用代码
String
code
=
chSrvOrgan
.
getUnifiedSocialCreditCode
();
if
(!
StrUtil
.
isEmpty
(
srvid
))
{
queryWrapper
.
like
(
"organ_id"
,
srvid
);
}
if
(!
StrUtil
.
isEmpty
(
srvOrganName
))
{
queryWrapper
.
like
(
"srv_Organ_Name"
,
srvOrganName
);
}
if
(!
StrUtil
.
isEmpty
(
code
))
{
queryWrapper
.
like
(
"unified_social_credit_code"
,
code
);
}
// 调用方法实现分页查询
Page
<
ChSrvOrgan
>
page
=
crvService
.
seletPage
(
chSrvOrganPage
,
queryWrapper
);
//buildBedService.
// 总记录数
long
total
=
chSrvOrganPage
.
getTotal
();
List
<
ChSrvOrgan
>
records
=
chSrvOrganPage
.
getRecords
();
Map
map
=
new
HashMap
<>();
map
.
put
(
"total"
,
total
);
map
.
put
(
"recors"
,
records
);
return
Result
.
success
(
map
);
}
/**
*提交分配机构
*/
@PostMapping
(
"/submit"
)
public
Result
submit
(
@RequestBody
(
required
=
false
)
ChDisableApply
chDisableApply
){
// 判斷參數是否存在
if
(
chDisableApply
.
getApplyId
()==
null
){
return
Result
.
failed
(
"机构id無效"
);
}
// 查出失能人員相關信息
ChDisableApply
apply
=
applyService
.
selectById
(
chDisableApply
.
getApplyId
());
ChSrvOrgan
chSrvOrgan
=
new
ChSrvOrgan
();
apply
.
setOrganId
(
chDisableApply
.
getOrganId
());
apply
.
setDistrictProvincial
(
chDisableApply
.
getDistrictProvincial
());
apply
.
setDistrictCity
(
chDisableApply
.
getDistrictCity
());
apply
.
setDistrictArea
(
chDisableApply
.
getDistrictArea
());
apply
.
setSrvModeId
(
chDisableApply
.
getSrvModeId
());
// apply.setSrvOrganName(chDisableApply.getSrvOrganName());
// apply.setOrganTypeId(chSrvOrgan.getOrganTypeId());
// apply.setUnifiedSocialCreditCode(chSrvOrgan.getUnifiedSocialCreditCode());
// apply.setSrvType(chSrvOrgan.getSrvType());
apply
.
setEndTime
(
chDisableApply
.
getEndTime
());
apply
.
setAcptRoadDetail
(
chDisableApply
.
getAcptRoadDetail
());
// apply.setAcptRoadType(chSrvOrgan.getAcptRoadType());
// crvService.updateById(apply);
applyService
.
updateById
(
apply
);
return
Result
.
success
(
apply
);
}
}
governance/src/main/java/com/hungraim/ltc/governance/controller/RemoveBedController.java
View file @
e30d535d
...
...
@@ -32,4 +32,6 @@ public class RemoveBedController {
return
Result
.
success
(
removeBedService
.
removeOne
(
removeBed
));
}
}
governance/src/main/java/com/hungraim/ltc/governance/dao/ApplyMapper.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
governance
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ism.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApply
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableInfo
;
import
org.apache.ibatis.annotations.Mapper
;
@Mapper
public
interface
ApplyMapper
extends
BaseMapper
<
ChDisableApply
>
{
}
governance/src/main/java/com/hungraim/ltc/governance/dao/BuildBedMapper.java
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
governance
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ism.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.entity.governance.ChSrvBuildBed
;
import
com.hungraim.ltc.pojo.vo.governance.BuildBedSearchReq
;
import
com.hungraim.ltc.pojo.vo.governance.BuildBedSearchRsp
;
...
...
@@ -18,4 +20,9 @@ import org.springframework.stereotype.Repository;
public
interface
BuildBedMapper
extends
BaseMapper
<
ChSrvBuildBed
>
{
Page
<
BuildBedSearchRsp
>
searchOrgBed
(
Page
<
BuildBedSearchRsp
>
page
,
@Param
(
"req"
)
BuildBedSearchReq
req
);
IPage
<
DisableVO
>
disableList
(
String
organId
,
String
organname
,
String
tel
,
String
srvmodename
,
String
area
,
String
city
,
String
certicode
,
String
applystatus
,
int
pageNum
,
int
pageSize
);
}
governance/src/main/java/com/hungraim/ltc/governance/dao/CrvMapper.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
governance
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApply
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableEvaluate
;
import
com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Select
;
import
java.util.List
;
@Mapper
public
interface
CrvMapper
extends
BaseMapper
<
ChSrvOrgan
>
{
}
governance/src/main/java/com/hungraim/ltc/governance/dao/DisableEvaluateMapper.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
governance
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ism.pojo.vo.disable.DisableEvaluateInfoVO
;
import
com.hungraim.ism.pojo.vo.disable.DisableEvaluateVO
;
import
com.hungraim.ism.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableEvaluate
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
/**
* 失能人员申请历史Mapper
*
* @author czz
*/
@Mapper
@Repository
public
interface
DisableEvaluateMapper
extends
BaseMapper
<
ChDisableEvaluate
>
{
/**
* 查询失能评定列表
*
* @param organId 适用机构代码
* @param srvOrganId 护理机构
* @param realName 失能人员姓名
* @param certiCode 失能人员身份证号码
*/
Page
<
DisableEvaluateVO
>
disableEvaluateList
(
Page
<
DisableVO
>
page
,
String
organId
,
Long
srvOrganId
,
String
realName
,
String
certiCode
);
DisableEvaluateInfoVO
selectDisableEvaluateInfoByEvaluateId
(
String
evaluateId
);
}
governance/src/main/java/com/hungraim/ltc/governance/service/ApplyService.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
governance
.
service
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.hungraim.ism.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApply
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableInfo
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
java.util.List
;
public
interface
ApplyService
extends
IService
<
ChDisableApply
>
{
Page
<
ChDisableApply
>
seletPage
(
Page
<
ChDisableApply
>
disableApplyPage
,
QueryWrapper
<
ChDisableApply
>
queryWrapper
);
ChDisableApply
selectById
(
Long
applyId
);
}
governance/src/main/java/com/hungraim/ltc/governance/service/CrvService.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
governance
.
service
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApply
;
import
com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan
;
public
interface
CrvService
extends
IService
<
ChSrvOrgan
>
{
Page
<
ChSrvOrgan
>
seletPage
(
Page
<
ChSrvOrgan
>
chSrvOrganPage
,
QueryWrapper
<
ChSrvOrgan
>
queryWrapper
);
ChSrvOrgan
selectById
(
long
applyId
);
}
governance/src/main/java/com/hungraim/ltc/governance/service/DisableEvaluateService.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
governance
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.hungraim.ism.pojo.vo.disable.DisableEvaluateInfoVO
;
import
com.hungraim.ism.pojo.vo.disable.DisableEvaluateVO
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableEvaluate
;
import
org.springframework.stereotype.Service
;
/**
* 失能申请Service
*
* @author czz
*/
@Service
public
interface
DisableEvaluateService
{
/**
* 失能评定列表
*
* @param organId 适用机构代码
* @param srvOrganId 护理机构
* @param realName 失能人员姓名
* @param certiCode 失能人员身份证号码
* @param pageNum 当前页
* @param pageSize 每页几条数据
* @return
*/
IPage
<
DisableEvaluateVO
>
disableEvaluateList
(
String
organId
,
Long
srvOrganId
,
String
realName
,
String
certiCode
,
int
pageNum
,
int
pageSize
);
/**
* 失能评定详情
*
* @param evaluateId 评定id
* @return 失能评定详情
*/
DisableEvaluateInfoVO
disableEvaluateInfo
(
String
evaluateId
);
void
addEvaluate
(
ChDisableEvaluate
disableEvaluate
);
void
disableEvaluate
(
String
applyId
,
String
checkName
,
Short
applyStatus
,
String
checkRemark
);
}
governance/src/main/java/com/hungraim/ltc/governance/service/IBuildBedService.java
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
governance
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.hungraim.ism.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.governance.dao.BuildBedMapper
;
import
com.hungraim.ltc.pojo.entity.disable.ChDepositAcct
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApply
;
import
com.hungraim.ltc.pojo.entity.governance.ChSrvBuildBed
;
import
com.hungraim.ltc.pojo.vo.governance.BuildBedSearchReq
;
import
com.hungraim.ltc.util.Result
;
import
org.springframework.beans.factory.annotation.Autowired
;
/**
* @author jiaguokai
*/
public
interface
IBuildBedService
extends
IService
<
ChSrvBuildBed
>
{
Result
searchOrgBed
(
BuildBedSearchReq
req
);
}
governance/src/main/java/com/hungraim/ltc/governance/service/impl/ApplyServiceImpl.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
governance
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.hungraim.ltc.governance.dao.ApplyMapper
;
import
com.hungraim.ltc.governance.service.ApplyService
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApply
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
@Service
public
class
ApplyServiceImpl
extends
ServiceImpl
<
ApplyMapper
,
ChDisableApply
>
implements
ApplyService
{
@Resource
private
ApplyMapper
applyMapper
;
@Override
public
Page
<
ChDisableApply
>
seletPage
(
Page
<
ChDisableApply
>
disableApplyPage
,
QueryWrapper
<
ChDisableApply
>
queryWrapper
)
{
return
applyMapper
.
selectPage
(
disableApplyPage
,
queryWrapper
);
}
@Override
public
ChDisableApply
selectById
(
Long
applyId
)
{
return
applyMapper
.
selectById
(
applyId
);
}
}
governance/src/main/java/com/hungraim/ltc/governance/service/impl/BuildBedServiceImpl.java
View file @
e30d535d
...
...
@@ -2,8 +2,11 @@ package com.hungraim.ltc.governance.service.impl;
import
cn.hutool.core.util.StrUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.hungraim.ism.pojo.vo.disable.DisableEvaluateInfoVO
;
import
com.hungraim.ism.pojo.vo.disable.DisableVO
;
import
com.hungraim.ltc.governance.dao.BuildBedMapper
;
import
com.hungraim.ltc.governance.service.IBuildBedService
;
import
com.hungraim.ltc.pojo.entity.governance.ChSrvBuildBed
;
...
...
@@ -15,6 +18,10 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
* @author jiaguokai
...
...
@@ -46,4 +53,6 @@ public class BuildBedServiceImpl extends ServiceImpl<BuildBedMapper, ChSrvBuildB
Page
page
=
buildBedMapper
.
searchOrgBed
(
new
Page
<>(
req
.
getPageNum
(),
req
.
getPageSize
()),
req
);
return
Result
.
success
(
page
);
}
}
governance/src/main/java/com/hungraim/ltc/governance/service/impl/CrvServiceImpl.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
governance
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.hungraim.ltc.governance.dao.CrvMapper
;
import
com.hungraim.ltc.governance.service.CrvService
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApply
;
import
com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan
;
import
org.springframework.stereotype.Service
;
import
javax.annotation.Resource
;
@Service
public
class
CrvServiceImpl
extends
ServiceImpl
<
CrvMapper
,
ChSrvOrgan
>
implements
CrvService
{
@Resource
private
CrvMapper
crvMapper
;
@Override
public
Page
<
ChSrvOrgan
>
seletPage
(
Page
<
ChSrvOrgan
>
chSrvOrganPage
,
QueryWrapper
<
ChSrvOrgan
>
queryWrapper
)
{
return
crvMapper
.
selectPage
(
chSrvOrganPage
,
queryWrapper
);
}
@Override
public
ChSrvOrgan
selectById
(
long
applyId
)
{
return
crvMapper
.
selectById
(
applyId
);
}
}
governance/src/main/java/com/hungraim/ltc/governance/service/impl/DisableEvaluateServiceImpl.java
0 → 100644
View file @
e30d535d
package
com
.
hungraim
.
ltc
.
governance
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ism.pojo.vo.disable.DisableEvaluateInfoVO
;
import
com.hungraim.ism.pojo.vo.disable.DisableEvaluateVO
;
import
com.hungraim.ltc.governance.dao.DisableEvaluateMapper
;
import
com.hungraim.ltc.governance.service.DisableEvaluateService
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableEvaluate
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
@Service
public
class
DisableEvaluateServiceImpl
implements
DisableEvaluateService
{
@Autowired
private
DisableEvaluateMapper
disableEvaluateList
;
@Override
public
IPage
<
DisableEvaluateVO
>
disableEvaluateList
(
String
organId
,
Long
srvOrganId
,
String
realName
,
String
certiCode
,
int
pageNum
,
int
pageSize
)
{
return
disableEvaluateList
.
disableEvaluateList
(
new
Page
(
pageNum
,
pageSize
),
organId
,
srvOrganId
,
realName
,
certiCode
);
}
@Override
public
DisableEvaluateInfoVO
disableEvaluateInfo
(
String
evaluateId
)
{
return
disableEvaluateList
.
selectDisableEvaluateInfoByEvaluateId
(
evaluateId
);
}
@Override
public
void
addEvaluate
(
ChDisableEvaluate
disableEvaluate
)
{
disableEvaluateList
.
insert
(
disableEvaluate
);
}
@Override
public
void
disableEvaluate
(
String
applyId
,
String
checkName
,
Short
applyStatus
,
String
checkRemark
)
{
/*ChDisableApply chDisableApply = disableEvaluateList.selectById(applyId);
chDisableApply.setCheckName(checkName);
chDisableApply.setApplyStatus(applyStatus);
chDisableApply.setCheckRemark(checkRemark);*/
}
}
\ No newline at end of file
governance/src/main/resources/com/hungraim/ltc/governance/mapper/ChDisableEvaluateMapper.xml
0 → 100644
View file @
e30d535d
<?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.governance.dao.DisableEvaluateMapper"
>
<select
id=
"disableEvaluateList"
resultType=
"com.hungraim.ism.pojo.vo.disable.DisableEvaluateVO"
>
select e.evaluate_id evaluateId,
o.ORGAN_NAME organName,
e.organ_id organId,
e.PROVINCE_CODE provincial,
e.CITY_CODE city,
e.AREA_CODE area,
e.REAL_NAME realName,
e.CERTI_CODE certiCode,
e.DISEASE_DESC diseaseDesc,
e.TEL tel,
e.SRV_ORGEN_ID srvOrgenId,
e.MODE_ID modeId,
e.EVALUATE_TIME evaluateTime
from CH_DISABLE_EVALUATE e,CH_FND_ORGAN o
where e.organ_id = o.ORGAN_ID
<if
test=
"organId != null"
>
and e.organ_Id = #{organId}
</if>
<if
test=
"srvOrganId != null"
>
and e.srv_Organ_Id = #{srvOrganId}
</if>
<if
test=
"realName != null"
>
and e.real_Name like '%'#{realName}'%'
</if>
<if
test=
"certiCode != null"
>
and e.certi_Code = #{certiCode}
</if>
</select>
<select
id=
"selectDisableEvaluateInfoByEvaluateId"
resultType=
"com.hungraim.ism.pojo.vo.disable.DisableEvaluateInfoVO"
>
select a.organ_id organId,
(select o1.organ_name from CH_FND_ORGAN o1 where a.organ_id = o1.organ_id) organName,
a.DISTRICT_PROVINCIAL provincial,
a.DISTRICT_CITY city,
a.DISTRICT_AREA area,
a.REAL_NAME name,
a.CERTI_CODE certiCode,
a.BIRTHDAY birthday,
a.GENDER gender,
a.TEL tel,
a.REGIST regist,
a.FIXED_TEL fixedTel,
a.TREATMENT_TYPE treatmentType,
a.ACPT_PROVINCIAL acptProvincial,
a.ACPT_CITY acptCity,
a.ACPT_AREA acptArea,
a.ACPT_STREET acptStreet,
a.ACPT_ADDRESS acptAddress,
a.ACPT_SRV_PROVINCIAL acptSrvProvincial,
a.ACPT_SRV_CITY acptSrvCity,
a.ACPT_SRV_AREA acptSrvArea,
a.ACPT_SRV_STREET acptSrvStreet,
a.ACPT_SRV_ROAD_DETAIL acptSrvRoadDetail,
a.ADRESS_DISTRICT_PROVINCIAL adressDistrictProvincial,
a.ADRESS_DISTRICT_CITY adressDistrictCity,
a.ADRESS_DISTRICT_CODE adressDistrictCode,
a.ADDRESS_ROAD_DETAIL addressRoadDetail,
a.ADDRESS_NUMBER_DETAIL addressNumberDetail,
a.DISEASE disease,
a.APPLY_METHOD applyMethod,
a.DISEASE_DESC diseaseDesc,
a.MEDICAL_CARD medicalCard,
a.MEDICAL_TYPE medicalType,
a.SRV_ORGAN_ID srvOrganId,
o.PERMIT_ID permitId,
a.OPER_NAME operName,
a.OPER_CERTI_CODE operCertiCode,
a.OPER_TEL operTel,
a.OPER_RELATION operRelation,
a.OPER_FIXED_TEL operFixedTel,
a.OPER_DISTRICT_PROVINCE operDistrictProvince,
a.OPER_DISTRICT_CITY operDistrictCity,
a.OPER_DISTRICT_CODE operDistrictCode,
a.OPER_STREET operStreet,
a.OPER_ADDRESS operAddress,
a.CHECK_NAME checkName,
a.APPLY_STATUS applyStatus,
a.CHECK_REMARK checkRemark
from ch_disable_evaluate a,
CH_SRV_ORGAN o
where a.EVALUATE_ID = #{evaluateId}
and a.SRV_ORGAN_ID = o.organ_code
</select>
</mapper>
\ No newline at end of file
system/system-admin-service/src/main/java/com/hungraim/ltc/system/controller/UserController.java
View file @
e30d535d
...
...
@@ -197,7 +197,7 @@ public class UserController {
/**
*
新增
用户
*
修改
用户
*/
@PostMapping
(
"/updateUser"
)
public
Result
updateUser
(
ReqUserInfo
reqUserInfo
)
{
if
(
reqUserInfo
.
getId
()
==
null
||
reqUserInfo
.
getId
()
==
0
)
{
...
...
@@ -216,10 +216,6 @@ public class UserController {
systemUser
.
setAccount
(
reqUserInfo
.
getAccount
());
flag
=
true
;
}
// if (!reqUserInfo.getAvatar().equals(systemUser.getAvatar())) {
// systemUser.setAvatar(reqUserInfo.getAvatar());
// flag = true;
// }
if
(!
reqUserInfo
.
getGender
().
equals
(
systemUser
.
getGender
()))
{
systemUser
.
setGender
(
reqUserInfo
.
getGender
());
flag
=
true
;
...
...
@@ -228,12 +224,10 @@ public class UserController {
systemUser
.
setUserId
(
reqUserInfo
.
getId
());
flag
=
true
;
}
if
(
flag
)
{
systemUser
.
setUpdatedTime
(
new
Date
());
userInfoService
.
save
(
systemUser
);
}
//查询该角色下所有的资源数据
List
<
SystemUserRole
>
roleResources
=
userRoleService
.
list
(
new
LambdaQueryWrapper
<
SystemUserRole
>().
eq
(
SystemUserRole:
:
getUserId
,
reqUserInfo
.
getId
()));
...
...
@@ -255,7 +249,6 @@ public class UserController {
return
systemRoleResource
;
}).
collect
(
Collectors
.
toList
());
userRoleService
.
saveBatch
(
newRoleResources
);
List
<
Long
>
deleteRoleResources
=
roleResources
.
stream
()
.
map
(
SystemUserRole:
:
getRoleId
).
filter
(
id
->
!
reqUserInfo
.
getRoleIds
().
contains
(
id
))
.
collect
(
Collectors
.
toList
());
...
...
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