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
00b29479
Commit
00b29479
authored
Feb 06, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
三险导入成功 绿色
parent
27f36a3a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
ErrorDetailVO.java
...yifu/cloud/plus/v1/yifu/common/core/vo/ErrorDetailVO.java
+13
-0
TPaymentInfoServiceImpl.java
.../v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
+6
-0
No files found.
yifu-common/yifu-common-core/src/main/java/com/yifu/cloud/plus/v1/yifu/common/core/vo/ErrorDetailVO.java
View file @
00b29479
...
...
@@ -50,6 +50,8 @@ public class ErrorDetailVO implements Serializable {
// 提示信息
private
String
message
;
// 颜色
private
String
color
=
"red"
;
// 所有行的结果,当第一行的allTrue=1时,需要反馈文件,否则直接提示成功
private
int
allTrue
=
0
;
...
...
@@ -70,4 +72,15 @@ public class ErrorDetailVO implements Serializable {
this
.
message
=
message
;
}
public
ErrorDetailVO
(
Integer
lineNum
,
int
result
,
String
empIdCard
,
String
socialHousehold
,
String
providentHousehold
,
String
empName
,
String
message
,
String
color
)
{
this
.
lineNum
=
lineNum
;
this
.
result
=
result
;
this
.
empIdCard
=
empIdCard
;
this
.
socialHousehold
=
socialHousehold
;
this
.
providentHousehold
=
providentHousehold
;
this
.
empName
=
empName
;
this
.
message
=
message
;
this
.
color
=
color
;
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
View file @
00b29479
...
...
@@ -2552,6 +2552,12 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
payExists
.
setSocialSum
(
BigDecimalUtils
.
safeAdd
(
payExists
.
getUnitSocialSum
(),
payExists
.
getSocialSecurityPersonalSum
()));
batchYyInsertList
.
put
(
UUID
.
randomUUID
().
toString
(),
payExists
);
}
errorMessageList
.
add
(
new
ErrorDetailVO
(
infoVo
.
getRowIndex
(),
CommonConstants
.
ZERO_INT
,
infoVo
.
getEmpIdcard
(),
payExists
.
getSocialHousehold
(),
payExists
.
getProvidentHousehold
(),
infoVo
.
getEmpName
(),
"对应员工身份证"
+
infoVo
.
getEmpIdcard
()
+
CommonConstants
.
SAVE_SUCCESS
,
CommonConstants
.
GREEN
));
continue
;
}
}
return
errorMessageList
;
...
...
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