Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
37b6046f
Commit
37b6046f
authored
Jul 14, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
校验添加
parent
78450ec3
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
86 additions
and
5 deletions
+86
-5
SysHouseHoldInfo.java
...fu/cloud/plus/v1/yifu/social/entity/SysHouseHoldInfo.java
+27
-0
SysHouseHoldInfoController.java
...v1/yifu/social/controller/SysHouseHoldInfoController.java
+12
-0
SysHouseHoldInfoMapper.java
...ud/plus/v1/yifu/social/mapper/SysHouseHoldInfoMapper.java
+12
-5
SysHouseHoldInfoService.java
.../plus/v1/yifu/social/service/SysHouseHoldInfoService.java
+2
-0
SysHouseHoldInfoServiceImpl.java
...yifu/social/service/impl/SysHouseHoldInfoServiceImpl.java
+10
-0
SysHouseHoldInfoMapper.xml
...-biz/src/main/resources/mapper/SysHouseHoldInfoMapper.xml
+23
-0
No files found.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/SysHouseHoldInfo.java
View file @
37b6046f
...
...
@@ -167,6 +167,33 @@ public class SysHouseHoldInfo extends BaseEntity {
@ExcelProperty
(
"办理人"
)
private
String
handleUserName
;
/**
* 类型 0 独立户
*/
@ExcelAttribute
(
name
=
"类型"
)
@Schema
(
description
=
"类型"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"类型"
)
private
String
houseType
;
/**
* 单位编号
*/
@ExcelAttribute
(
name
=
"单位编号"
)
@Schema
(
description
=
"单位编号"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"单位编号"
)
private
String
customerNo
;
/**
* 单位统一信用代码
*/
@ExcelAttribute
(
name
=
"单位统一信用代码"
)
@Schema
(
description
=
"单位统一信用代码"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"单位统一信用代码"
)
private
String
unitCreditCode
;
/**
* 审核人部门
*/
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/SysHouseHoldInfoController.java
View file @
37b6046f
...
...
@@ -62,6 +62,18 @@ public class SysHouseHoldInfoController {
return
new
R
<>(
sysHouseHoldInfoService
.
getSysHouseHoldInfoPage
(
page
,
sysHouseHoldInfo
));
}
/**
* 获取所有的独立户数据
* @param page 分页对象
* @return
*/
@Operation
(
description
=
"获取所有的独立户数据"
)
@GetMapping
(
"/getAllSingleSocail"
)
public
R
<
IPage
<
SysHouseHoldInfo
>>
getAllSingleSocailPage
(
Page
page
)
{
return
new
R
<>(
sysHouseHoldInfoService
.
getAllSingleSocailPage
(
page
));
}
/**
* 不分页查询
* @param sysHouseHoldInfo 社保户公积金户数据
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/SysHouseHoldInfoMapper.java
View file @
37b6046f
...
...
@@ -38,4 +38,11 @@ public interface SysHouseHoldInfoMapper extends BaseMapper<SysHouseHoldInfo> {
* @return
*/
IPage
<
SysHouseHoldInfo
>
getSysHouseHoldInfoPage
(
Page
<
SysHouseHoldInfo
>
page
,
@Param
(
"sysHouseHoldInfo"
)
SysHouseHoldInfo
sysHouseHoldInfo
);
/**
* 获取所有的独立户数据
* @param page
* @return
*/
IPage
<
SysHouseHoldInfo
>
getAllSingleSocailPage
(
Page
<
SysHouseHoldInfo
>
page
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/SysHouseHoldInfoService.java
View file @
37b6046f
...
...
@@ -46,4 +46,6 @@ public interface SysHouseHoldInfoService extends IService<SysHouseHoldInfo> {
R
<
Boolean
>
saveInfo
(
SysHouseHoldInfo
sysHouseHoldInfo
);
R
<
Boolean
>
updateByIdAsso
(
SysHouseHoldInfo
sysHouseHoldInfo
);
IPage
<
SysHouseHoldInfo
>
getAllSingleSocailPage
(
Page
<
SysHouseHoldInfo
>
page
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/SysHouseHoldInfoServiceImpl.java
View file @
37b6046f
...
...
@@ -60,6 +60,16 @@ public class SysHouseHoldInfoServiceImpl extends ServiceImpl<SysHouseHoldInfoMap
return
baseMapper
.
getSysHouseHoldInfoPage
(
page
,
sysHouseHoldInfo
);
}
/**
* 获取所有的独立户数据
* @param page
* @return
*/
@Override
public
IPage
<
SysHouseHoldInfo
>
getAllSingleSocailPage
(
Page
<
SysHouseHoldInfo
>
page
){
return
baseMapper
.
getAllSingleSocailPage
(
page
);
}
/**
* 户新增
* @param sysHouseHoldInfo 社保户公积金户数据
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/SysHouseHoldInfoMapper.xml
View file @
37b6046f
...
...
@@ -44,7 +44,16 @@
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"houseType"
column=
"HOUSE_TYPE"
/>
<result
property=
"customerNo"
column=
"CUSTOMER_NO"
/>
<result
property=
"unitCreditCode"
column=
"UNIT_CREDIT_CODE"
/>
</resultMap>
<resultMap
id=
"sysHouseHoldSingleInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.social.entity.SysHouseHoldInfo"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"name"
column=
"NAME"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.ORGAN_ID,
...
...
@@ -64,8 +73,12 @@
a.AUDIT_USER,
a.AUDIT_USER_NAME,
a.HANDLE_USER,
a.HOUSE_TYPE,
a.CUSTOMER_NO,
a.UNIT_CREDIT_CODE,
a.HANDLE_USER_NAME
</sql>
<sql
id=
"sysHouseHoldInfo_where"
>
<if
test=
"sysHouseHoldInfo != null"
>
<if
test=
"sysHouseHoldInfo.id != null and sysHouseHoldInfo.id.trim() != ''"
>
...
...
@@ -126,4 +139,14 @@
</where>
order by a.CREATE_TIME desc
</select>
<!--sysHouseHoldInfo简单分页查询-->
<select
id=
"getAllSingleSocailPage"
resultMap=
"sysHouseHoldSingleInfoMap"
>
SELECT
a.ID,
a.NAME
FROM sys_house_hold_info a
where a.TYPE = '0' and HOUSE_TYPE = '0'
order by a.CREATE_TIME desc
</select>
</mapper>
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