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
3cc435c6
Commit
3cc435c6
authored
Apr 06, 2021
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
待遇申请管理列表
parent
f678d460
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
54 additions
and
35 deletions
+54
-35
DisableController.java
...n/java/com/hungraim/ism/controller/DisableController.java
+4
-14
DisableApplyHisMapper.java
...main/java/com/hungraim/ism/dao/DisableApplyHisMapper.java
+18
-0
DisableService.java
...rc/main/java/com/hungraim/ism/service/DisableService.java
+2
-2
DisableServiceImpl.java
...ava/com/hungraim/ism/service/impl/DisableServiceImpl.java
+6
-18
bootstrap.yml
apply/apply-service/src/main/resources/bootstrap.yml
+1
-0
ChDisableApplyHisMapper.xml
...ice/src/main/resources/mapper/ChDisableApplyHisMapper.xml
+0
-0
ApplicationManagementInfoVO.java
...raim/ism/pojo/vo/disable/ApplicationManagementInfoVO.java
+21
-0
ApplicationManagementVO.java
...hungraim/ism/pojo/vo/disable/ApplicationManagementVO.java
+2
-1
No files found.
apply/apply-service/src/main/java/com/hungraim/ism/controller/DisableController.java
View file @
3cc435c6
package
com
.
hungraim
.
ism
.
controller
;
package
com
.
hungraim
.
ism
.
controller
;
import
cn.hutool.core.bean.BeanUtil
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.hungraim.ism.pojo.vo.disable.ApplicationManagement
List
VO
;
import
com.hungraim.ism.pojo.vo.disable.ApplicationManagementVO
;
import
com.hungraim.ism.service.DisableService
;
import
com.hungraim.ism.service.DisableService
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis
;
import
com.hungraim.ltc.util.Result
;
import
com.hungraim.ltc.util.Result
;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
/**
/**
...
@@ -41,16 +38,9 @@ public class DisableController {
...
@@ -41,16 +38,9 @@ public class DisableController {
* @return 待遇申请管理列表
* @return 待遇申请管理列表
*/
*/
@RequestMapping
(
"/applicationManagementList"
)
@RequestMapping
(
"/applicationManagementList"
)
public
Result
<
List
<
ApplicationManagementListVO
>>
disableList
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
Short
treatmentType
,
Short
applyStatus
)
{
public
Result
<
List
<
ApplicationManagementVO
>>
disableList
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
treatmentType
,
String
applyStatus
)
{
IPage
<
ChDisableApplyHis
>
iPage
=
disableService
.
listDisableInfoByPage
(
organId
,
districtProvincial
,
districtCity
,
districtArea
,
realName
,
certiCode
,
treatmentType
,
applyStatus
,
1
,
10
);
IPage
<
ApplicationManagementVO
>
iPage
=
disableService
.
applicationManagementList
(
organId
,
districtProvincial
,
districtCity
,
districtArea
,
realName
,
certiCode
,
treatmentType
,
applyStatus
,
1
,
10
);
List
<
ChDisableApplyHis
>
records
=
iPage
.
getRecords
();
return
Result
.
success
(
iPage
.
getRecords
());
List
<
ApplicationManagementListVO
>
vos
=
new
ArrayList
<>();
for
(
ChDisableApplyHis
chDisableApplyHis
:
records
)
{
ApplicationManagementListVO
applicationManagementListVO
=
new
ApplicationManagementListVO
();
BeanUtil
.
copyProperties
(
chDisableApplyHis
,
applicationManagementListVO
);
vos
.
add
(
applicationManagementListVO
);
}
return
Result
.
success
(
vos
);
}
}
}
}
apply/apply-service/src/main/java/com/hungraim/ism/dao/DisableApplyHisMapper.java
View file @
3cc435c6
package
com
.
hungraim
.
ism
.
dao
;
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.hungraim.ism.pojo.vo.disable.ApplicationManagementInfoVO
;
import
com.hungraim.ism.pojo.vo.disable.ApplicationManagementVO
;
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
;
...
@@ -13,4 +16,19 @@ import org.springframework.stereotype.Repository;
...
@@ -13,4 +16,19 @@ import org.springframework.stereotype.Repository;
@Mapper
@Mapper
@Repository
@Repository
public
interface
DisableApplyHisMapper
extends
BaseMapper
<
ChDisableApplyHis
>
{
public
interface
DisableApplyHisMapper
extends
BaseMapper
<
ChDisableApplyHis
>
{
/**
* 查询待遇申请管理列表
*
* @param organId 机构代码
* @param provincial 省
* @param city 市
* @param area 区
* @param name 参保人员姓名
* @param certiCode 参保人身份证号码
* @param treatmentType 待遇类型
* @param applyStatus 审核状态
*/
Page
<
ApplicationManagementVO
>
applicationManagementList
(
Page
<
ApplicationManagementVO
>
page
,
String
organId
,
String
provincial
,
String
city
,
String
area
,
String
name
,
String
certiCode
,
String
treatmentType
,
String
applyStatus
);
ApplicationManagementInfoVO
selectApplicationManagementInfoById
(
String
id
);
}
}
apply/apply-service/src/main/java/com/hungraim/ism/service/DisableService.java
View file @
3cc435c6
package
com
.
hungraim
.
ism
.
service
;
package
com
.
hungraim
.
ism
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.hungraim.
ltc.pojo.entity.disable.ChDisableApplyHis
;
import
com.hungraim.
ism.pojo.vo.disable.ApplicationManagementVO
;
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
<
ChDisableApplyHis
>
listDisableInfoByPage
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
Short
treatmentType
,
Short
applyStatus
,
int
page
,
int
pageSize
);
IPage
<
ApplicationManagementVO
>
applicationManagementList
(
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 @
3cc435c6
package
com
.
hungraim
.
ism
.
service
.
impl
;
package
com
.
hungraim
.
ism
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.conditions.query.QueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
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.
ltc.pojo.entity.disable.ChDisableApplyHis
;
import
com.hungraim.
ism.pojo.vo.disable.ApplicationManagementVO
;
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
;
...
@@ -16,21 +14,10 @@ public class DisableServiceImpl implements DisableService {
...
@@ -16,21 +14,10 @@ public class DisableServiceImpl implements DisableService {
private
DisableApplyHisMapper
disableApplyHisMapper
;
private
DisableApplyHisMapper
disableApplyHisMapper
;
@Override
@Override
public
IPage
<
ChDisableApplyHis
>
listDisableInfoByPage
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
public
Page
<
ApplicationManagementVO
>
applicationManagementList
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
Short
treatmentType
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
treatmentType
,
Short
applyStatus
,
int
page
,
int
pageSize
)
{
String
applyStatus
,
int
page
,
int
pageSize
)
{
QueryWrapper
<
ChDisableApplyHis
>
wrapper
=
new
QueryWrapper
<>();
return
disableApplyHisMapper
.
applicationManagementList
(
new
Page
(
page
,
10
),
organId
,
districtProvincial
,
districtCity
,
districtArea
,
realName
,
certiCode
,
treatmentType
,
applyStatus
);
ChDisableApplyHis
chDisableApplyHis
=
new
ChDisableApplyHis
();
chDisableApplyHis
.
setOrganId
(
organId
);
chDisableApplyHis
.
setDistrictProvincial
(
districtProvincial
);
chDisableApplyHis
.
setDistrictCity
(
districtCity
);
chDisableApplyHis
.
setDistrictArea
(
districtArea
);
chDisableApplyHis
.
setRealName
(
realName
);
chDisableApplyHis
.
setCertiCode
(
certiCode
);
chDisableApplyHis
.
setTreatmentType
(
treatmentType
);
chDisableApplyHis
.
setApplyStatus
(
applyStatus
);
wrapper
.
setEntity
(
chDisableApplyHis
);
return
disableApplyHisMapper
.
selectPage
(
new
Page
<>(
page
,
pageSize
),
wrapper
);
}
}
}
}
\ No newline at end of file
apply/apply-service/src/main/resources/bootstrap.yml
View file @
3cc435c6
...
@@ -31,3 +31,4 @@ server:
...
@@ -31,3 +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
apply/apply-service/src/main/resources/mapper/ChDisableApplyHisMapper.xml
0 → 100644
View file @
3cc435c6
This diff is collapsed.
Click to expand it.
common/common-core/src/main/java/com/hungraim/ism/pojo/vo/disable/ApplicationManagementInfoVO.java
0 → 100644
View file @
3cc435c6
package
com
.
hungraim
.
ism
.
pojo
.
vo
.
disable
;
/**
* 待遇申请管理详情VO
*/
public
class
ApplicationManagementInfoVO
{
//所在省市区
//参保人姓名
//参保人身份证号码
//居住地址
//联系人电话
//联系人身份证号码
//申请人电话
//与参保人关系
//病情描述及诊断
//意向服务机构
//提交时间
//审核人
//审核结果
//备注
}
common/common-core/src/main/java/com/hungraim/ism/pojo/vo/disable/ApplicationManagement
List
VO.java
→
common/common-core/src/main/java/com/hungraim/ism/pojo/vo/disable/ApplicationManagementVO.java
View file @
3cc435c6
...
@@ -3,8 +3,9 @@ package com.hungraim.ism.pojo.vo.disable;
...
@@ -3,8 +3,9 @@ package com.hungraim.ism.pojo.vo.disable;
/**
/**
* 待遇申请管理列表VO
* 待遇申请管理列表VO
*/
*/
public
class
ApplicationManagement
List
VO
{
public
class
ApplicationManagementVO
{
//适用机构
//适用机构
private
String
organName
;
//机构代码
//机构代码
private
String
organId
;
private
String
organId
;
//所在省市
//所在省市
...
...
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