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
39e3180c
Commit
39e3180c
authored
Apr 28, 2026
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
户查询接口-fxj
parent
9097e2a4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
SysHouseHoldInfoController.java
...v1/yifu/social/controller/SysHouseHoldInfoController.java
+23
-0
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/SysHouseHoldInfoController.java
View file @
39e3180c
...
...
@@ -312,4 +312,27 @@ public class SysHouseHoldInfoController {
return
R
.
ok
(
houseHold
);
}
/**
* @param name 户名(必填)
* @param delFlag 启用禁用状态 0启用 1禁用(可选,默认0启用)
* @param type 账户性质 0社保 1公积金(可选,默认0社保)
* @Description: 通过户名称查询,支持启用禁用和户性质筛选
* @Author: AI Assistant
* @Date: 2026/4/28
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.util.List<com.yifu.cloud.plus.v1.yifu.social.entity.SysHouseHoldInfo>>
**/
@GetMapping
(
"/getHouseByName"
)
@Operation
(
summary
=
"通过户名称查询"
,
description
=
"通过户名称查询,支持启用禁用和户性质筛选"
)
public
R
<
List
<
SysHouseHoldInfo
>>
getHouseByName
(
@RequestParam
String
name
,
@RequestParam
(
required
=
false
,
defaultValue
=
"0"
)
String
delFlag
,
@RequestParam
(
required
=
false
,
defaultValue
=
"0"
)
String
type
)
{
LambdaQueryWrapper
<
SysHouseHoldInfo
>
wrapper
=
Wrappers
.
lambdaQuery
();
wrapper
.
eq
(
SysHouseHoldInfo:
:
getName
,
name
);
wrapper
.
eq
(
SysHouseHoldInfo:
:
getDelFlag
,
delFlag
);
wrapper
.
eq
(
SysHouseHoldInfo:
:
getType
,
type
);
List
<
SysHouseHoldInfo
>
houseHoldList
=
sysHouseHoldInfoService
.
list
(
wrapper
);
return
R
.
ok
(
houseHoldList
);
}
}
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