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
389ffd87
Commit
389ffd87
authored
Mar 13, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
失能人员退出历史记录
parent
7c5d5687
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
84 additions
and
3 deletions
+84
-3
DisableController.java
...n/java/com/hungraim/ltc/controller/DisableController.java
+0
-1
DisableExitMapper.java
...src/main/java/com/hungraim/ltc/dao/DisableExitMapper.java
+22
-0
DisableServiceImpl.java
...ava/com/hungraim/ltc/service/impl/DisableServiceImpl.java
+20
-2
ChDisableExit.java
...a/com/hungraim/ltc/pojo/entity/disable/ChDisableExit.java
+33
-0
ChDisableInfo.java
...a/com/hungraim/ltc/pojo/entity/disable/ChDisableInfo.java
+9
-0
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/controller/DisableController.java
View file @
389ffd87
...
@@ -500,7 +500,6 @@ public class DisableController {
...
@@ -500,7 +500,6 @@ public class DisableController {
/**
/**
* 失能人员信息退出列表
* 失能人员信息退出列表
*
*
* @param pageNum 当前页
* @param pageNum 当前页
* @param pageSize 每页几条数据
* @param pageSize 每页几条数据
* @return 失能人员信息列表
* @return 失能人员信息列表
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/dao/DisableExitMapper.java
0 → 100644
View file @
389ffd87
package
com
.
hungraim
.
ltc
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableExit
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableInfo
;
import
com.hungraim.ltc.pojo.vo.disable.DisableInfoListVo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.stereotype.Repository
;
/**
* 失能人员退出Mapper
*
* @author
*/
@Mapper
@Repository
public
interface
DisableExitMapper
extends
BaseMapper
<
ChDisableExit
>
{
}
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/DisableServiceImpl.java
View file @
389ffd87
...
@@ -58,11 +58,15 @@ public class DisableServiceImpl implements DisableService {
...
@@ -58,11 +58,15 @@ public class DisableServiceImpl implements DisableService {
private
final
AttachFeignService
attachFeignService
;
private
final
AttachFeignService
attachFeignService
;
private
final
ChDisableInfoChangeMapper
chDisableInfoChangeMapper
;
private
final
ChDisableInfoChangeMapper
chDisableInfoChangeMapper
;
private
final
DisableInfoHisMapper
disableInfoHisMapper
;
private
final
DisableInfoHisMapper
disableInfoHisMapper
;
private
final
DisableExitMapper
disableExitMapper
;
private
final
OrganService
organService
;
private
final
OrganService
organService
;
@Autowired
@Autowired
private
ChDisableRiskLevelMapper
chDisableRiskLevelMapper
;
private
ChDisableRiskLevelMapper
chDisableRiskLevelMapper
;
/**
/**
* 获取机构ids
* 获取机构ids
*
*
...
@@ -594,13 +598,27 @@ public class DisableServiceImpl implements DisableService {
...
@@ -594,13 +598,27 @@ public class DisableServiceImpl implements DisableService {
chDisableInfo
.
setExitSrvOrganId
(
srvOrganId
);
chDisableInfo
.
setExitSrvOrganId
(
srvOrganId
);
int
result
=
disableInfoMapper
.
updateById
(
chDisableInfo
);
int
result
=
disableInfoMapper
.
updateById
(
chDisableInfo
);
/**
* 1, 死亡
* 2, "复评未通过" },//需要重新首次录入-->评估
* 3, 退保
* 4, 转入医保
* 5, 异地
* 6, 更换其他机构
* 7, 其他
**/
if
(
exitReasonId
==
3
||
exitReasonId
==
4
||
exitReasonId
==
5
||
exitReasonId
==
6
||
exitReasonId
==
7
){
if
(
exitReasonId
==
3
||
exitReasonId
==
4
||
exitReasonId
==
5
||
exitReasonId
==
6
||
exitReasonId
==
7
){
// 解除护理机构分配
// 解除护理机构分配
// delete from CH_SRV_SEND where DISAB_INFO_ID = '327'
// delete from CH_SRV_SEND where DISAB_INFO_ID = '327'
disableInfoMapper
.
deleteSrvSend
(
disableInfoId
,
exitTime
);
//
disableInfoMapper.deleteSrvSend(disableInfoId,exitTime);
}
}
ChDisableExit
chDisableExit
=
new
ChDisableExit
();
chDisableExit
.
setDisabInfoId
(
disableInfoId
);
chDisableExit
.
setExitReasonId
(
exitReasonId
);
chDisableExit
.
setExitTime
(
date
);
chDisableExit
.
setSrvOrganId
(
srvOrganId
);
disableExitMapper
.
insert
(
chDisableExit
);
return
result
;
return
result
;
}
}
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/disable/ChDisableExit.java
0 → 100644
View file @
389ffd87
package
com
.
hungraim
.
ltc
.
pojo
.
entity
.
disable
;
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
;
import
java.util.Date
;
/**
* @author zwl
* @ClassName ChDisableExit
* @description
* @date 2023/3/10 16:20
**/
@Data
@TableName
(
"CH_DISABLE_EXIT"
)
@KeySequence
(
value
=
"SEQ_CH_DISABLE_EXIT"
)
public
class
ChDisableExit
{
@TableId
(
value
=
"DISAB_EXIT_ID"
,
type
=
IdType
.
INPUT
)
private
Integer
disabExitId
;
private
Integer
disabInfoId
;
private
Integer
srvOrganId
;
private
Integer
exitReasonId
;
private
Date
exitTime
;
}
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/disable/ChDisableInfo.java
View file @
389ffd87
...
@@ -130,6 +130,15 @@ public class ChDisableInfo extends PageInfo implements Serializable {
...
@@ -130,6 +130,15 @@ public class ChDisableInfo extends PageInfo implements Serializable {
private
String
tel
;
private
String
tel
;
private
String
acptSrvArea
;
private
String
acptSrvArea
;
private
Integer
exitFlag
;
private
Integer
exitFlag
;
/**
* 1, 死亡
* 2, "复评未通过" },//需要重新首次录入-->评估
* 3, 退保
* 4, 转入医保
* 5, 异地
* 6, 更换其他机构
* 7, 其他
**/
private
Integer
exitReasonId
;
private
Integer
exitReasonId
;
private
Integer
exitSrvOrganId
;
private
Integer
exitSrvOrganId
;
private
java
.
util
.
Date
exitTime
;
private
java
.
util
.
Date
exitTime
;
...
...
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