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
29b53fd9
Commit
29b53fd9
authored
Aug 08, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
薪资审核页面接口修改
parent
79a5aa2a
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
39 additions
and
40 deletions
+39
-40
TPreDispatchInfo.java
...fu/cloud/plus/v1/yifu/social/entity/TPreDispatchInfo.java
+12
-16
TPreDispatchReduceVo.java
...fu/cloud/plus/v1/yifu/social/vo/TPreDispatchReduceVo.java
+14
-14
TPreDispatchUpdateVo.java
...fu/cloud/plus/v1/yifu/social/vo/TPreDispatchUpdateVo.java
+8
-8
TPreDispatchInfoController.java
...v1/yifu/social/controller/TPreDispatchInfoController.java
+1
-0
TPreDispatchInfoServiceImpl.java
...yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
+4
-2
No files found.
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TPreDispatchInfo.java
View file @
29b53fd9
...
...
@@ -27,13 +27,10 @@ import lombok.Data;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.DecimalMax
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.Size
;
import
java.math.BigDecimal
;
import
java.time.LocalDate
;
import
java.time.LocalDateTime
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.Set
;
...
...
@@ -228,14 +225,14 @@ public class TPreDispatchInfo extends BaseEntity {
*/
@Schema
(
description
=
"实际工作地"
)
@Length
(
max
=
20
,
message
=
"实际工作地不能超过20个字符"
)
@ExcelAttribute
(
name
=
"实际工作地"
)
@ExcelAttribute
(
name
=
"实际工作地"
,
maxLength
=
20
)
private
String
workingAddress
;
/**
* 备注说明1
*/
@Schema
(
description
=
"备注说明1"
)
@Length
(
max
=
250
,
message
=
"备注说明1不能超过25
5
个字符"
)
@Length
(
max
=
250
,
message
=
"备注说明1不能超过25
0
个字符"
)
@ExcelAttribute
(
name
=
"备注说明1"
,
maxLength
=
250
)
private
String
remarkOne
;
...
...
@@ -266,7 +263,7 @@ public class TPreDispatchInfo extends BaseEntity {
*/
@Schema
(
description
=
"养老起缴月"
)
@Length
(
max
=
6
,
message
=
"养老起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"养老起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"养老起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
pensionStart
;
/**
...
...
@@ -288,7 +285,7 @@ public class TPreDispatchInfo extends BaseEntity {
*/
@Schema
(
description
=
"医疗起缴月"
)
@Length
(
max
=
6
,
message
=
"医疗起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"医疗起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"医疗起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
medicalStart
;
/**
...
...
@@ -309,8 +306,7 @@ public class TPreDispatchInfo extends BaseEntity {
* 工伤起缴月
*/
@Schema
(
description
=
"工伤起缴月"
)
@Length
(
max
=
6
,
message
=
"工伤起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"工伤起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"工伤起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
injuryStart
;
/**
...
...
@@ -332,7 +328,7 @@ public class TPreDispatchInfo extends BaseEntity {
*/
@Schema
(
description
=
"生育起缴月"
)
@Length
(
max
=
6
,
message
=
"生育起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"生育起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"生育起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
birthStart
;
/**
...
...
@@ -354,7 +350,7 @@ public class TPreDispatchInfo extends BaseEntity {
*/
@Schema
(
description
=
"失业起缴月"
)
@Length
(
max
=
6
,
message
=
"失业起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"失业起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"失业起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
unemploymentStart
;
/**
...
...
@@ -376,21 +372,21 @@ public class TPreDispatchInfo extends BaseEntity {
*/
@Schema
(
description
=
"公积金起缴月"
)
@Length
(
max
=
6
,
message
=
"公积金起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"公积金起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"公积金起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
fundStart
;
/**
* 公积金个人比例
*/
@Schema
(
description
=
"公积金个人比例"
)
@ExcelAttribute
(
name
=
"公积金个人比例"
,
isFloat
=
true
,
max
=
"
99.99
"
)
@ExcelAttribute
(
name
=
"公积金个人比例"
,
isFloat
=
true
,
max
=
"
100.00
"
)
private
BigDecimal
fundPersonalPer
;
/**
* 公积金企业比例
*/
@Schema
(
description
=
"公积金企业比例"
)
@ExcelAttribute
(
name
=
"公积金企业比例"
,
isFloat
=
true
,
max
=
"
99.99
"
)
@ExcelAttribute
(
name
=
"公积金企业比例"
,
isFloat
=
true
,
max
=
"
100.00
"
)
private
BigDecimal
fundCompanyPer
;
/**
...
...
@@ -439,9 +435,9 @@ public class TPreDispatchInfo extends BaseEntity {
private
String
serviceType
;
/**
*
养老
城市
* 城市
*/
@Schema
(
description
=
"
养老
城市"
)
@Schema
(
description
=
"城市"
)
private
String
pensionAddressReduce
;
/**
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TPreDispatchReduceVo.java
View file @
29b53fd9
...
...
@@ -220,16 +220,16 @@ public class TPreDispatchReduceVo {
* 备注说明1
*/
@Schema
(
description
=
"备注说明1"
)
@Length
(
max
=
25
5
,
message
=
"备注说明1不能超过255
个字符"
)
@ExcelAttribute
(
name
=
"备注说明1"
,
maxLength
=
25
5
)
@Length
(
max
=
25
0
,
message
=
"备注说明1不能超过250
个字符"
)
@ExcelAttribute
(
name
=
"备注说明1"
,
maxLength
=
25
0
)
private
String
remarkOne
;
/**
* 备注说明2
*/
@Schema
(
description
=
"备注说明2"
)
@Length
(
max
=
25
5
,
message
=
"备注说明2不能超过255
个字符"
)
@ExcelAttribute
(
name
=
"备注说明2"
,
maxLength
=
25
5
)
@Length
(
max
=
25
0
,
message
=
"备注说明2不能超过250
个字符"
)
@ExcelAttribute
(
name
=
"备注说明2"
,
maxLength
=
25
0
)
private
String
remarkTwo
;
/**
...
...
@@ -244,7 +244,7 @@ public class TPreDispatchReduceVo {
*/
@Schema
(
description
=
"养老起缴月"
)
@Length
(
max
=
6
,
message
=
"养老起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"养老起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"养老起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
pensionStart
;
/**
...
...
@@ -259,7 +259,7 @@ public class TPreDispatchReduceVo {
*/
@Schema
(
description
=
"医疗起缴月"
)
@Length
(
max
=
6
,
message
=
"医疗起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"医疗起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"医疗起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
medicalStart
;
/**
...
...
@@ -281,7 +281,7 @@ public class TPreDispatchReduceVo {
*/
@Schema
(
description
=
"工伤起缴月"
)
@Length
(
max
=
6
,
message
=
"工伤起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"工伤起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"工伤起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
injuryStart
;
/**
...
...
@@ -296,7 +296,7 @@ public class TPreDispatchReduceVo {
*/
@Schema
(
description
=
"生育起缴月"
)
@Length
(
max
=
6
,
message
=
"生育起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"生育起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"生育起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
birthStart
;
/**
...
...
@@ -311,7 +311,7 @@ public class TPreDispatchReduceVo {
*/
@Schema
(
description
=
"失业起缴月"
)
@Length
(
max
=
6
,
message
=
"失业起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"失业起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"失业起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
unemploymentStart
;
/**
...
...
@@ -326,21 +326,21 @@ public class TPreDispatchReduceVo {
*/
@Schema
(
description
=
"公积金起缴月"
)
@Length
(
max
=
6
,
message
=
"公积金起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"公积金起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"公积金起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
fundStart
;
/**
* 公积金个人比例
*/
@Schema
(
description
=
"公积金个人比例"
)
@ExcelAttribute
(
name
=
"公积金个人比例"
,
isFloat
=
true
,
max
=
"
99.99
"
)
@ExcelAttribute
(
name
=
"公积金个人比例"
,
isFloat
=
true
,
max
=
"
100.00
"
)
private
BigDecimal
fundPersonalPer
;
/**
* 公积金企业比例
*/
@Schema
(
description
=
"公积金企业比例"
)
@ExcelAttribute
(
name
=
"公积金企业比例"
,
isFloat
=
true
,
max
=
"
99.99
"
)
@ExcelAttribute
(
name
=
"公积金企业比例"
,
isFloat
=
true
,
max
=
"
100.00
"
)
private
BigDecimal
fundCompanyPer
;
/**
...
...
@@ -689,8 +689,8 @@ public class TPreDispatchReduceVo {
* 备注
*/
@Schema
(
description
=
"备注"
)
@Length
(
max
=
25
5
,
message
=
"备注不能超过255
个字符"
)
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
25
5
)
@Length
(
max
=
25
0
,
message
=
"备注不能超过250
个字符"
)
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
25
0
)
private
String
remark
;
/**
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TPreDispatchUpdateVo.java
View file @
29b53fd9
...
...
@@ -174,7 +174,7 @@ public class TPreDispatchUpdateVo extends TPreDispatchInfo {
* 养老起缴月
*/
@Length
(
max
=
6
,
message
=
"养老起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"养老起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"养老起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
pensionStart
;
/**
* 医疗城市
...
...
@@ -191,7 +191,7 @@ public class TPreDispatchUpdateVo extends TPreDispatchInfo {
* 医疗起缴月
*/
@Length
(
max
=
6
,
message
=
"医疗起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"医疗起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"医疗起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
medicalStart
;
/**
* 工伤城市
...
...
@@ -208,7 +208,7 @@ public class TPreDispatchUpdateVo extends TPreDispatchInfo {
* 工伤起缴月
*/
@Length
(
max
=
6
,
message
=
"工伤起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"工伤起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"工伤起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
injuryStart
;
/**
* 生育城市
...
...
@@ -225,7 +225,7 @@ public class TPreDispatchUpdateVo extends TPreDispatchInfo {
* 生育起缴月
*/
@Length
(
max
=
6
,
message
=
"生育起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"生育起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"生育起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
birthStart
;
/**
* 失业城市
...
...
@@ -242,7 +242,7 @@ public class TPreDispatchUpdateVo extends TPreDispatchInfo {
* 失业起缴月
*/
@Length
(
max
=
6
,
message
=
"失业起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"失业起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"失业起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
unemploymentStart
;
/**
* 公积金城市
...
...
@@ -259,17 +259,17 @@ public class TPreDispatchUpdateVo extends TPreDispatchInfo {
* 公积金起缴月
*/
@Length
(
max
=
6
,
message
=
"公积金起缴月不能超过6个字符"
)
@ExcelAttribute
(
name
=
"公积金起缴月"
,
maxLength
=
6
,
isInteger
=
true
)
@ExcelAttribute
(
name
=
"公积金起缴月"
,
maxLength
=
6
,
min
=
6
,
isInteger
=
true
)
private
String
fundStart
;
/**
* 公积金个人比例
*/
@ExcelAttribute
(
name
=
"公积金个人比例"
,
isFloat
=
true
,
max
=
"
99.99
"
)
@ExcelAttribute
(
name
=
"公积金个人比例"
,
isFloat
=
true
,
max
=
"
100.00
"
)
private
BigDecimal
fundPersonalPer
;
/**
* 公积金企业比例
*/
@ExcelAttribute
(
name
=
"公积金企业比例"
,
isFloat
=
true
,
max
=
"
99.99
"
)
@ExcelAttribute
(
name
=
"公积金企业比例"
,
isFloat
=
true
,
max
=
"
100.00
"
)
private
BigDecimal
fundCompanyPer
;
/**
* 派单分公司
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TPreDispatchInfoController.java
View file @
29b53fd9
...
...
@@ -251,6 +251,7 @@ public class TPreDispatchInfoController {
return
R
.
ok
(
errorInfo
);
}
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
return
R
.
failed
(
PreDispatchConstants
.
DATA_IMPORT_ANALYSIS_ERROR
);
}
}
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
View file @
29b53fd9
...
...
@@ -356,6 +356,7 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
TDispatchImportVo
importVo
=
new
TDispatchImportVo
();
// 初始化派增的派单数据
initDispatchAddVo
(
preInfo
,
importVo
);
importVo
.
setRowIndex
(
CommonConstants
.
ONE_INT
);
List
<
TDispatchImportVo
>
importVoList
=
new
ArrayList
<>();
importVoList
.
add
(
importVo
);
// 如果档案地市空 只能用缴纳地封装,如果缴纳地有问题直接返回
...
...
@@ -562,8 +563,8 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
tPreDispatchInfo
.
setFundAddress
(
tPreDispatchInfo
.
getFundAddressReduce
());
}
// 合同开始截止时间 同步更新派单的合同时间
tPreDispatchInfo
.
setContractEndAdd
(
tPreDispatchInfo
.
getContractEnd
());
tPreDispatchInfo
.
setContractStartAdd
(
tPreDispatchInfo
.
getContractStart
());
//
tPreDispatchInfo.setContractEndAdd(tPreDispatchInfo.getContractEnd());
//
tPreDispatchInfo.setContractStartAdd(tPreDispatchInfo.getContractStart());
// 没问题重置异常状态,有问题 在前面就返回了
tPreDispatchInfo
.
setExceptionContent
(
CommonConstants
.
EMPTY_STRING
);
tPreDispatchInfo
.
setPreStatus
(
CommonConstants
.
ZERO_STRING
);
...
...
@@ -2358,6 +2359,7 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
importVo
=
new
TDispatchImportVo
();
// 初始化派增的派单数据
initDispatchAddVo
(
pre
,
importVo
);
importVo
.
setRowIndex
(
i
);
List
<
TDispatchImportVo
>
importVoList
=
new
ArrayList
<>();
importVoList
.
add
(
importVo
);
// 如果档案地市空 只能用缴纳地封装,如果缴纳地有问题直接返回
...
...
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