Commit d704c26c authored by fangxinjiang's avatar fangxinjiang

代码优化-fxj

parent 4ae6e7bd
......@@ -179,4 +179,13 @@ public class SocialHandleSearchVo extends TDispatchInfo {
@ExcelIgnore
private String[] socialHandleStatusArr;
/**
* @Author fxj
* @Description 社保反馈文件下载标识
* @Date 12:28 2025/7/17
**/
@ExcelProperty("社保反馈文件下载标识" )
@ExcelIgnore
private String backFileFlag;
}
package com.yifu.cloud.plus.v1.yifu.social.vo;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadFontStyle;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttributeConstants;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
* @Author hgw
* @Description 社保士兵自动办理导出
* @Date 2024-5-13 10:56:51
* @Param
* @return
**/
@Data
public class SocialSoldierBackVo implements Serializable {
/**
* 派单ID
*/
@ExcelAttribute(name = "派单ID")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("派单ID")
private String dispatchId;
/**
* 员工姓名
*/
@ExcelAttribute(name = "员工姓名")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("员工姓名")
private String empName;
/**
* 员工身份证
*/
@ExcelAttribute(name = "员工身份证", errorInfo = "员工身份证不能为空", maxLength = 20, needExport = true)
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("员工身份证")
private String empIdcard;
@ExcelAttribute(name = "养老工伤失业-办理状态", readConverterExp = "0=无,1=待办理,2=自动办理中,3=继续办理,4=中止办理,5=人工处理,6=成功,7=提交成功", needExport = true)
@Schema(description = "养老工伤失业-办理状态")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("养老工伤失业-办理状态")
private String ygsHandleStatus;
@ExcelAttribute(name = "医保生育大病-办理状态", readConverterExp = "0=无,1=待办理,2=自动办理中,3=继续办理,4=中止办理,5=人工处理,6=成功,7=提交成功", needExport = true)
@Schema(description = "医保生育大病-办理状态")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("医保生育大病-办理状态")
private String ysdHandleStatus;
@ExcelAttribute(name = "社保明细ID")
@Schema(description = "社保明细ID")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保明细ID")
private String socialId;
/**
* 社保户
*/
@ExcelAttribute(name = "社保户", needExport = true)
@Schema(description = "社保户")
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保户")
private String socialHouseholdName;
}
......@@ -131,4 +131,15 @@ public class TSocialSoldierPageVo extends TDispatchInfo {
@ExcelProperty("社保顺延时间" )
private Date ygsSocialStartDateNext;
/**
* @Author fxj
* @Description 社保反馈文件下载标识
* @Date 12:28 2025/7/17
**/
@ExcelAttribute(name = "社保反馈文件下载标识", maxLength = 20)
@Schema(description = "社保反馈文件下载标识" )
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("社保反馈文件下载标识" )
private String backFileFlag;
}
......@@ -70,4 +70,14 @@ public interface SysHouseHoldInfoMapper extends BaseMapper<SysHouseHoldInfo> {
* @return: java.util.List<com.yifu.cloud.plus.v1.yifu.social.entity.SysHouseHoldInfo>
**/
List<SysHouseHoldInfo> getAttaSrcByAutoDoc();
/**
* @Author fxj
* @Description 获取启用自动化的户信息
* @Date 9:35 2025/7/17
* @Param
* @return
**/
List<SysHouseHoldInfo> getHouseInfoAutoDoc();
}
......@@ -235,4 +235,13 @@
FROM t_atta_info a join sys_house_hold_info h on h.id=a.DOMAIN_ID
where a.RELATION_TYPE = '1' and h.IS_AUTO_LEAVE_DOC = '1'
</select>
<select id="getHouseInfoAutoDoc" resultMap="sysHouseHoldInfoMap" >
SELECT
<include refid="Base_Column_List"/>
,AREA_CODE
FROM sys_house_hold_info a
where a.AUTO_STATUS = '0'
</select>
</mapper>
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