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
bcbb7dd0
Commit
bcbb7dd0
authored
Apr 06, 2021
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
失能人员信息列表
parent
61eb432b
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
171 additions
and
43 deletions
+171
-43
DisableController.java
...n/java/com/hungraim/ism/controller/DisableController.java
+10
-9
DisableApplyHisMapper.java
...main/java/com/hungraim/ism/dao/DisableApplyHisMapper.java
+2
-2
DisableService.java
...rc/main/java/com/hungraim/ism/service/DisableService.java
+3
-3
DisableServiceImpl.java
...ava/com/hungraim/ism/service/impl/DisableServiceImpl.java
+4
-3
bootstrap.yml
apply/apply-service/src/main/resources/bootstrap.yml
+1
-1
ChDisableApplyHisMapper.xml
...ice/src/main/resources/mapper/ChDisableApplyHisMapper.xml
+6
-5
ApplicationManagementVO.java
...hungraim/ism/pojo/vo/disable/ApplicationManagementVO.java
+0
-20
DisableVO.java
...main/java/com/hungraim/ism/pojo/vo/disable/DisableVO.java
+145
-0
No files found.
apply/apply-service/src/main/java/com/hungraim/ism/controller/DisableController.java
View file @
bcbb7dd0
package
com
.
hungraim
.
ism
.
controller
;
package
com
.
hungraim
.
ism
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.hungraim.ism.pojo.vo.disable.
ApplicationManagement
VO
;
import
com.hungraim.ism.pojo.vo.disable.
Disable
VO
;
import
com.hungraim.ism.service.DisableService
;
import
com.hungraim.ism.service.DisableService
;
import
com.hungraim.ltc.util.Result
;
import
com.hungraim.ltc.util.Result
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
...
@@ -25,7 +25,7 @@ public class DisableController {
...
@@ -25,7 +25,7 @@ public class DisableController {
private
DisableService
disableService
;
private
DisableService
disableService
;
/**
/**
*
待遇申请管理
列表
*
失能人员信息
列表
*
*
* @param organId 适用机构代码
* @param organId 适用机构代码
* @param districtProvincial 所在省
* @param districtProvincial 所在省
...
@@ -35,16 +35,17 @@ public class DisableController {
...
@@ -35,16 +35,17 @@ public class DisableController {
* @param certiCode 参保人身份证号码
* @param certiCode 参保人身份证号码
* @param treatmentType 待遇类型
* @param treatmentType 待遇类型
* @param applyStatus 审核状态
* @param applyStatus 审核状态
* @param currentPage 当前页
* @param pageNum 当前页
* @return 待遇申请管理列表
* @param pageSize 每页几条数据
* @return 失能人员信息列表
*/
*/
@RequestMapping
(
"/
applicationManagement
List"
)
@RequestMapping
(
"/
disable
List"
)
public
Result
<
List
<
ApplicationManagement
VO
>>
disableList
(
String
organId
,
String
districtProvincial
,
public
Result
<
List
<
Disable
VO
>>
disableList
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
treatmentType
,
String
realName
,
String
certiCode
,
String
treatmentType
,
String
applyStatus
,
int
currentPag
e
)
{
String
applyStatus
,
int
pageNum
,
int
pageSiz
e
)
{
IPage
<
ApplicationManagementVO
>
iPage
=
disableService
.
applicationManagement
List
(
organId
,
districtProvincial
,
IPage
<
DisableVO
>
iPage
=
disableService
.
disable
List
(
organId
,
districtProvincial
,
districtCity
,
districtArea
,
realName
,
certiCode
,
treatmentType
,
applyStatus
,
currentPage
,
10
);
districtCity
,
districtArea
,
realName
,
certiCode
,
treatmentType
,
applyStatus
,
pageNum
,
pageSize
);
return
Result
.
success
(
iPage
.
getRecords
());
return
Result
.
success
(
iPage
.
getRecords
());
}
}
...
...
apply/apply-service/src/main/java/com/hungraim/ism/dao/DisableApplyHisMapper.java
View file @
bcbb7dd0
...
@@ -3,7 +3,7 @@ package com.hungraim.ism.dao;
...
@@ -3,7 +3,7 @@ package com.hungraim.ism.dao;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ism.pojo.vo.disable.ApplicationManagementInfoVO
;
import
com.hungraim.ism.pojo.vo.disable.ApplicationManagementInfoVO
;
import
com.hungraim.ism.pojo.vo.disable.
ApplicationManagement
VO
;
import
com.hungraim.ism.pojo.vo.disable.
Disable
VO
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
import
org.springframework.stereotype.Repository
;
...
@@ -28,7 +28,7 @@ public interface DisableApplyHisMapper extends BaseMapper<ChDisableApplyHis> {
...
@@ -28,7 +28,7 @@ public interface DisableApplyHisMapper extends BaseMapper<ChDisableApplyHis> {
* @param treatmentType 待遇类型
* @param treatmentType 待遇类型
* @param applyStatus 审核状态
* @param applyStatus 审核状态
*/
*/
Page
<
ApplicationManagementVO
>
applicationManagementList
(
Page
<
ApplicationManagement
VO
>
page
,
String
organId
,
String
provincial
,
String
city
,
String
area
,
String
name
,
String
certiCode
,
String
treatmentType
,
String
applyStatus
);
Page
<
DisableVO
>
disableList
(
Page
<
Disable
VO
>
page
,
String
organId
,
String
provincial
,
String
city
,
String
area
,
String
name
,
String
certiCode
,
String
treatmentType
,
String
applyStatus
);
ApplicationManagementInfoVO
selectApplicationManagementInfoById
(
String
id
);
ApplicationManagementInfoVO
selectApplicationManagementInfoById
(
String
id
);
}
}
apply/apply-service/src/main/java/com/hungraim/ism/service/DisableService.java
View file @
bcbb7dd0
package
com
.
hungraim
.
ism
.
service
;
package
com
.
hungraim
.
ism
.
service
;
import
com.baomidou.mybatisplus.
core.metadata.I
Page
;
import
com.baomidou.mybatisplus.
extension.plugins.pagination.
Page
;
import
com.hungraim.ism.pojo.vo.disable.
ApplicationManagement
VO
;
import
com.hungraim.ism.pojo.vo.disable.
Disable
VO
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
/**
/**
...
@@ -25,6 +25,6 @@ public interface DisableService {
...
@@ -25,6 +25,6 @@ public interface DisableService {
* @param applyStatus 审核状态
* @param applyStatus 审核状态
* @return list
* @return list
*/
*/
IPage
<
ApplicationManagementVO
>
applicationManagement
List
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
treatmentType
,
String
applyStatus
,
int
page
,
int
pageSize
);
Page
<
DisableVO
>
disable
List
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
treatmentType
,
String
applyStatus
,
int
page
,
int
pageSize
);
}
}
apply/apply-service/src/main/java/com/hungraim/ism/service/impl/DisableServiceImpl.java
View file @
bcbb7dd0
...
@@ -2,7 +2,7 @@ package com.hungraim.ism.service.impl;
...
@@ -2,7 +2,7 @@ package com.hungraim.ism.service.impl;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.hungraim.ism.dao.DisableApplyHisMapper
;
import
com.hungraim.ism.dao.DisableApplyHisMapper
;
import
com.hungraim.ism.pojo.vo.disable.
ApplicationManagement
VO
;
import
com.hungraim.ism.pojo.vo.disable.
Disable
VO
;
import
com.hungraim.ism.service.DisableService
;
import
com.hungraim.ism.service.DisableService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -14,10 +14,10 @@ public class DisableServiceImpl implements DisableService {
...
@@ -14,10 +14,10 @@ public class DisableServiceImpl implements DisableService {
private
DisableApplyHisMapper
disableApplyHisMapper
;
private
DisableApplyHisMapper
disableApplyHisMapper
;
@Override
@Override
public
Page
<
ApplicationManagementVO
>
applicationManagement
List
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
public
Page
<
DisableVO
>
disable
List
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
treatmentType
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
treatmentType
,
String
applyStatus
,
int
page
,
int
pageSize
)
{
String
applyStatus
,
int
page
,
int
pageSize
)
{
return
disableApplyHisMapper
.
applicationManagementList
(
new
Page
(
page
,
10
),
organId
,
districtProvincial
,
districtCity
,
districtArea
,
realName
,
certiCode
,
treatmentType
,
applyStatus
);
return
disableApplyHisMapper
.
disableList
(
new
Page
(
page
,
pageSize
),
organId
,
districtProvincial
,
districtCity
,
districtArea
,
realName
,
certiCode
,
treatmentType
,
applyStatus
);
}
}
}
}
\ No newline at end of file
apply/apply-service/src/main/resources/bootstrap.yml
View file @
bcbb7dd0
...
@@ -31,4 +31,4 @@ server:
...
@@ -31,4 +31,4 @@ server:
mybatis-plus
:
mybatis-plus
:
configuration
:
configuration
:
log-impl
:
org.apache.ibatis.logging.stdout.StdOutImpl
log-impl
:
org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations
:
classpath*:mapper/*
*/*
Mapper.xml
mapper-locations
:
classpath*:mapper/*Mapper.xml
apply/apply-service/src/main/resources/mapper/ChDisableApplyHisMapper.xml
View file @
bcbb7dd0
<?xml version="1.0" encoding="UTF-8"?>
<?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">
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.hungraim.ism.
mapper.disable.ch
DisableApplyHisMapper"
>
<mapper
namespace=
"com.hungraim.ism.
dao.
DisableApplyHisMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis"
>
<resultMap
id=
"BaseResultMap"
type=
"com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis"
>
<constructor>
<constructor>
<idArg
column=
"APPLY_HIS_ID"
javaType=
"java.lang.Integer"
jdbcType=
"DECIMAL"
/>
<idArg
column=
"APPLY_HIS_ID"
javaType=
"java.lang.Integer"
jdbcType=
"DECIMAL"
/>
...
@@ -144,7 +144,7 @@
...
@@ -144,7 +144,7 @@
HEIGHT, WEIGHT, LEFT_HAND_GRIP, RIGHT_HAND_GRIP, BODY_INCOMPLETE, VISION_OBSTACLE,
HEIGHT, WEIGHT, LEFT_HAND_GRIP, RIGHT_HAND_GRIP, BODY_INCOMPLETE, VISION_OBSTACLE,
HEARING_OBSTACLE, MEDICAL_HISTORY, HIS_TIME, HIS_EMP, OPER_FIXED_TEL, TREATMENT_TYPE
HEARING_OBSTACLE, MEDICAL_HISTORY, HIS_TIME, HIS_EMP, OPER_FIXED_TEL, TREATMENT_TYPE
</sql>
</sql>
<select
id=
"
applicationManagementList"
resultType=
"com.hungraim.ism.pojo.vo.disable.ApplicationManagement
VO"
>
<select
id=
"
disableList"
resultType=
"com.hungraim.ism.pojo.vo.disable.Disable
VO"
>
select h.APPLY_HIS_ID applyHisId,
select h.APPLY_HIS_ID applyHisId,
o.organ_name organName,
o.organ_name organName,
h.organ_id organId,
h.organ_id organId,
...
@@ -178,9 +178,9 @@
...
@@ -178,9 +178,9 @@
<if
test=
"applyStatus != null"
>
<if
test=
"applyStatus != null"
>
and h.APPLY_STATUS = #{applyStatus}
and h.APPLY_STATUS = #{applyStatus}
</if>
</if>
and h.organ_id = o.organ_
id
and h.organ_id = o.organ_
code
</select>
</select>
<select
id=
"selectApplicationManagementInfoByIdno"
resultType=
"com.hungraim.ism.pojo.vo.disable.
ApplicationManagement
VO"
>
<select
id=
"selectApplicationManagementInfoByIdno"
resultType=
"com.hungraim.ism.pojo.vo.disable.
Disable
VO"
>
select h.DISTRICT_PROVINCIAL provincial,
select h.DISTRICT_PROVINCIAL provincial,
h.DISTRICT_CITY city,
h.DISTRICT_CITY city,
h.DISTRICT_AREA area,
h.DISTRICT_AREA area,
...
@@ -199,6 +199,6 @@
...
@@ -199,6 +199,6 @@
from CH_DISABLE_APPLY_HIS h,
from CH_DISABLE_APPLY_HIS h,
CH_APR_ORGAN o
CH_APR_ORGAN o
where h.APPLY_HIS_ID = #{id}
where h.APPLY_HIS_ID = #{id}
and h.SRV_ORGAN_ID = o.organ_
id
and h.SRV_ORGAN_ID = o.organ_
code
</select>
</select>
</mapper>
</mapper>
\ No newline at end of file
common/common-core/src/main/java/com/hungraim/ism/pojo/vo/disable/ApplicationManagementVO.java
deleted
100644 → 0
View file @
61eb432b
package
com
.
hungraim
.
ism
.
pojo
.
vo
.
disable
;
/**
* 待遇申请管理列表VO
*/
public
class
ApplicationManagementVO
{
//适用机构
private
String
organName
;
//机构代码
private
String
organId
;
//所在省市
//参保人姓名
//参保人身份证号码
//待遇类型
//联系人姓名
//联系人身份证号码
//申请人电话
//居住地址
//审核状态
}
common/common-core/src/main/java/com/hungraim/ism/pojo/vo/disable/DisableVO.java
0 → 100644
View file @
bcbb7dd0
package
com
.
hungraim
.
ism
.
pojo
.
vo
.
disable
;
/**
* 失能人员信息列表VO
*/
public
class
DisableVO
{
//id
private
String
applyHisId
;
//适用机构
private
String
organName
;
//机构代码
private
String
organId
;
//所在省市
private
String
provincial
;
private
String
city
;
private
String
area
;
//参保人姓名
private
String
name
;
//参保人身份证号码
private
String
certiCode
;
//待遇类型
private
String
treatmentTyte
;
//联系人姓名
private
String
operName
;
//联系人身份证号码
private
String
operCertiCode
;
//申请人电话
private
String
tel
;
//居住地址
private
String
aderssDistrictCode
;
//审核状态
private
String
adressDetail
;
public
String
getApplyHisId
()
{
return
applyHisId
;
}
public
void
setApplyHisId
(
String
applyHisId
)
{
this
.
applyHisId
=
applyHisId
;
}
public
String
getOrganName
()
{
return
organName
;
}
public
void
setOrganName
(
String
organName
)
{
this
.
organName
=
organName
;
}
public
String
getOrganId
()
{
return
organId
;
}
public
void
setOrganId
(
String
organId
)
{
this
.
organId
=
organId
;
}
public
String
getProvincial
()
{
return
provincial
;
}
public
void
setProvincial
(
String
provincial
)
{
this
.
provincial
=
provincial
;
}
public
String
getCity
()
{
return
city
;
}
public
void
setCity
(
String
city
)
{
this
.
city
=
city
;
}
public
String
getArea
()
{
return
area
;
}
public
void
setArea
(
String
area
)
{
this
.
area
=
area
;
}
public
String
getName
()
{
return
name
;
}
public
void
setName
(
String
name
)
{
this
.
name
=
name
;
}
public
String
getCertiCode
()
{
return
certiCode
;
}
public
void
setCertiCode
(
String
certiCode
)
{
this
.
certiCode
=
certiCode
;
}
public
String
getTreatmentTyte
()
{
return
treatmentTyte
;
}
public
void
setTreatmentTyte
(
String
treatmentTyte
)
{
this
.
treatmentTyte
=
treatmentTyte
;
}
public
String
getOperName
()
{
return
operName
;
}
public
void
setOperName
(
String
operName
)
{
this
.
operName
=
operName
;
}
public
String
getOperCertiCode
()
{
return
operCertiCode
;
}
public
void
setOperCertiCode
(
String
operCertiCode
)
{
this
.
operCertiCode
=
operCertiCode
;
}
public
String
getTel
()
{
return
tel
;
}
public
void
setTel
(
String
tel
)
{
this
.
tel
=
tel
;
}
public
String
getAderssDistrictCode
()
{
return
aderssDistrictCode
;
}
public
void
setAderssDistrictCode
(
String
aderssDistrictCode
)
{
this
.
aderssDistrictCode
=
aderssDistrictCode
;
}
public
String
getAdressDetail
()
{
return
adressDetail
;
}
public
void
setAdressDetail
(
String
adressDetail
)
{
this
.
adressDetail
=
adressDetail
;
}
}
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