Commit a2773c1e authored by hongguangwu's avatar hongguangwu

MVP1.7.16-税友-是否强制停保

parent 78877c50
......@@ -1137,6 +1137,17 @@ public class TSocialInfo extends BaseEntity {
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("减少时留存的增加时的-医生大税友的任务ID" )
private String addYsdRequestId;
/**
* 是否强制停保:1、仅社保网厅
* 2、税友默认为否,我们默认不推送这个值
*/
@Length(max = 1, message = "是否强制停保 不能超过1个字符" )
@ExcelAttribute(name = "是否强制停保", maxLength = 1)
@Schema(description = "是否强制停保" )
@HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty("是否强制停保" )
private String sfqztb;
// 以上是转为自动化办理查询使用的
// 派单id,社保士兵使用
......
......@@ -197,4 +197,8 @@ public class SociaFriendYgsAddVo implements Serializable {
@ExcelProperty("离职日")
private String leaveDay;
// 仅社保,税友接口目前不支持医保 2025-10-21 11:49:23 已告知产品振华、客服陈红
@ExcelProperty("是否强制停保" )
private String sfqztb;
}
......@@ -572,6 +572,10 @@ public class SocialFriendConfig {
tszdxx.put("ryszswrq", vo.getLeaveDay());
}
} else {
// 是否强制停保:目前仅社保,税友暂不支持医保
if (Common.isNotNull(vo.getSfqztb()) && "是".equals(vo.getSfqztb())) {
tszdxx.put("sfqztb", vo.getSfqztb());
}
if (Common.isNotNull(vo.getAutoLeaveDoc())) {
tszdxx.put("shjycl", vo.getAutoLeaveDoc());
} else {
......
......@@ -255,6 +255,8 @@ public class TSocialFriendServiceImpl extends ServiceImpl<TSocialFriendMapper, T
updateSocial.setYgsSocialStartDateNext(nextDate);
}
}
} else if ("该人员存在欠缴记录,是否强制减员".equals(failConfig.getReasonKey())){
updateSocial.setSfqztb("是");
}
ygsHandleStatus = CommonConstants.THREE_STRING;
// 新增流程进展明细
......
......@@ -105,6 +105,7 @@
,DATE_FORMAT(a.CREATE_TIME,"%Y%m") yearMonth
,DATE_FORMAT(now(),"%Y年%m月%d日") nowDay
,s.SOCIAL_HOUSEHOLD huId
,s.SFQZTB sfqztb
</sql>
......
......@@ -155,6 +155,7 @@
<result property="ygsRequestId" column="YGS_REQUEST_ID"/>
<result property="ysdRequestId" column="YSD_REQUEST_ID"/>
<result property="ysdSocialStartDateNext" column="YSD_SOCIAL_START_DATE_NEXT"/>
<result property="sfqztb" column="SFQZTB"/>
</resultMap>
<sql id="Base_Column_List">
a.ID,
......@@ -270,7 +271,8 @@
a.YSD_ADD_ID,
a.YGS_REQUEST_ID,
a.YSD_REQUEST_ID,
a.YSD_SOCIAL_START_DATE_NEXT
a.YSD_SOCIAL_START_DATE_NEXT,
a.SFQZTB
</sql>
<sql id="tSocialInfo_where">
......
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