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
bb9cc889
Commit
bb9cc889
authored
Nov 10, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代扣,只能金额
parent
084a3a21
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
SalaryAccountUtil.java
...ifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
+3
-1
SalaryConstants.java
.../yifu/cloud/plus/v1/yifu/salary/util/SalaryConstants.java
+1
-0
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
View file @
bb9cc889
...
...
@@ -197,12 +197,14 @@ public class SalaryAccountUtil implements Serializable {
}
if
(
SalaryConstants
.
PDEDUCTION_JAVA
.
equals
(
scs
.
getJavaFiedName
())
||
SalaryConstants
.
UDEDUCTION_JAVA
.
equals
(
scs
.
getJavaFiedName
())
||
SalaryConstants
.
ENTERPRISE_ANNUITY_JAVA
.
equals
(
scs
.
getJavaFiedName
())
||
SalaryConstants
.
ENTERPRISE_ANNUITY_UNIT_JAVA
.
equals
(
scs
.
getJavaFiedName
())
||
scs
.
getJavaFiedName
().
contains
(
SalaryConstants
.
WITHHOLIDING
))
{
try
{
new
BigDecimal
(
cellValueStr
.
replace
(
","
,
""
));
}
catch
(
Exception
ex
)
{
errorFlag
=
false
;
error
=
"第"
+
(
i
+
2
)
+
"行:代扣,只能是金额!"
;
error
=
"第"
+
(
i
+
2
)
+
"行:代扣
、企业年金
,只能是金额!"
;
errorList
.
add
(
new
ErrorMessage
((
i
+
2
),
error
));
continue
;
}
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/util/SalaryConstants.java
View file @
bb9cc889
...
...
@@ -160,6 +160,7 @@ public class SalaryConstants {
public
static
final
String
EXEMPTION_PERSION_TAX_JAVA
=
"exemptionPersionTax"
;
//企业(职业)年金
public
static
final
String
ENTERPRISE_ANNUITY_JAVA
=
"enterpriseAnnuity"
;
public
static
final
String
ENTERPRISE_ANNUITY_UNIT_JAVA
=
"enterpriseAnnuityUnit"
;
//风险抵押金
public
static
final
String
RISK_MORTGAGE_MONEY_JAVA
=
"riskMortgageMoney"
;
//单位补足扣返
...
...
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