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
14c96ea0
Commit
14c96ea0
authored
Oct 26, 2021
by
zhangch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
建床管理相关
parent
8d18a253
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
178 additions
and
132 deletions
+178
-132
BuildBedDetailVo.java
...com/hungraim/ltc/pojo/vo/governance/BuildBedDetailVo.java
+123
-123
BuildBedSearchRsp.java
...om/hungraim/ltc/pojo/vo/governance/BuildBedSearchRsp.java
+5
-1
BuildBedController.java
...ungraim/ltc/governance/controller/BuildBedController.java
+15
-3
SrvSendMapper.java
...n/java/com/hungraim/ltc/governance/dao/SrvSendMapper.java
+2
-1
IBuildBedService.java
...com/hungraim/ltc/governance/service/IBuildBedService.java
+8
-0
BuildBedServiceImpl.java
...raim/ltc/governance/service/impl/BuildBedServiceImpl.java
+23
-2
SrvSendServiceImpl.java
...graim/ltc/governance/service/impl/SrvSendServiceImpl.java
+1
-1
BuildBedMapper.xml
...ces/com/hungraim/ltc/governance/mapper/BuildBedMapper.xml
+1
-1
No files found.
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/governance/BuildBedDetailVo.java
View file @
14c96ea0
...
...
@@ -401,37 +401,37 @@ public class BuildBedDetailVo {
/**
* 生活状况评估——嗜好(抽烟(0有,1无))
*/
private
Boolean
hobbySmoking
;
private
Integer
hobbySmoking
;
/**
* 生活状况评估——嗜好(饮酒(0有,1无))
*/
private
Boolean
hobbyDrinkWine
;
private
Integer
hobbyDrinkWine
;
/**
* 生活状况评估——嗜好(喜咸(0有,1无))
*/
private
Boolean
hobbyLikeSalty
;
private
Integer
hobbyLikeSalty
;
/**
* 生活状况评估——嗜好(喜甜(0有,1无))
*/
private
Boolean
hobbyLikeSweet
;
private
Integer
hobbyLikeSweet
;
/**
* 生活状况评估——嗜好(喜辛辣(0有,1无))
*/
private
Boolean
hobbyLikeSpicyFood
;
private
Integer
hobbyLikeSpicyFood
;
/**
* 生活状况评估——嗜好(喜油腻(0有,1无))
*/
private
Boolean
hobbyLikeGreasy
;
private
Integer
hobbyLikeGreasy
;
/**
* 生活状况评估——嗜好(其它(0有,1无))
*/
private
Boolean
hobbyOther
;
private
Integer
hobbyOther
;
/**
* 生活状况评估——嗜好(其它-备注)
...
...
@@ -461,7 +461,7 @@ public class BuildBedDetailVo {
/**
* 生活状况评估——吸烟(其它(0有,1无))
*/
private
Boolean
smokeOther
;
private
Integer
smokeOther
;
/**
* 生活状况评估——吸烟(其它-备注)
...
...
@@ -487,7 +487,7 @@ public class BuildBedDetailVo {
/**
* 生活状况评估——饮酒(其它(0有,1无))
*/
private
Boolean
drinkWineOther
;
private
Integer
drinkWineOther
;
/**
* 生活状况评估——饮酒(其它-备注)
...
...
@@ -532,7 +532,7 @@ public class BuildBedDetailVo {
/**
* 生命体征评估——呼吸(规则(0有,1无))
*/
private
Boolean
breathingRule
;
private
Integer
breathingRule
;
/**
* 生命体征评估——呼吸(规则__次/分)
...
...
@@ -542,7 +542,7 @@ public class BuildBedDetailVo {
/**
* 生命体征评估——呼吸(不规则(0有,1无))
*/
private
Boolean
breathingIrregular
;
private
Integer
breathingIrregular
;
/**
* 生命体征评估——呼吸(不规则(1:咽息样,2:抽泣样,3:叹息样,4:其它))
...
...
@@ -567,32 +567,32 @@ public class BuildBedDetailVo {
/**
* 心里社会评估——情绪(镇静(0有,1无))
*/
private
Boolean
emotionCalm
;
private
Integer
emotionCalm
;
/**
* 心里社会评估——情绪(焦虑(0有,1无))
*/
private
Boolean
emotionAnxious
;
private
Integer
emotionAnxious
;
/**
* 心里社会评估——情绪(恐惧(0有,1无))
*/
private
Boolean
emotionFear
;
private
Integer
emotionFear
;
/**
* 心里社会评估——情绪(悲哀(0有,1无))
*/
private
Boolean
emotionGrief
;
private
Integer
emotionGrief
;
/**
* 心里社会评估——情绪(无反应((0有,1无)))
*/
private
Boolean
emotionNoResponse
;
private
Integer
emotionNoResponse
;
/**
* 心里社会评估——情绪(其它(0有,1无))
*/
private
Boolean
emotionOther
;
private
Integer
emotionOther
;
/**
* 心里社会评估——情绪(其它-备注)
...
...
@@ -602,37 +602,37 @@ public class BuildBedDetailVo {
/**
* 心里社会评估——情绪(易激动(0有,1无))
*/
private
Boolean
emotionHotbed
;
private
Integer
emotionHotbed
;
/**
* 心里社会评估——思维过程(正常(0有,1无))
*/
private
Boolean
thinkingProcessNormal
;
private
Integer
thinkingProcessNormal
;
/**
* 心里社会评估——思维过程(注意力分散(0有,1无))
*/
private
Boolean
thinkingProcessDistraction
;
private
Integer
thinkingProcessDistraction
;
/**
* 心里社会评估——思维过程(远期记忆力下降(0有,1无))
*/
private
Boolean
thinkingProcessFar
;
private
Integer
thinkingProcessFar
;
/**
* 心里社会评估——思维过程(近期记忆力下降(0有,1无))
*/
private
Boolean
thinkingProcessNear
;
private
Integer
thinkingProcessNear
;
/**
* 心里社会评估——思维过程(思维混乱(0有,1无))
*/
private
Boolean
thinkingProcessConfusion
;
private
Integer
thinkingProcessConfusion
;
/**
* 心里社会评估——思维过程(其它(0有,1无))
*/
private
Boolean
thinkingOther
;
private
Integer
thinkingOther
;
/**
* 心里社会评估——思维过程(其它——备注)
...
...
@@ -747,37 +747,37 @@ public class BuildBedDetailVo {
/**
* 跌倒风险评估——视力(正常(0有,1无))
*/
private
Boolean
visionNormal
;
private
Integer
visionNormal
;
/**
* 跌倒风险评估——视力(戴眼镜(0有,1无))
*/
private
Boolean
visionGlasses
;
private
Integer
visionGlasses
;
/**
* 跌倒风险评估——视力(视力模糊(0有,1无))
*/
private
Boolean
visionVague
;
private
Integer
visionVague
;
/**
* 跌倒风险评估——视力(青光眼(0有,1无))
*/
private
Boolean
visionGlaucoma
;
private
Integer
visionGlaucoma
;
/**
* 跌倒风险评估——视力(视觉障碍(0有,1无))
*/
private
Boolean
visionObstacle
;
private
Integer
visionObstacle
;
/**
* 跌倒风险评估——视力(失明(0有,1无))
*/
private
Boolean
visionGoBlind
;
private
Integer
visionGoBlind
;
/**
* 跌倒风险评估——视力(其它(0有,1无))
*/
private
Boolean
visionOther
;
private
Integer
visionOther
;
/**
* 跌倒风险评估——视力(其它-备注)
...
...
@@ -787,42 +787,42 @@ public class BuildBedDetailVo {
/**
* 跌倒风险评估——听力(正常(0有,1无))
*/
private
Boolean
hearingNormal
;
private
Integer
hearingNormal
;
/**
* 跌倒风险评估——听力(耳鸣(0有,1无))
*/
private
Boolean
hearingTinnitus
;
private
Integer
hearingTinnitus
;
/**
* 跌倒风险评估——听力(听力下降左(0有,1无))
*/
private
Boolean
hearingLeftDecline
;
private
Integer
hearingLeftDecline
;
/**
* 跌倒风险评估——听力(听力下降右(0有,1无))
*/
private
Boolean
hearingRightDecline
;
private
Integer
hearingRightDecline
;
/**
* 跌倒风险评估——听力(耳聋左(0有,1无))
*/
private
Boolean
hearingLeftDeaf
;
private
Integer
hearingLeftDeaf
;
/**
* 跌倒风险评估——听力(耳聋右(0有,1无))
*/
private
Boolean
hearingRightDeaf
;
private
Integer
hearingRightDeaf
;
/**
* 跌倒风险评估——听力(助听器(0有,1无))
*/
private
Boolean
hearingDeafAid
;
private
Integer
hearingDeafAid
;
/**
* 跌倒风险评估——听力(其它(0有,1无))
*/
private
Boolean
hearingOther
;
private
Integer
hearingOther
;
/**
* 跌倒风险评估——听力(其它-备注)
...
...
@@ -842,32 +842,32 @@ public class BuildBedDetailVo {
/**
* 跌倒风险评估——其它(药物(0有,1无))
*/
private
Boolean
otherMedicine
;
private
Integer
otherMedicine
;
/**
* 跌倒风险评估——其它(乙醇阶段(0有,1无))
*/
private
Boolean
otherEthanolPhase
;
private
Integer
otherEthanolPhase
;
/**
* 跌倒风险评估——其它(骨折史(0有,1无))
*/
private
Boolean
otherFracture
;
private
Integer
otherFracture
;
/**
* 跌倒风险评估——其它(严重骨质疏松(0有,1无))
*/
private
Boolean
otherSevereOsteoporosis
;
private
Integer
otherSevereOsteoporosis
;
/**
* 跌倒风险评估——其它(缺氧症(0有,1无))
*/
private
Boolean
otherAnoxia
;
private
Integer
otherAnoxia
;
/**
* 跌倒风险评估——其它(其它(0有,1无))
*/
private
Boolean
otherOther
;
private
Integer
otherOther
;
/**
* 跌倒风险评估——其它(其它-备注)
...
...
@@ -897,22 +897,22 @@ public class BuildBedDetailVo {
/**
* 体格检查——皮肤黏膜——皮肤完整性(完整(0有,1无))
*/
private
Boolean
skinComplete
;
private
Integer
skinComplete
;
/**
* 体格检查——皮肤黏膜——皮肤完整性(皮疹(0有,1无))
*/
private
Boolean
skinRash
;
private
Integer
skinRash
;
/**
* 体格检查——皮肤黏膜——皮肤完整性(出血点(0有,1无))
*/
private
Boolean
skinBleedingPoint
;
private
Integer
skinBleedingPoint
;
/**
* 体格检查——皮肤黏膜——皮肤完整性(压疮(1:Ⅰ°,2:Ⅱ°,3:Ⅲ°))
*/
private
Boolean
skinPressureSores
;
private
Integer
skinPressureSores
;
/**
* 体格检查——皮肤黏膜——皮肤完整性(部位_)
...
...
@@ -927,7 +927,7 @@ public class BuildBedDetailVo {
/**
* 体格检查——皮肤黏膜——皮肤完整性(其它(0有,1无))
*/
private
Boolean
skinOther
;
private
Integer
skinOther
;
/**
* 体格检查——皮肤黏膜——皮肤完整性(其它-备注)
...
...
@@ -948,32 +948,32 @@ public class BuildBedDetailVo {
/**
* 体格检查——皮肤黏膜——口腔黏膜(正常(0有,1无))
*/
private
Boolean
mucosaOralNormal
;
private
Integer
mucosaOralNormal
;
/**
* 体格检查——皮肤黏膜——口腔黏膜(充血(0有,1无))
*/
private
Boolean
mucosaOralCongestion
;
private
Integer
mucosaOralCongestion
;
/**
* 体格检查——皮肤黏膜——口腔黏膜(白斑(0有,1无))
*/
private
Boolean
mucosaOralLeukoplakia
;
private
Integer
mucosaOralLeukoplakia
;
/**
* 体格检查——皮肤黏膜——口腔黏膜(溃疡(0有,1无))
*/
private
Boolean
mucosaOralUlcer
;
private
Integer
mucosaOralUlcer
;
/**
* 体格检查——皮肤黏膜——口腔黏膜(糜烂(0有,1无))
*/
private
Boolean
mucosaOralErosion
;
private
Integer
mucosaOralErosion
;
/**
* 体格检查——皮肤黏膜——口腔黏膜(其它(0有,1无))
*/
private
Boolean
mucosaOralOther
;
private
Integer
mucosaOralOther
;
/**
* 体格检查——皮肤黏膜——口腔黏膜(其它-备注)
...
...
@@ -983,27 +983,27 @@ public class BuildBedDetailVo {
/**
* 体格检查——腹部检查(平软(0有,1无))
*/
private
Boolean
abdominalSoft
;
private
Integer
abdominalSoft
;
/**
* 体格检查——腹部检查(肌紧张(0有,1无))
*/
private
Boolean
abdominalMuscularTension
;
private
Integer
abdominalMuscularTension
;
/**
* 体格检查——腹部检查(压痛(0有,1无))
*/
private
Boolean
abdominalTenderness
;
private
Integer
abdominalTenderness
;
/**
* 体格检查——腹部检查(反跳痛(0有,1无))
*/
private
Boolean
abdominalReboundPain
;
private
Integer
abdominalReboundPain
;
/**
* 体格检查——腹部检查(可触及包块(0有,1无))
*/
private
Boolean
abdominalPalpableParcel
;
private
Integer
abdominalPalpableParcel
;
/**
* 体格检查——腹部检查(可触及包块(部位及性质_))
...
...
@@ -1013,12 +1013,12 @@ public class BuildBedDetailVo {
/**
* 体格检查——腹部检查(腹胀(0有,1无))
*/
private
Boolean
abdominalAbdominalDistention
;
private
Integer
abdominalAbdominalDistention
;
/**
* 体格检查——腹部检查(腹水(0有,1无))
*/
private
Boolean
abdominalAscites
;
private
Integer
abdominalAscites
;
/**
* 体格检查——腹部检查(腹围_cm)
...
...
@@ -1028,32 +1028,32 @@ public class BuildBedDetailVo {
/**
* 体格检查——神经系统——意识(清楚(0有,1无))
*/
private
Boolean
nervousSystemClear
;
private
Integer
nervousSystemClear
;
/**
* 体格检查——神经系统——意识(嗜睡(0有,1无))
*/
private
Boolean
nervousSystemDrowsiness
;
private
Integer
nervousSystemDrowsiness
;
/**
* 体格检查——神经系统——意识(模糊(0有,1无))
*/
private
Boolean
nervousSystemVague
;
private
Integer
nervousSystemVague
;
/**
* 体格检查——神经系统——意识(昏睡(0有,1无))
*/
private
Boolean
nervousSystemLethargy
;
private
Integer
nervousSystemLethargy
;
/**
* 体格检查——神经系统——意识(谵妄(0有,1无))
*/
private
Boolean
nervousSystemDelirium
;
private
Integer
nervousSystemDelirium
;
/**
* 体格检查——神经系统——意识(昏迷(0有,1无))
*/
private
Boolean
nervousSystemComa
;
private
Integer
nervousSystemComa
;
/**
* 体格检查——神经系统——意识(昏迷(1:轻度昏迷,2:中度昏迷,3:重度昏迷))
...
...
@@ -1104,42 +1104,42 @@ public class BuildBedDetailVo {
/**
* 体格检查——呼吸系统——症状(咳嗽(0有,1无))
*/
private
Boolean
respiratorySymptomCough
;
private
Integer
respiratorySymptomCough
;
/**
* 体格检查——呼吸系统——症状(咳痰(0有,1无))
*/
private
Boolean
expectoration
;
private
Integer
expectoration
;
/**
* 体格检查——呼吸系统——症状(咳痰(粘痰(0有,1无)))
*/
private
Boolean
stickyPhlegm
;
private
Integer
stickyPhlegm
;
/**
* 体格检查——呼吸系统——症状(咳痰(黄痰(0有,1无)))
*/
private
Boolean
yellowPhlegm
;
private
Integer
yellowPhlegm
;
/**
* 体格检查——呼吸系统——症状(咳痰(浓痰(0有,1无)))
*/
private
Boolean
phlegm
;
private
Integer
phlegm
;
/**
* 体格检查——呼吸系统——症状(咳痰(铁锈色痰(0有,1无)))
*/
private
Boolean
rustySputum
;
private
Integer
rustySputum
;
/**
* 体格检查——呼吸系统——症状(咳痰(红色痰(0有,1无)))
*/
private
Boolean
redSputum
;
private
Integer
redSputum
;
/**
* 体格检查——呼吸系统——症状(其它(0有,1无))
*/
private
Boolean
respiratoryOther
;
private
Integer
respiratoryOther
;
/**
* 体格检查——呼吸系统——症状(其它-备注)
...
...
@@ -1150,37 +1150,37 @@ public class BuildBedDetailVo {
/**
* 体格检查——循环系统(心悸(0有,1无))
*/
private
Boolean
circulatoryPalpitation
;
private
Integer
circulatoryPalpitation
;
/**
* 体格检查——循环系统(胸闷(0有,1无))
*/
private
Boolean
circulatoryChestTightness
;
private
Integer
circulatoryChestTightness
;
/**
* 体格检查——循环系统(胸痛(0有,1无))
*/
private
Boolean
circulatoryChestPain
;
private
Integer
circulatoryChestPain
;
/**
* 体格检查——循环系统(胸痛(针刺样(0有,1无)))
*/
private
Boolean
circulatoryAcupuncture
;
private
Integer
circulatoryAcupuncture
;
/**
* 体格检查——循环系统(胸痛(压榨样(0有,1无)))
*/
private
Boolean
circulatoryPress
;
private
Integer
circulatoryPress
;
/**
* 体格检查——循环系统(胸痛(烧灼样(0有,1无)))
*/
private
Boolean
circulatoryBurning
;
private
Integer
circulatoryBurning
;
/**
* 体格检查——循环系统(胸痛(其它(0有,1无)))
*/
private
Boolean
chestPainOther
;
private
Integer
chestPainOther
;
/**
* 体格检查——循环系统(胸痛(其它-备注))
...
...
@@ -1190,7 +1190,7 @@ public class BuildBedDetailVo {
/**
* 体格检查——循环系统(水肿(0有,1无))
*/
private
Boolean
circulatoryEdema
;
private
Integer
circulatoryEdema
;
/**
* 体格检查——循环系统(水肿(1:凹陷性,2:非凹陷性))
...
...
@@ -1200,17 +1200,17 @@ public class BuildBedDetailVo {
/**
* 体格检查——循环系统(晕厥(0有,1无))
*/
private
Boolean
circulatorySyncope
;
private
Integer
circulatorySyncope
;
/**
* 体格检查——循环系统(晕厥(1:偶尔,2:经常))
*/
private
Boolean
circulatorySyncopeType
;
private
Integer
circulatorySyncopeType
;
/**
* 体格检查——循环系统(紫绀(0有,1无))
*/
private
Boolean
circulatoryCyanosis
;
private
Integer
circulatoryCyanosis
;
/**
* 体格检查——循环系统(紫绀(部位_))
...
...
@@ -1220,7 +1220,7 @@ public class BuildBedDetailVo {
/**
* 体格检查——循环系统(其它(0有,1无))
*/
private
Boolean
circulatoryOther
;
private
Integer
circulatoryOther
;
/**
* 体格检查——循环系统(其它-备注)
...
...
@@ -1230,12 +1230,12 @@ public class BuildBedDetailVo {
/**
* 体格检查——消化系统(恶心(0有,1无))
*/
private
Boolean
digestionNausea
;
private
Integer
digestionNausea
;
/**
* 体格检查——消化系统(呕吐(0有,1无))
*/
private
Boolean
digestionVomit
;
private
Integer
digestionVomit
;
/**
* 体格检查——消化系统(呕吐_次/天)
...
...
@@ -1255,22 +1255,22 @@ public class BuildBedDetailVo {
/**
* 体格检查——消化系统(暖气(0有,1无))
*/
private
Boolean
digestionHeating
;
private
Integer
digestionHeating
;
/**
* 体格检查——消化系统(反酸(0有,1无))
*/
private
Boolean
digestionAcidRegurgitation
;
private
Integer
digestionAcidRegurgitation
;
/**
* 体格检查——消化系统(灼烧感(0有,1无))
*/
private
Boolean
digestionBurningSensation
;
private
Integer
digestionBurningSensation
;
/**
* 体格检查——消化系统(其它(0有,1无))
*/
private
Boolean
digestionOther
;
private
Integer
digestionOther
;
/**
* 体格检查——消化系统(其它-备注)
...
...
@@ -1280,22 +1280,22 @@ public class BuildBedDetailVo {
/**
* 体格检查——外阴、生殖系统——女性——外阴(正常(0有,1无))
*/
private
Boolean
fVulvaNormal
;
private
Integer
fVulvaNormal
;
/**
* 体格检查——外阴、生殖系统——女性——外阴(瘙痒(0有,1无))
*/
private
Boolean
fVulvaItch
;
private
Integer
fVulvaItch
;
/**
* 体格检查——外阴、生殖系统——女性——外阴(白斑(0有,1无))
*/
private
Boolean
fVulvaLeukoplakia
;
private
Integer
fVulvaLeukoplakia
;
/**
* 体格检查——外阴、生殖系统——女性——外阴(其它(0有,1无))
*/
private
Boolean
fVulvaOther
;
private
Integer
fVulvaOther
;
/**
* 体格检查——外阴、生殖系统——女性——外阴(其它-备注))
...
...
@@ -1305,37 +1305,37 @@ public class BuildBedDetailVo {
/**
* 体格检查——外阴、生殖系统——女性——生殖系统(月经紊乱(0有,1无))
*/
private
Boolean
fMenstrualDisorder
;
private
Integer
fMenstrualDisorder
;
/**
* 体格检查——外阴、生殖系统——女性——生殖系统(痛经(0有,1无))
*/
private
Boolean
fDysmenorrhea
;
private
Integer
fDysmenorrhea
;
/**
* 体格检查——外阴、生殖系统——女性——生殖系统(月经量过多(0有,1无)))
*/
private
Boolean
fMenorrhagia
;
private
Integer
fMenorrhagia
;
/**
* 体格检查——外阴、生殖系统——女性——生殖系统(月经量过少(0有,1无))
*/
private
Boolean
fHypomenorrhea
;
private
Integer
fHypomenorrhea
;
/**
* 体格检查——外阴、生殖系统——女性——生殖系统(白带异常(0有,1无))
*/
private
Boolean
fAbnormalLeucorrhea
;
private
Integer
fAbnormalLeucorrhea
;
/**
* 体格检查——外阴、生殖系统——女性——生殖系统(已绝经(0有,1无))
*/
private
Boolean
fMenopause
;
private
Integer
fMenopause
;
/**
* 体格检查——外阴、生殖系统——女性——生殖系统(其它(0有,1无))
*/
private
Boolean
fReproductionOther
;
private
Integer
fReproductionOther
;
/**
* 体格检查——外阴、生殖系统——女性——生殖系统(其它-备注)
...
...
@@ -1345,22 +1345,22 @@ public class BuildBedDetailVo {
/**
* 体格检查——外阴、生殖系统——男性——外阴(正常(0有,1无))
*/
private
Boolean
mVulvaNormal
;
private
Integer
mVulvaNormal
;
/**
* 体格检查——外阴、生殖系统——男性——外阴(瘙痒(0有,1无))
*/
private
Boolean
mVulvaItch
;
private
Integer
mVulvaItch
;
/**
* 体格检查——外阴、生殖系统——男性——外阴(白斑(0有,1无))
*/
private
Boolean
mVulvaLeukoplakia
;
private
Integer
mVulvaLeukoplakia
;
/**
* 体格检查——外阴、生殖系统——男性——外阴(其它(0有,1无))
*/
private
Boolean
mVulvaOther
;
private
Integer
mVulvaOther
;
/**
* 体格检查——外阴、生殖系统——男性——外阴(其它-备注))
...
...
@@ -1370,27 +1370,27 @@ public class BuildBedDetailVo {
/**
* 体格检查——外阴、生殖系统——男性——生殖系统(前列腺增生(0有,1无))
*/
private
Boolean
mProstaticHyperplasia
;
private
Integer
mProstaticHyperplasia
;
/**
* 体格检查——外阴、生殖系统——男性——生殖系统(前列腺炎(0有,1无))
*/
private
Boolean
mProstatitis
;
private
Integer
mProstatitis
;
/**
* 体格检查——外阴、生殖系统——男性——生殖系统(前列腺钙化(0有,1无))
*/
private
Boolean
mCalcificationOfProstate
;
private
Integer
mCalcificationOfProstate
;
/**
* 体格检查——外阴、生殖系统——男性——生殖系统(前列腺囊肿(0有,1无))
*/
private
Boolean
mProstaticCyst
;
private
Integer
mProstaticCyst
;
/**
* 体格检查——外阴、生殖系统——男性——生殖系统(其它(0有,1无))
*/
private
Boolean
mReproductionOther
;
private
Integer
mReproductionOther
;
/**
* 体格检查——外阴、生殖系统——男性——生殖系统(其它-备注)
...
...
@@ -1400,42 +1400,42 @@ public class BuildBedDetailVo {
/**
* 置管与治疗——鼻胃管(0有,1无)
*/
private
Boolean
nasogastricTube
;
private
Integer
nasogastricTube
;
/**
* 置管与治疗——留置尿管(0有,1无)
*/
private
Boolean
indwellingCatheter
;
private
Integer
indwellingCatheter
;
/**
* 置管与治疗——气管插管(0有,1无)
*/
private
Boolean
endotrachealIntubation
;
private
Integer
endotrachealIntubation
;
/**
* 置管与治疗——造瘘管(0有,1无)
*/
private
Boolean
fistulae
;
private
Integer
fistulae
;
/**
* 置管与治疗——膀胱冲洗(0有,1无)
*/
private
Boolean
bladderIrrigation
;
private
Integer
bladderIrrigation
;
/**
* 置管与治疗——膀胱滴药(0有,1无)
*/
private
Boolean
bladderDrops
;
private
Integer
bladderDrops
;
/**
* 置管与治疗——肛管排气(0有,1无)
*/
private
Boolean
analExhaust
;
private
Integer
analExhaust
;
/**
* 置管与治疗——其它(0有,1无)
*/
private
Boolean
catheterizationOther
;
private
Integer
catheterizationOther
;
/**
* 置管与治疗——其它-备注(0有,1无)
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/governance/BuildBedSearchRsp.java
View file @
14c96ea0
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
governance
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
/**
...
...
@@ -9,7 +10,8 @@ import lombok.Data;
public
class
BuildBedSearchRsp
{
private
String
buildBedId
;
private
String
provinceCity
;
private
String
districtProvincial
;
private
String
districtCity
;
private
String
realName
;
private
String
certiCode
;
private
String
tel
;
...
...
@@ -21,7 +23,9 @@ public class BuildBedSearchRsp {
private
String
changhuNo
;
private
String
specialZone
;
private
String
bedNumber
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
String
buildBedTime
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
String
removeBedTime
;
private
String
status
;
}
governance/src/main/java/com/hungraim/ltc/governance/controller/BuildBedController.java
View file @
14c96ea0
...
...
@@ -72,7 +72,7 @@ public class BuildBedController {
//家庭住址
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
if
(
buildBedDetailVo
.
getNursingDemandLevel
()
!=
null
&&
buildBedDetailVo
.
getNursingDemandLevel
()
>=
1
&&
buildBedDetailVo
.
getNursingDemandLevel
()
<=
5
)
{
if
(
buildBedDetailVo
.
getNursingDemandLevel
()
==
null
||
buildBedDetailVo
.
getNursingDemandLevel
()
<
1
||
buildBedDetailVo
.
getNursingDemandLevel
()
>
5
)
{
//护理需求等级
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
...
...
@@ -80,7 +80,7 @@ public class BuildBedController {
//长护号
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
if
(
buildBedDetailVo
.
getGuaranteeMode
()
!=
null
&&
buildBedDetailVo
.
getGuaranteeMode
()
>=
1
&&
buildBedDetailVo
.
getGuaranteeMode
()
<=
3
)
{
if
(
buildBedDetailVo
.
getGuaranteeMode
()
==
null
||
buildBedDetailVo
.
getGuaranteeMode
()
<
1
||
buildBedDetailVo
.
getGuaranteeMode
()
>
3
)
{
//保障方式
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
...
...
@@ -89,6 +89,18 @@ public class BuildBedController {
}
/**
* 查询建床详情
*
* @param buildBedId 建床详情id
* @return 返回建床详情
*/
@GetMapping
(
"getBuildBedDetail"
)
public
Result
<
BuildBedDetailVo
>
getBuildBedDetail
(
Integer
buildBedId
)
{
BuildBedDetailVo
buildBedDetailVo
=
buildBedService
.
getBuildBedDetail
(
buildBedId
);
return
Result
.
success
(
buildBedDetailVo
);
}
/**
* 功能描述: 服务分配信息检索条件查询
*/
@PostMapping
(
"/pageFuwuCondition"
)
...
...
@@ -202,7 +214,7 @@ public class BuildBedController {
if
(
StringUtils
.
isBlank
(
realName
)
||
null
==
srvOrganId
)
{
return
Result
.
failed
(
ResultCode
.
REQUEST_PARAM_ERROR
);
}
IPage
<
SearchDisableSimpleVo
>
searchDisableSimpleVoIPage
=
sendService
.
buildBedSearchByRealName
(
pageNum
,
pageSize
,
srvOrganId
,
realName
);
IPage
<
SearchDisableSimpleVo
>
searchDisableSimpleVoIPage
=
sendService
.
buildBedSearchByRealName
(
pageNum
,
pageSize
,
srvOrganId
,
realName
);
return
Result
.
success
(
searchDisableSimpleVoIPage
);
}
}
...
...
governance/src/main/java/com/hungraim/ltc/governance/dao/SrvSendMapper.java
View file @
14c96ea0
...
...
@@ -3,7 +3,6 @@ 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.ltc.pojo.entity.assessment.ChAprTask
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableInfo
;
import
com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan
;
import
com.hungraim.ltc.pojo.entity.serviceManage.ChSrvSend
;
...
...
@@ -81,7 +80,9 @@ public interface SrvSendMapper extends BaseMapper<ChSrvSend> {
" FROM "
+
"CH_SRV_SEND t1"
+
" LEFT JOIN CH_DISABLE_INFO t2 ON t1.DISAB_INFO_ID = t2.DISAB_INFO_ID "
+
" LEFT JOIN CH_SRV_BUILD_BED t3 ON t2.DISAB_INFO_ID = t3.DISAB_INFO_ID "
+
" WHERE "
+
"t3.BUILD_BED_ID IS NOT NULL "
+
"t1.SRV_ORGAN_ID = #{srvOrganId} "
+
" AND t2.REAL_NAME LIKE CONCAT( '%', CONCAT( #{realName}, '%' ) )"
)
IPage
<
SearchDisableSimpleVo
>
buildBedSearchByRealName
(
Page
<
SearchDisableSimpleVo
>
page
,
Integer
srvOrganId
,
String
realName
);
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/IBuildBedService.java
View file @
14c96ea0
...
...
@@ -14,4 +14,12 @@ public interface IBuildBedService extends IService<ChSrvBuildBed> {
void
saveOrUpdateBuildBed
(
BuildBedDetailVo
buildBedDetailVo
);
/**
* 查询建床详情
*
* @param buildBedId 建床详情id
* @return 返回建床详情
*/
BuildBedDetailVo
getBuildBedDetail
(
Integer
buildBedId
);
}
governance/src/main/java/com/hungraim/ltc/governance/service/impl/BuildBedServiceImpl.java
View file @
14c96ea0
...
...
@@ -12,6 +12,7 @@ import com.hungraim.ltc.pojo.vo.governance.BuildBedSearchReq;
import
com.hungraim.ltc.pojo.vo.system.AttachUpdateVo
;
import
com.hungraim.ltc.util.AttachType
;
import
com.hungraim.ltc.util.Result
;
import
com.hungraim.ltc.util.ResultCode
;
import
lombok.AllArgsConstructor
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.BeanUtils
;
...
...
@@ -47,14 +48,34 @@ public class BuildBedServiceImpl extends ServiceImpl<BuildBedMapper, ChSrvBuildB
List
<
ChFndAttach
>
fileDataList
=
buildBedDetailVo
.
getFileDataList
();
chSrvBuildBed
.
setStatus
(
0
);
// 状态(0已建床,1已撤床)
chSrvBuildBed
.
setAccountStatus
(
0
);
// 结算状态(0,未结算;1,结算中;2,已结算)
this
.
saveOrUpdate
(
chSrvBuildBed
);
buildBedDetailVo
.
setBuildBedId
(
chSrvBuildBed
.
getBuildBedId
());
this
.
updateAttachs
(
buildBedDetailVo
);
}
@Override
public
BuildBedDetailVo
getBuildBedDetail
(
Integer
buildBedId
)
{
ChSrvBuildBed
chSrvBuildBed
=
this
.
getById
(
buildBedId
);
BuildBedDetailVo
buildBedDetailVo
=
new
BuildBedDetailVo
();
BeanUtils
.
copyProperties
(
chSrvBuildBed
,
buildBedDetailVo
);
try
{
Result
<
List
<
ChFndAttach
>>
result
=
attachFeignService
.
selectAttachs
(
buildBedId
.
longValue
(),
AttachType
.
BUILD_BED
.
getUploadType
());
if
(
ResultCode
.
SUCCESS
.
getCode
().
equals
(
result
.
getCode
()))
{
buildBedDetailVo
.
setFileDataList
(
result
.
getData
());
}
else
{
log
.
error
(
"请求获取建床附件失败:{}"
,
result
.
getMsg
());
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
log
.
error
(
"请求获取建床附件失败:{}"
,
e
.
getMessage
());
}
return
buildBedDetailVo
;
}
/**
* 调用feign api来修改附件数据
*
* @param buildBedDetailVo
* @param buildBedDetailVo
建床详情封装对象
*/
private
void
updateAttachs
(
BuildBedDetailVo
buildBedDetailVo
)
{
// zhangch 20210525 新增附件修改逻辑
...
...
governance/src/main/java/com/hungraim/ltc/governance/service/impl/SrvSendServiceImpl.java
View file @
14c96ea0
...
...
@@ -61,7 +61,7 @@ public class SrvSendServiceImpl extends ServiceImpl<SrvSendMapper, ChSrvSend> im
@Override
public
IPage
<
SearchDisableSimpleVo
>
buildBedSearchByRealName
(
Integer
pageNum
,
Integer
pageSize
,
Integer
srvOrganId
,
String
realName
)
{
return
sendMapper
.
buildBedSearchByRealName
(
new
Page
<
SearchDisableSimpleVo
>(
pageNum
,
pageSize
),
srvOrganId
,
realName
);
return
sendMapper
.
buildBedSearchByRealName
(
new
Page
<>(
pageNum
,
pageSize
),
srvOrganId
,
realName
);
}
...
...
governance/src/main/resources/com/hungraim/ltc/governance/mapper/BuildBedMapper.xml
View file @
14c96ea0
...
...
@@ -5,7 +5,7 @@
<select
id=
"searchOrgBed"
parameterType=
"com.hungraim.ltc.pojo.vo.governance.BuildBedSearchReq"
resultType=
"com.hungraim.ltc.pojo.vo.governance.BuildBedSearchRsp"
>
SELECT a.BUILD_BED_ID,
CONCAT(b.DISTRICT_PROVINCIAL, b.DISTRICT_CITY) AS province_city
, b.REAL_NAME,
SELECT a.BUILD_BED_ID,
b.DISTRICT_PROVINCIAL, b.DISTRICT_CITY
, b.REAL_NAME,
b.CERTI_CODE, b.TEL, TRUNC(months_between(sysdate, b.BIRTHDAY)/12) AS age,
DECODE(b.GENDER, 'M','男','F', '女') gender, a.ADRESS_DETAIL as address,
a.NURSING_DEMAND_LEVEL, a.SRV_MODE, a.CHANGHU_NO, a.SPECIAL_ZONE, a.BED_NUMBER, TO_CHAR(a.BUILD_BED_TIME, 'yyyy-MM-dd') AS build_bed_time,
...
...
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