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
cbdbe824
Commit
cbdbe824
authored
Apr 28, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.10-根据户名与户类型,返回户信息
parent
ce15637e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
2 deletions
+33
-2
TDispatchInfo.java
.../yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
+10
-0
SysHouseHoldInfoController.java
...v1/yifu/social/controller/SysHouseHoldInfoController.java
+21
-0
TDispatchInfoMapper.xml
...ial-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
+2
-2
No files found.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
View file @
cbdbe824
...
...
@@ -827,4 +827,14 @@ public class TDispatchInfo extends BaseEntity {
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"社保自动化标识"
)
private
String
autoFlag
;
/**
* 是否单个接口 0否1是(税友接口走单个还是批量,审核是否立即推送税友)
*/
@ExcelAttribute
(
name
=
"是否单个接口"
)
@Schema
(
description
=
"是否单个接口"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"是否单个接口"
)
private
String
isSingle
;
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/SysHouseHoldInfoController.java
View file @
cbdbe824
...
...
@@ -257,4 +257,25 @@ public class SysHouseHoldInfoController {
sysHouseHoldInfoService
.
listExport
(
response
,
sysHouseHoldInfo
);
}
/**
* @param type 0社保/1公积金
* @param name 户名
* @Description: 根据户名与户类型,返回户信息 type 0社保/1公积金 name 户名
* @Author: hgw
* @Date: 2025/4/28 10:08
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<com.yifu.cloud.plus.v1.yifu.social.entity.SysHouseHoldInfo>
**/
@GetMapping
(
"/getHuByTypeAndName"
)
@Operation
(
summary
=
"获取所有的户名"
,
description
=
"获取所有的户名"
)
public
R
<
SysHouseHoldInfo
>
getHuByTypeAndName
(
@RequestParam
String
type
,
@RequestParam
String
name
)
{
SysHouseHoldInfo
houseHold
;
LambdaQueryWrapper
<
SysHouseHoldInfo
>
wrapper
=
Wrappers
.
lambdaQuery
();
wrapper
.
eq
(
SysHouseHoldInfo:
:
getDelFlag
,
CommonConstants
.
ZERO_STRING
);
wrapper
.
eq
(
SysHouseHoldInfo:
:
getType
,
type
);
wrapper
.
eq
(
SysHouseHoldInfo:
:
getName
,
name
);
wrapper
.
last
(
CommonConstants
.
LAST_ONE_SQL
);
houseHold
=
sysHouseHoldInfoService
.
getOne
(
wrapper
);
return
R
.
ok
(
houseHold
);
}
}
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
View file @
cbdbe824
...
...
@@ -104,7 +104,7 @@
<result
property=
"firstPayTime"
column=
"FIRST_PAY_TIME"
/>
<result
property=
"graduationTime"
column=
"GRADUATION_TIME"
/>
<result
property=
"autoFlag"
column=
"AUTO_FLAG"
/>
<result
property=
"isSingle"
column=
"IS_SINGLE"
/>
</resultMap>
<resultMap
id=
"dispatchPageMap"
type=
"com.yifu.cloud.plus.v1.yifu.social.vo.TDispatchInfoPageVo"
extends=
"tDispatchInfoMap"
>
...
...
@@ -434,7 +434,7 @@
a.SCHOOL_NAME,
a.MAJOR,
a.FIRST_PAY_TIME,
a.GRADUATION_TIME,a.AUTO_FLAG
a.GRADUATION_TIME,a.AUTO_FLAG
,a.IS_SINGLE
</sql>
<sql
id=
"tDispatchInfo_where"
>
<if
test=
"tDispatchInfo != null"
>
...
...
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