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
309c1e10
Commit
309c1e10
authored
Sep 07, 2021
by
wzs162
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改修改
parent
ced95151
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
55 additions
and
42 deletions
+55
-42
DisableInfoChangeMapper.xml
...ice/src/main/resources/mapper/DisableInfoChangeMapper.xml
+18
-16
ChDisableApplyMapper.xml
...ervice/src/main/resources/mapper/ChDisableApplyMapper.xml
+26
-23
ChDisableApplyVo.java
...va/com/hungraim/ltc/pojo/vo/disable/ChDisableApplyVo.java
+2
-1
DisableInfoChangeDetailVo.java
...ngraim/ltc/pojo/vo/disable/DisableInfoChangeDetailVo.java
+6
-2
DisableInfoChangeVo.java
...com/hungraim/ltc/pojo/vo/disable/DisableInfoChangeVo.java
+3
-0
No files found.
apply/apply-service/src/main/resources/mapper/DisableInfoChangeMapper.xml
View file @
309c1e10
...
@@ -4,23 +4,25 @@
...
@@ -4,23 +4,25 @@
<select
id=
"getListDisableInfoChange"
resultType=
"com.hungraim.ltc.pojo.vo.disable.DisableInfoChangeVo"
>
<select
id=
"getListDisableInfoChange"
resultType=
"com.hungraim.ltc.pojo.vo.disable.DisableInfoChangeVo"
>
select
select
(select ORGAN_NAME from CH_FND_ORGAN organ where change.ORGAN_ID=organ.ORGAN_ID )organName,
change.CHANGE_ID changeId,
change.ORGAN_ID organId,
organ.ORGAN_NAME organName,
change.DISTRICT_PROVINCE districtProvince,
change.ORGAN_ID organId,
change.DISTRICT_CITY districtCity,
change.DISTRICT_PROVINCE districtProvince,
change.DISTRICT_AREA districtArea,
change.DISTRICT_CITY districtCity,
(select ORGAN_NAME from CH_FND_ORGAN organ where change.APL_ORGAN_ID=organ.ORGAN_ID)aplOrganName,
change.DISTRICT_AREA districtArea,
change.REAL_NAME realName,
(select ORGAN_NAME from CH_FND_ORGAN organ where change.APL_ORGAN_ID=organ.ORGAN_ID)aplOrganName,
change.GENDER gender,
change.REAL_NAME realName,
change.BIRTHDAY birthday,
change.GENDER gender,
change.CERTIF_NUM certifNum,
change.BIRTHDAY birthday,
change.TEL tel,
change.CERTIF_NUM certifNum,
(select SRV_MODE_NAME from CH_FND_SRV_MODE cfdt where disinfo.SRV_MODE_ID=cfdt.SRV_MODE_ID)srvModeName,
change.TEL tel,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE where disinfo.DISE_TYPE_S = DISE_TYPE_ID) diseTypeS,
(select SRV_MODE_NAME from CH_FND_SRV_MODE cfdt where disinfo.SRV_MODE_ID=cfdt.SRV_MODE_ID)srvModeName,
change.EFF_TIME effTime,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE where disinfo.DISE_TYPE_S = DISE_TYPE_ID) diseTypeS,
change.APPLY_STATUS applyStatus
change.EFF_TIME effTime,
change.APPLY_STATUS applyStatus
from CH_DISABLE_INFO_CHANGE change
from CH_DISABLE_INFO_CHANGE change
left join CH_DISABLE_INFO disinfo on change.DISAB_INFO_ID=disinfo.DISAB_INFO_ID
left join CH_DISABLE_INFO disinfo on change.DISAB_INFO_ID=disinfo.DISAB_INFO_ID
left join CH_FND_ORGAN organ on change.ORGAN_ID=organ.ORGAN_ID
<where>
<where>
and task.APR_TYPE = 0
and task.APR_TYPE = 0
<if
test=
"organId != null"
>
<if
test=
"organId != null"
>
...
...
assessment/assessment-service/src/main/resources/mapper/ChDisableApplyMapper.xml
View file @
309c1e10
...
@@ -7,39 +7,42 @@
...
@@ -7,39 +7,42 @@
apply.APPLY_ID applyId,
apply.APPLY_ID applyId,
apply.ORGAN_ID organId,
apply.ORGAN_ID organId,
fndOrgan.ORGAN_NAME organName,
fndOrgan.ORGAN_NAME organName,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ACPT_PROVINCIAL= dis.DISTRICT_CODE)
districtProvincial,
apply.ACPT_PROVINCIAL
districtProvincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ACPT_CITY = dis.DISTRICT_CODE)
districtCity,
apply.ACPT_CITY
districtCity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ACPT_AREA = dis.DISTRICT_CODE)
districtArea,
apply.ACPT_AREA
districtArea,
(select STREET_NAME from CH_FND_STREET dis where apply.ACPT_STREET=dis.STREET_CODE)
acptStreet,
apply.ACPT_STREET
acptStreet,
apply.REAL_NAME realName,apply.CERTI_CODE certiCode,apply.BIRTHDAY birthday,apply.GENDER gender,apply.TEL tel,
apply.REAL_NAME realName,apply.CERTI_CODE certiCode,apply.BIRTHDAY birthday,apply.GENDER gender,apply.TEL tel,
apply.FIXED_TEL fixedTel,apply.REGIST regist,
apply.FIXED_TEL fixedTel,apply.REGIST regist,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ACPT_SRV_PROVINCIAL= dis.DISTRICT_CODE) acptSrvProvincial,
apply.ACPT_SRV_PROVINCIAL acptSrvProvincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ACPT_SRV_CITY = dis.DISTRICT_CODE) acptSrvCity,
apply.ACPT_SRV_CITY acptSrvCity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ACPT_SRV_AREA = dis.DISTRICT_CODE) acptSrvArea,
apply.ACPT_SRV_AREA acptSrvArea,
(select STREET_NAME from CH_FND_STREET dis where apply.ACPT_SRV_STREET=dis.STREET_CODE)acptSrvStreet,
apply.ACPT_SRV_STREET acptSrvStreet,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ADRESS_DISTRICT_PROVINCIAL= dis.DISTRICT_CODE) adressDistrictProvincial,
apply.ADRESS_DISTRICT_PROVINCIAL adressDistrictProvincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ADRESS_DISTRICT_CITY = dis.DISTRICT_CODE) adressDistrictCity,
apply.ADRESS_DISTRICT_CITY adressDistrictCity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ADRESS_DISTRICT_CODE = dis.DISTRICT_CODE) adressDistrictCode,
apply.ADRESS_DISTRICT_CODE adressDistrictCode,
(select STREET_NAME from CH_FND_STREET dis where apply.ADDRESS_ROAD_DETAIL=dis.STREET_CODE)addressRoadDetail,
apply.ADDRESS_ROAD_DETAIL addressRoadDetail,
apply.DISE_TYPE_F diseTypeF,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE cfdt where apply.DISE_TYPE_F = cfdt.DISE_TYPE_ID) diseTypeF,
apply.DISE_TYPE_S diseTypeS,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE cfdt where apply.DISE_TYPE_S = cfdt.DISE_TYPE_ID) diseTypeS,
srvMode.SRV_MODE_NAME srvModeName,
(select SRV_MODE_NAME from CH_FND_SRV_MODE cfdt where apply.SRV_MODE_ID=cfdt.SRV_MODE_ID)srvModeName,
apply.DISEASE_DESC diseaseDesc,
apply.DISEASE_DESC diseaseDesc,
(select MDC_NAME from CH_FND_MEDICAL_TYPE where apply.MEDICAL_TYPE=MDC_TYPE)
mdcName,
medicalType.MDC_NAME
mdcName,
(select SRV_ORGAN_NAME from CH_SRV_ORGAN where apply.SRV_ORGAN_ID=CH_SRV_ORGAN.SRV_ORGAN_ID)
srvOrganName,
srvOrgan.SRV_ORGAN_NAME
srvOrganName,
apply.OPER_NAME operName,apply.OPER_CERTI_CODE operCertiCode,apply.OPER_TEL operTel,apply.OPER_RELATION operRelation,
apply.OPER_NAME operName,apply.OPER_CERTI_CODE operCertiCode,apply.OPER_TEL operTel,apply.OPER_RELATION operRelation,
apply.OPER_FIXED_TEL operFixedTel,
apply.OPER_FIXED_TEL operFixedTel,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.OPER_DISTRICT_PROVINCE= dis.DISTRICT_CODE)
operDistrictProvince,
apply.OPER_DISTRICT_PROVINCE
operDistrictProvince,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.OPER_DISTRICT_CITY = dis.DISTRICT_CODE)
operDistrictCity,
apply.OPER_DISTRICT_CITY
operDistrictCity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.OPER_DISTRICT_CODE = dis.DISTRICT_CODE)
operDistrictCode,
apply.OPER_DISTRICT_CODE
operDistrictCode,
(select STREET_NAME from CH_FND_STREET dis where apply.OPER_ROAD_DETAIL=dis.STREET_CODE)
operRoadDetail,
apply.OPER_ROAD_DETAIL
operRoadDetail,
apply.REASONS_REVIEW reasonsReview,
apply.REASONS_REVIEW reasonsReview,
apply.APPLY_STATUS applyStatus,
apply.APPLY_STATUS applyStatus,
(select APL_STATUS_NAME from CH_FND_APPLY_STATUS_TYPE where apply.APPLY_STATUS=APL_STATUS_TYPE)
applyStatusName,
applyStatusType.APL_STATUS_NAME
applyStatusName,
apply.REASONS_REMARK reasonsRemark
apply.REASONS_REMARK reasonsRemark
from CH_DISABLE_APPLY apply
from CH_DISABLE_APPLY apply
left join CH_FND_ORGAN fndOrgan on apply.ORGAN_ID=fndOrgan.ORGAN_ID
left join CH_FND_ORGAN fndOrgan on apply.ORGAN_ID=fndOrgan.ORGAN_ID
left join CH_FND_SRV_MODE srvMode on apply.SRV_MODE_ID=srvMode.SRV_MODE_ID
left join CH_FND_MEDICAL_TYPE medicalType on apply.MEDICAL_TYPE=medicalType.MDC_TYPE
left join SRV_ORGAN_NAME srvOrgan on apply.SRV_ORGAN_ID=srvOrgan.SRV_ORGAN_ID
left join CH_FND_APPLY_STATUS_TYPE applyStatusType on apply.APPLY_STATUS=applyStatusType.APL_STATUS_TYPE
where apply.APPLY_ID = #{applyId}
where apply.APPLY_ID = #{applyId}
</select>
</select>
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/disable/ChDisableApplyVo.java
View file @
309c1e10
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
disable
;
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
disable
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
import
org.springframework.format.annotation.DateTimeFormat
;
import
org.springframework.format.annotation.DateTimeFormat
;
...
@@ -47,7 +48,7 @@ public class ChDisableApplyVo {
...
@@ -47,7 +48,7 @@ public class ChDisableApplyVo {
/**
/**
* 出生年月
* 出生年月
*/
*/
@
DateTimeFormat
(
pattern
=
"yyyy-MM-dd
"
)
@
JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8
"
)
private
Date
birthday
;
private
Date
birthday
;
/**
/**
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/disable/DisableInfoChangeDetailVo.java
View file @
309c1e10
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
disable
;
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
disable
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.Date
;
@Data
@Data
public
class
DisableInfoChangeDetailVo
{
public
class
DisableInfoChangeDetailVo
{
/**
/**
...
@@ -39,7 +42,8 @@ public class DisableInfoChangeDetailVo {
...
@@ -39,7 +42,8 @@ public class DisableInfoChangeDetailVo {
/**
/**
* 出生年月
* 出生年月
*/
*/
private
String
birthday
;
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
birthday
;
/**
/**
* 性别
* 性别
*/
*/
...
@@ -113,7 +117,7 @@ public class DisableInfoChangeDetailVo {
...
@@ -113,7 +117,7 @@ public class DisableInfoChangeDetailVo {
/**
/**
* 审核结果
* 审核结果
*/
*/
private
s
hort
applyStatus
;
private
S
hort
applyStatus
;
/**
/**
* 备注
* 备注
*/
*/
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/disable/DisableInfoChangeVo.java
View file @
309c1e10
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
disable
;
package
com
.
hungraim
.
ltc
.
pojo
.
vo
.
disable
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.Date
;
import
java.util.Date
;
...
@@ -47,6 +48,7 @@ public class DisableInfoChangeVo {
...
@@ -47,6 +48,7 @@ public class DisableInfoChangeVo {
/**
/**
* 出生年月
* 出生年月
*/
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
,
timezone
=
"GMT+8"
)
private
Date
birthday
;
private
Date
birthday
;
/**
/**
...
@@ -69,6 +71,7 @@ public class DisableInfoChangeVo {
...
@@ -69,6 +71,7 @@ public class DisableInfoChangeVo {
/**
/**
* 申请提交时间
* 申请提交时间
*/
*/
@JsonFormat
(
pattern
=
"yyyy-MM-dd HH:mm:ss"
,
timezone
=
"GMT+8"
)
private
Date
effTime
;
private
Date
effTime
;
/**
/**
* 审核状态
* 审核状态
...
...
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