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
6af211cb
Commit
6af211cb
authored
Apr 16, 2021
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
失能申请审核通过插入失能人员及失能评定数据
parent
6db2146c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
179 additions
and
0 deletions
+179
-0
AprTaskMapper.java
...ice/src/main/java/com/hungraim/ism/dao/AprTaskMapper.java
+16
-0
DisableInfoMapper.java
...src/main/java/com/hungraim/ism/dao/DisableInfoMapper.java
+16
-0
DisableServiceImpl.java
...ava/com/hungraim/ism/service/impl/DisableServiceImpl.java
+17
-0
ChDisableInfo.java
...a/com/hungraim/ltc/pojo/entity/disable/ChDisableInfo.java
+130
-0
No files found.
apply/apply-service/src/main/java/com/hungraim/ism/dao/AprTaskMapper.java
0 → 100644
View file @
6af211cb
package
com
.
hungraim
.
ism
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprTask
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
/**
* 失能评定Mapper
*
* @author czz
*/
@Mapper
@Repository
public
interface
AprTaskMapper
extends
BaseMapper
<
ChAprTask
>
{
}
apply/apply-service/src/main/java/com/hungraim/ism/dao/DisableInfoMapper.java
0 → 100644
View file @
6af211cb
package
com
.
hungraim
.
ism
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
/**
* 失能人员信息Mapper
*
* @author czz
*/
@Mapper
@Repository
public
interface
DisableInfoMapper
extends
BaseMapper
<
ChDisableInfo
>
{
}
apply/apply-service/src/main/java/com/hungraim/ism/service/impl/DisableServiceImpl.java
View file @
6af211cb
package
com
.
hungraim
.
ism
.
service
.
impl
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.StrUtil
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
...
...
@@ -9,6 +10,7 @@ import com.hungraim.ism.pojo.vo.disable.DisableVO;
import
com.hungraim.ism.pojo.vo.disable.ExamineRecord
;
import
com.hungraim.ism.service.DisableService
;
import
com.hungraim.ltc.pojo.entity.disable.*
;
import
com.hungraim.ltc.pojo.entity.eval.ChAprTask
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.beans.BeanUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
...
@@ -38,6 +40,10 @@ public class DisableServiceImpl implements DisableService {
private
FndDiseaseTypeMapper
fndDiseaseTypeMapper
;
@Autowired
private
DisableApplyHisMapper
disableApplyHisMapper
;
@Autowired
private
DisableInfoMapper
disableInfoMapper
;
@Autowired
private
AprTaskMapper
aprTaskMapper
;
/**
* 获取机构ids
...
...
@@ -105,6 +111,17 @@ public class DisableServiceImpl implements DisableService {
chDisableApply
.
setCheckRemark
(
checkRemark
);
chDisableApply
.
setCheckTime
(
date
);
disableApplyMapper
.
updateById
(
chDisableApply
);
//添加失能人员信息
ChDisableInfo
chDisableInfo
=
new
ChDisableInfo
();
BeanUtil
.
copyProperties
(
chDisableApply
,
chDisableInfo
);
disableInfoMapper
.
insert
(
chDisableInfo
);
//添加失能评定信息
ChAprTask
chAprTask
=
new
ChAprTask
();
BeanUtil
.
copyProperties
(
chDisableApply
,
chAprTask
);
aprTaskMapper
.
insert
(
chAprTask
);
}
disableApplyHisMapper
.
insert
(
chDisableApplyHis
);
}
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/disable/ChDisableInfo.java
0 → 100644
View file @
6af211cb
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.io.Serializable
;
@Data
@TableName
(
"CH_DISABLE_INFO"
)
@KeySequence
(
value
=
"SEQ_CH_DISABLE_INFO"
)
public
class
ChDisableInfo
implements
Serializable
{
@TableId
(
value
=
"DISAB_INFO_ID"
,
type
=
IdType
.
INPUT
)
private
Integer
disabInfoId
;
private
String
agentLatitude
;
private
String
acptRoadDetail
;
private
java
.
util
.
Date
checkTime
;
private
String
certiCode
;
private
String
registAddress
;
private
String
diseaseDesc
;
private
String
operDistrictCode
;
private
String
registCity
;
private
Integer
endEmg
;
private
String
operName
;
private
String
medicalHistory
;
private
String
operAddress
;
private
String
adressDistrictCity
;
private
Integer
acptRoadType
;
private
String
acptProvincial
;
private
Integer
leftHandGrip
;
private
String
operRoadDetail
;
private
String
acptSrvAddress
;
private
Integer
weight
;
private
java
.
util
.
Date
birthday
;
private
String
medicalHistory2
;
private
String
medicalHistory3
;
private
Integer
defineEmg
;
private
String
adressDetail
;
private
String
registArea
;
private
String
medicalHistory1
;
private
String
doctorName
;
private
java
.
util
.
Date
fcd
;
private
String
addressNumberDetail
;
private
String
fixedTel
;
private
String
addressLongitude
;
private
String
acptNumberDetail
;
private
String
adressDistrictProvincial
;
private
Integer
treatmentType
;
private
Integer
dataFrom
;
private
String
organId
;
private
String
addressLatitude
;
private
String
disease
;
private
Integer
fcu
;
private
Integer
acptSrvNumberType
;
private
Integer
bodyIncomplete
;
private
Integer
aprTotalScore
;
private
String
checkName
;
private
String
doctorNumber
;
private
String
acptSrvNumberDetail
;
private
Integer
diseTypeF
;
private
Integer
diseTypeS
;
private
String
districtArea
;
private
String
operTel
;
private
Integer
applyId
;
private
Integer
operRoadType
;
private
Integer
cfgModeId
;
private
String
operFixedTel
;
private
Integer
addressType
;
private
String
street
;
private
String
acptAddress
;
private
String
acptSrvProvincial
;
private
String
acptSrvLongitude
;
private
String
acptLatitude
;
private
String
acptArea
;
private
String
operNumberDetail
;
private
String
checkRemark
;
private
java
.
util
.
Date
effTime
;
private
String
operDistrictCity
;
private
Integer
addressRoadType
;
private
String
acptLongitude
;
private
String
operCertiCode
;
private
String
acptSrvRoadDetail
;
private
Integer
srvOrganIntent
;
private
Integer
acptSrvType
;
private
String
agentLongitude
;
private
Integer
rightHandGrip
;
private
String
registLatitude
;
private
java
.
util
.
Date
endTime
;
private
String
acptCity
;
private
Integer
acptNumberType
;
private
String
adressDistrictCode
;
private
String
medicalCard
;
private
Integer
acptSrvRoadType
;
private
String
reason
;
private
Integer
hearingObstacle
;
private
Integer
lastTaskId
;
private
java
.
util
.
Date
lCD
;
private
String
realName
;
private
Integer
regist
;
private
Integer
operNumberType
;
private
Integer
visionObstacle
;
private
String
acptSrvStreet
;
private
String
addressRoadDetail
;
private
String
districtCity
;
private
String
operDistrictProvincial
;
private
Integer
lcu
;
private
Integer
crossDistrict
;
private
String
districtProvincial
;
private
Integer
medicalType
;
private
Integer
aplOrganId
;
private
Integer
acptType
;
private
String
acptSrvLatitude
;
private
String
registStreet
;
private
Integer
operRelation
;
private
Integer
aprConfY
;
private
String
acptSrvCity
;
private
String
gender
;
private
Integer
addressNumberType
;
private
String
acptStreet
;
private
String
operStreet
;
private
Integer
srvModeId
;
private
Integer
height
;
private
String
registProvincial
;
private
String
registLongitude
;
private
Integer
applyStatus
;
private
String
tel
;
private
String
acptSrvArea
;
}
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