Commit cbdbe824 authored by hongguangwu's avatar hongguangwu

MVP1.7.10-根据户名与户类型,返回户信息

parent ce15637e
......@@ -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;
}
......@@ -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);
}
}
......@@ -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">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment