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
035fff36
Commit
035fff36
authored
Feb 02, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
派减分项办理
parent
ffcba8bf
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
530 additions
and
206 deletions
+530
-206
application-test.yml
...yifu-archives-biz/src/main/resources/application-test.yml
+1
-0
CommonConstants.java
...ud/plus/v1/yifu/common/core/constant/CommonConstants.java
+3
-0
ExcelUtil.java
...m/yifu/cloud/plus/v1/yifu/common/core/util/ExcelUtil.java
+2
-2
TDispatchInfo.java
.../yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
+13
-0
TSocialFundInfo.java
...ifu/cloud/plus/v1/yifu/social/entity/TSocialFundInfo.java
+83
-34
TSocialInfo.java
...om/yifu/cloud/plus/v1/yifu/social/entity/TSocialInfo.java
+82
-32
TDispatchInfoSearchVo.java
...u/cloud/plus/v1/yifu/social/vo/TDispatchInfoSearchVo.java
+6
-0
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+320
-138
TDispatchInfoMapper.xml
...ial-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
+6
-0
TSocialFundInfoMapper.xml
...l-biz/src/main/resources/mapper/TSocialFundInfoMapper.xml
+8
-0
TSocialInfoMapper.xml
...ocial-biz/src/main/resources/mapper/TSocialInfoMapper.xml
+6
-0
No files found.
yifu-archives/yifu-archives-biz/src/main/resources/application-test.yml
View file @
035fff36
...
...
@@ -9,6 +9,7 @@ spring:
host
:
192.168.1.65
port
:
22379
password
:
'
@yf_2017'
connect-timeout
:
0
datasource
:
type
:
com.zaxxer.hikari.HikariDataSource
driver-class-name
:
com.mysql.cj.jdbc.Driver
...
...
yifu-common/yifu-common-core/src/main/java/com/yifu/cloud/plus/v1/yifu/common/core/constant/CommonConstants.java
View file @
035fff36
...
...
@@ -133,6 +133,9 @@ public interface CommonConstants {
String
FIVE_STRING
=
"5"
;
String
TWELVE_STRING
=
"12"
;
String
ELEVEN_STRING
=
"11"
;
int
TWELVE_INT
=
12
;
String
THIRTEEN_STRING
=
"13"
;
...
...
yifu-common/yifu-common-core/src/main/java/com/yifu/cloud/plus/v1/yifu/common/core/util/ExcelUtil.java
View file @
035fff36
...
...
@@ -143,7 +143,7 @@ public class ExcelUtil <T> implements Serializable {
}
field
.
set
(
vo
,
Common
.
isNotNull
(
value
)?
value:
field
.
get
(
vo
));
}
catch
(
Exception
e
){
log
.
error
(
"字典数据解析异常"
);
log
.
error
(
"字典数据解析异常"
,
e
);
}
}
}
...
...
@@ -1120,7 +1120,7 @@ public class ExcelUtil <T> implements Serializable {
}
field
.
set
(
vo
,
Common
.
isNotNull
(
value
)?
value:
field
.
get
(
vo
));
}
catch
(
Exception
e
){
log
.
error
(
"字典数据解析异常"
);
log
.
error
(
"字典数据解析异常"
,
e
);
}
}
}
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
View file @
035fff36
...
...
@@ -396,6 +396,19 @@ public class TDispatchInfo extends BaseEntity {
/**
* 社保办理状态 0 未办理 1 全部办理成功(原-已办理) 2 全部办理失败(原-办理失败) 3 部分办理成功 4 办理中
*
* 20230131 MVP1.5.0版本新增拆分派减逻辑:
* 1、派减状态:增加:办理中(派减存在未处理完的事项时,状态为“办理中”)、部分办理失败状态(派减全部事项处理完毕,存在办理失败的事项)——同派增状态保持一致
* 2、预估数据逻辑:仅当派减办理成功状态时,才会不生成次月预估费用;未办理、办理中、部分办理失败都是全额生成社保预估费用;
* 3、档案查询中的状态沿用派增的处理中和部分购买;
* 4、新增三种无需审核的合同需测试验证;
* 5、派减全部减掉之后,在社保公积金查询处,将“停缴日期”调整为“最迟停缴日期”,取最后一次的办理成功时客服导表中填写的停缴日期,精确到日;
* 6、社保公积金查询、派单查询、档案查询-社保详情中,针对派减的在下方明细处增加“停缴日期”列,显示到“年月日”;
* 7、流程进展明细中,将分项减员的操作记录按照操作人、操作时间、派减项进行记录;
* 8、社保公积金查询处,查询条件:社保状态-增加“派减-办理中”、”派减-部分办理失败“,支持查询、列表正常显示、及导出;
* 9、批量办理界面呈现效果按照芳利拍照的效果呈现;
* 10、针对派单-部分派减的,需判断是否有流程中的数据,如果有,不允许再次发起;仅当派单项全部为完结状态,并且有未派减项,才允许发起派减;
* 11、增加查询项-”派单项“下拉多选——养老、工伤、失业、医保、生育、大病;搜索项只要有重叠的都可以被检索到;
*/
@Length
(
max
=
1
,
message
=
"社保办理状态 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"社保办理状态"
,
maxLength
=
1
)
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialFundInfo.java
View file @
035fff36
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialInfo.java
View file @
035fff36
...
...
@@ -269,12 +269,12 @@ public class TSocialInfo extends BaseEntity {
@ExcelProperty
(
"审核状态"
)
private
String
auditStatus
;
/**
* 办理状态:0待办理/1已办理2办理失败3已派减 4 办理中 5 部分办理失败
* 办理状态:0待办理/1已办理2办理失败3已派减 4 办理中 5 部分办理失败
6 派减办理中 7 派减部分办理失败
*/
@NotBlank
(
message
=
"办理状态不能为空"
)
@Length
(
max
=
32
,
message
=
"办理状态 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"办理状态"
,
isNotEmpty
=
true
,
errorInfo
=
"办理状态不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"办理状态:0待办理/1已办理2办理失败3已派减4 办理中 5 部分办理失败"
)
@Schema
(
description
=
"办理状态:0待办理/1已办理2办理失败3已派减4 办理中 5 部分办理失败
6 派减办理中 7 派减部分办理失败
"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"办理状态"
)
private
String
handleStatus
;
...
...
@@ -787,59 +787,109 @@ public class TSocialInfo extends BaseEntity {
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"大病起缴日期"
)
private
Date
bigailmentStart
;
/**
* 养老停缴日期
*/
@ExcelAttribute
(
name
=
"养老停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"养老停缴日期"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"养老停缴日期"
)
private
Date
pensionReduceStart
;
/**
* 医疗停缴日期
*/
@ExcelAttribute
(
name
=
"医疗停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"医疗停缴日期"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"医疗停缴日期"
)
private
Date
medicalReduceStart
;
/**
* 失业停缴日期
*/
@ExcelAttribute
(
name
=
"失业停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"失业停缴日期"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"失业停缴日期"
)
private
Date
unemployReduceStart
;
/**
* 工伤停缴日期
*/
@ExcelAttribute
(
name
=
"工伤停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"工伤停缴日期"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"工伤停缴日期"
)
private
Date
workInjuryReduceStart
;
/**
* 生育停缴日期
*/
@ExcelAttribute
(
name
=
"生育停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"生育停缴日期"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"生育停缴日期"
)
private
Date
birthReduceStart
;
/**
* 大病停缴日期
*/
@ExcelAttribute
(
name
=
"大病停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"大病停缴日期"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"大病停缴日期"
)
private
Date
bigailmentReduceStart
;
/**
* 养老办理状态:0待办理1办理成功2办理失败3已派减
* 养老办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
*/
@Length
(
max
=
1
,
message
=
"养老办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"养老办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"养老办理状态:0待办理1办理成功2办理失败3已派减"
)
@Length
(
max
=
1
,
message
=
"养老办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
不能超过1个字符"
)
@ExcelAttribute
(
name
=
"养老办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
,
maxLength
=
1
)
@Schema
(
description
=
"养老办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"养老办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"养老办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
)
private
String
pensionHandle
;
/**
* 医疗办理状态:0待办理1办理成功2办理失败3已派减
* 医疗办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
*/
@Length
(
max
=
1
,
message
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
)
@Length
(
max
=
1
,
message
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
不能超过1个字符"
)
@ExcelAttribute
(
name
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
,
maxLength
=
1
)
@Schema
(
description
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"医疗办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
)
private
String
medicalHandle
;
/**
* 失业办理状态:0待办理1办理成功2办理失败3已派减
* 失业办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
*/
@Length
(
max
=
1
,
message
=
"失业办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"失业办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"失业办理状态:0待办理1办理成功2办理失败3已派减"
)
@Length
(
max
=
1
,
message
=
"失业办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
不能超过1个字符"
)
@ExcelAttribute
(
name
=
"失业办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
,
maxLength
=
1
)
@Schema
(
description
=
"失业办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"失业办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"失业办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
)
private
String
unemployHandle
;
/**
* 工伤办理状态:0待办理1办理成功2办理失败3已派减
* 工伤办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
*/
@Length
(
max
=
1
,
message
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
)
@Length
(
max
=
1
,
message
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
不能超过1个字符"
)
@ExcelAttribute
(
name
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
,
maxLength
=
1
)
@Schema
(
description
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"工伤办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
)
private
String
workInjuryHandle
;
/**
* 生育办理状态:0待办理1办理成功2办理失败3已派减
* 生育办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
*/
@Length
(
max
=
1
,
message
=
"生育办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"生育办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"生育办理状态:0待办理1办理成功2办理失败3已派减"
)
@Length
(
max
=
1
,
message
=
"生育办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
不能超过1个字符"
)
@ExcelAttribute
(
name
=
"生育办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
,
maxLength
=
1
)
@Schema
(
description
=
"生育办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"生育办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"生育办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
)
private
String
birthHandle
;
/**
* 大病办理状态:0待办理1办理成功2办理失败3已派减
* 大病办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
*/
@Length
(
max
=
1
,
message
=
"大病办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"大病办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"大病办理状态:0待办理1办理成功2办理失败3已派减"
)
@Length
(
max
=
1
,
message
=
"大病办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
不能超过1个字符"
)
@ExcelAttribute
(
name
=
"大病办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
,
maxLength
=
1
)
@Schema
(
description
=
"大病办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"大病办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"大病办理状态:0待办理1办理成功2办理失败3已派减
4派减失败
"
)
private
String
bigailmentHandle
;
/**
* 基数上限(社保或公积金)
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchInfoSearchVo.java
View file @
035fff36
...
...
@@ -110,4 +110,10 @@ public class TDispatchInfoSearchVo extends TDispatchInfo {
@ExcelIgnore
private
String
auditTimeEnd
;
/**
* 派单项:如 养老、公积金
*/
@ExcelAttribute
(
name
=
"派单项查询"
)
@Schema
(
description
=
"派单项查询"
)
private
List
<
String
>
dispatchItems
;
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
035fff36
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
View file @
035fff36
...
...
@@ -291,6 +291,12 @@
</sql>
<sql
id=
"tDispatchInfo_where"
>
<if
test=
"tDispatchInfo != null"
>
<if
test=
"tDispatchInfo.dispatchItems != null and tDispatchInfo.dispatchItems.size >0"
>
AND
<foreach
item=
"item"
index=
"index"
collection=
"tDispatchInfo.dispatchItems"
open=
"("
separator=
"or"
close=
")"
>
a.dispatchItem contains(#{item})
</foreach>
</if>
<if
test=
"tDispatchInfo.idList != null and tDispatchInfo.idList.size >0"
>
AND a.ID in
<foreach
item=
"idStr"
index=
"index"
collection=
"tDispatchInfo.idList"
open=
"("
separator=
","
close=
")"
>
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TSocialFundInfoMapper.xml
View file @
035fff36
...
...
@@ -113,6 +113,14 @@
<result
property=
"workInjuryStart"
column=
"WORK_INJURY_START"
/>
<result
property=
"birthStart"
column=
"BIRTH_START"
/>
<result
property=
"bigailmentStart"
column=
"BIGAILMENT_START"
/>
<result
property=
"pensionReduceStart"
column=
"PENSION_REDUCE_START"
/>
<result
property=
"medicalReduceStart"
column=
"MEDICAL_REDUCE_START"
/>
<result
property=
"unemployReduceStart"
column=
"UNEMPLOY_REDUCE_START"
/>
<result
property=
"workInjuryReduceStart"
column=
"WORK_INJURY_REDUCE_START"
/>
<result
property=
"birthReduceStart"
column=
"BIRTH_REDUCE_START"
/>
<result
property=
"bigailmentReduceStart"
column=
"BIGAILMENT_REDUCE_START"
/>
<result
property=
"pensionHandle"
column=
"PENSION_HANDLE"
/>
<result
property=
"medicalHandle"
column=
"MEDICAL_HANDLE"
/>
<result
property=
"unemployHandle"
column=
"UNEMPLOY_HANDLE"
/>
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TSocialInfoMapper.xml
View file @
035fff36
...
...
@@ -110,6 +110,12 @@
<result
property=
"workInjuryStart"
column=
"WORK_INJURY_START"
/>
<result
property=
"birthStart"
column=
"BIRTH_START"
/>
<result
property=
"bigailmentStart"
column=
"BIGAILMENT_START"
/>
<result
property=
"pensionReduceStart"
column=
"PENSION_REDUCE_START"
/>
<result
property=
"medicalReduceStart"
column=
"MEDICAL_REDUCE_START"
/>
<result
property=
"unemployReduceStart"
column=
"UNEMPLOY_REDUCE_START"
/>
<result
property=
"workInjuryReduceStart"
column=
"WORK_INJURY_REDUCE_START"
/>
<result
property=
"birthReduceStart"
column=
"BIRTH_REDUCE_START"
/>
<result
property=
"bigailmentReduceStart"
column=
"BIGAILMENT_REDUCE_START"
/>
<result
property=
"pensionHandle"
column=
"PENSION_HANDLE"
/>
<result
property=
"medicalHandle"
column=
"MEDICAL_HANDLE"
/>
<result
property=
"unemployHandle"
column=
"UNEMPLOY_HANDLE"
/>
...
...
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