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
16272d50
Commit
16272d50
authored
Apr 06, 2021
by
hubin
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
bba75c66
f678d460
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
161 additions
and
3 deletions
+161
-3
ApplyApplication.java
...vice/src/main/java/com/hungraim/ism/ApplyApplication.java
+1
-1
DisableController.java
...n/java/com/hungraim/ism/controller/DisableController.java
+56
-0
DisableApplyHisMapper.java
...main/java/com/hungraim/ism/dao/DisableApplyHisMapper.java
+16
-0
DisableService.java
...rc/main/java/com/hungraim/ism/service/DisableService.java
+30
-0
DisableServiceImpl.java
...ava/com/hungraim/ism/service/impl/DisableServiceImpl.java
+37
-0
pom.xml
common/common-core/pom.xml
+2
-2
ApplicationManagementListVO.java
...raim/ism/pojo/vo/disable/ApplicationManagementListVO.java
+19
-0
ChDisableApplyHis.java
...m/hungraim/ltc/pojo/entity/disable/ChDisableApplyHis.java
+0
-0
No files found.
apply/apply-service/src/main/java/com/hungraim/
ltc
/ApplyApplication.java
→
apply/apply-service/src/main/java/com/hungraim/
ism
/ApplyApplication.java
View file @
16272d50
package
com
.
hungraim
.
ltc
;
package
com
.
hungraim
.
ism
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.SpringApplication
;
...
...
apply/apply-service/src/main/java/com/hungraim/ism/controller/DisableController.java
0 → 100644
View file @
16272d50
package
com
.
hungraim
.
ism
.
controller
;
import
cn.hutool.core.bean.BeanUtil
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.hungraim.ism.pojo.vo.disable.ApplicationManagementListVO
;
import
com.hungraim.ism.service.DisableService
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis
;
import
com.hungraim.ltc.util.Result
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* 失能申请Controller
*
* @author czz
*/
@RestController
@RequestMapping
(
"/disable"
)
@Slf4j
public
class
DisableController
{
@Autowired
private
DisableService
disableService
;
/**
* 待遇申请管理列表
*
* @param organId 适用机构代码
* @param districtProvincial 所在省
* @param districtCity 所在市
* @param districtArea 所在区域
* @param realName 参保人员姓名
* @param certiCode 参保人身份证号码
* @param treatmentType 待遇类型
* @param applyStatus 审核状态
* @return 待遇申请管理列表
*/
@RequestMapping
(
"/applicationManagementList"
)
public
Result
<
List
<
ApplicationManagementListVO
>>
disableList
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
Short
treatmentType
,
Short
applyStatus
)
{
IPage
<
ChDisableApplyHis
>
iPage
=
disableService
.
listDisableInfoByPage
(
organId
,
districtProvincial
,
districtCity
,
districtArea
,
realName
,
certiCode
,
treatmentType
,
applyStatus
,
1
,
10
);
List
<
ChDisableApplyHis
>
records
=
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
0 → 100644
View file @
16272d50
package
com
.
hungraim
.
ism
.
dao
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.springframework.stereotype.Repository
;
/**
* 失能人员申请历史Mapper
*
* @author czz
*/
@Mapper
@Repository
public
interface
DisableApplyHisMapper
extends
BaseMapper
<
ChDisableApplyHis
>
{
}
apply/apply-service/src/main/java/com/hungraim/ism/service/DisableService.java
0 → 100644
View file @
16272d50
package
com
.
hungraim
.
ism
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis
;
import
org.springframework.stereotype.Service
;
/**
* 失能申请Service
*
* @author czz
*/
@Service
public
interface
DisableService
{
/**
* 查询所有资源对应的角色
*
* @param organId 适用机构代码
* @param districtProvincial 所在省
* @param districtCity 所在市
* @param districtArea 所在区域
* @param realName 参保人员姓名
* @param certiCode 参保人身份证号码
* @param treatmentType 待遇类型
* @param applyStatus 审核状态
* @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
);
}
apply/apply-service/src/main/java/com/hungraim/ism/service/impl/DisableServiceImpl.java
0 → 100644
View file @
16272d50
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.hungraim.ism.dao.DisableApplyHisMapper
;
import
com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis
;
import
com.hungraim.ism.service.DisableService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
@Service
public
class
DisableServiceImpl
implements
DisableService
{
@Autowired
private
DisableApplyHisMapper
disableApplyHisMapper
;
@Override
public
IPage
<
ChDisableApplyHis
>
listDisableInfoByPage
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
Short
treatmentType
,
Short
applyStatus
,
int
page
,
int
pageSize
)
{
QueryWrapper
<
ChDisableApplyHis
>
wrapper
=
new
QueryWrapper
<>();
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
common/common-core/pom.xml
View file @
16272d50
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
<groupId>
org.apache.maven.plugins
</groupId>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<configuration>
<source>
7
</source>
<source>
8
</source>
<target>
7
</target>
<target>
8
</target>
</configuration>
</configuration>
</plugin>
</plugin>
</plugins>
</plugins>
...
...
common/common-core/src/main/java/com/hungraim/ism/pojo/vo/disable/ApplicationManagementListVO.java
0 → 100644
View file @
16272d50
package
com
.
hungraim
.
ism
.
pojo
.
vo
.
disable
;
/**
* 待遇申请管理列表VO
*/
public
class
ApplicationManagementListVO
{
//适用机构
//机构代码
private
String
organId
;
//所在省市
//参保人姓名
//参保人身份证号码
//待遇类型
//联系人姓名
//联系人身份证号码
//申请人电话
//居住地址
//审核状态
}
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/disable/ChDisableApplyHis.java
View file @
16272d50
This diff is collapsed.
Click to expand it.
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