Commit 956098f8 authored by hongguangwu's avatar hongguangwu

1.7.20-作业自动化减员-社保派减增加“办理中”状态

parent 524f9505
......@@ -77,12 +77,13 @@ public class EmployeeRegistrationLeave extends BaseEntity {
@Schema(description = "合同终止:0空1无需处理2待发起3发起失败4待审核8审核通过10审核不通过")
private String doStatusContract;
/**
* 社保减员:0空1无需处理2待派单3发起失败4待审核5待办理6部分办理失败8办理成功9办理失败10审核不通过
* 社保减员:0空1无需处理2待派单3发起失败4待审核5待办理6部分办理失败7办理中8办理成功9办理失败10审核不通过
* 2026-02-03 MVP1.7.20 增加7办理中
*/
@ExcelAttribute(name = "社保减员:0空1无需处理2待派单3发起失败4待审核5待办理6部分办理失败8办理成功9办理失败10审核不通过", maxLength = 2)
@Length(max = 2, message = "社保减员:0空1无需处理2待派单3发起失败4待审核5待办理6部分办理失败8办理成功9办理失败10审核不通过不能超过2个字符")
@ExcelProperty("社保减员:0空1无需处理2待派单3发起失败4待审核5待办理6部分办理失败8办理成功9办理失败10审核不通过")
@Schema(description = "社保减员:0空1无需处理2待派单3发起失败4待审核5待办理6部分办理失败8办理成功9办理失败10审核不通过")
@ExcelAttribute(name = "社保减员:0空1无需处理2待派单3发起失败4待审核5待办理6部分办理失败7办理中8办理成功9办理失败10审核不通过", maxLength = 2)
@Length(max = 2, message = "社保减员:0空1无需处理2待派单3发起失败4待审核5待办理6部分办理失败7办理中8办理成功9办理失败10审核不通过不能超过2个字符")
@ExcelProperty("社保减员:0空1无需处理2待派单3发起失败4待审核5待办理6部分办理失败7办理中8办理成功9办理失败10审核不通过")
@Schema(description = "社保减员:0空1无需处理2待派单3发起失败4待审核5待办理6部分办理失败7办理中8办理成功9办理失败10审核不通过")
private String doStatusSocial;
/**
* 公积金减员:0空1无需处理2待派单3发起失败4待审核5待办理8办理成功9办理失败10审核不通过
......
......@@ -405,7 +405,7 @@
case a.do_status_contract when '0' then '--' when '1' then '无需处理' when '2' then '待发起' when '3' then '发起失败'
when '4' then '待审核' when '8' then '审核通过' when '10' then '审核不通过' else '--' end do_status_contract,
case a.do_status_social when '0' then '--' when '1' then '无需处理' when '2' then '待派单' when '3' then '发起失败'
when '4' then '待审核' when '5' then '待办理' when '6' then '部分办理失败' when '8' then '办理成功'
when '4' then '待审核' when '5' then '待办理' when '6' then '部分办理失败' when '7' then '办理中' when '8' then '办理成功'
when '9' then '办理失败' when '10' then '审核不通过' else '--' end do_status_social,
case a.do_status_fund when '0' then '--' when '1' then '无需处理' when '2' then '待派单' when '3' then '发起失败'
when '4' then '待审核' when '5' then '待办理' when '8' then '办理成功' when '9' then '办理失败' when '10' then '审核不通过' else '--' end do_status_fund,
......
......@@ -4851,8 +4851,8 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
// 部分失败是0
this.sendLeave(dis.getId(), CommonConstants.ONE_STRING, CommonConstants.SIX_STRING, CommonConstants.ZERO_STRING, handleRemark, user);
} else if (CommonConstants.SIX_STRING.equals(socialInfo.getHandleStatus())) {
// 派减办理中 - 后续改造这里和离职待办的导出
this.sendLeave(dis.getId(), CommonConstants.ONE_STRING, CommonConstants.FIVE_STRING, CommonConstants.ZERO_STRING, handleRemark, user);
// 派减办理中 - 后续改造这里和离职待办的导出(2026-02-03改造)
this.sendLeave(dis.getId(), CommonConstants.ONE_STRING, CommonConstants.SEVEN_STRING, CommonConstants.ZERO_STRING, handleRemark, user);
} else if (CommonConstants.THREE_STRING.equals(socialInfo.getHandleStatus())) {
// 部分失败是0
this.sendLeave(dis.getId(), CommonConstants.ONE_STRING, CommonConstants.EIGHT_STRING, CommonConstants.ONE_STRING, handleRemark, user);
......
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