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
9c916409
Commit
9c916409
authored
Jan 31, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.5' into MVP1.5
parents
8b28ffd1
b77aaa60
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
69 additions
and
63 deletions
+69
-63
SalaryUploadServiceImpl.java
.../v1/yifu/salary/service/impl/SalaryUploadServiceImpl.java
+10
-6
SalaryAccountUtil.java
...ifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
+0
-7
TPaymentInfoServiceImpl.java
.../v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
+59
-50
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/SalaryUploadServiceImpl.java
View file @
9c916409
...
...
@@ -1776,12 +1776,16 @@ public class SalaryUploadServiceImpl extends ServiceImpl<TSalaryStandardMapper,
relaySalary
=
BigDecimalUtils
.
safeAdd
(
actualSalarySumNow
,
nowTaxY
).
setScale
(
SalaryConstants
.
PLACES
,
RoundingMode
.
HALF_UP
);
}
else
{
// 2个人承担全部
// TODO-@胡 :个人承担全部税费,实发要变为应发,推算出实发、个税
nowTaxY
=
BigDecimal
.
ZERO
;
relaySalary
=
a
.
getActualSalary
();
//个人承担全部税费,实发要变为应发,推算出实发、个税
nowTaxY
=
getNowTax
(
actualSalarySum
);
if
(
sumOtherTax
.
compareTo
(
BigDecimal
.
ZERO
)
!=
0
)
{
//历史应发税费
nowTaxY
=
BigDecimalUtils
.
safeSubtract
(
false
,
nowTaxY
,
sumOtherTax
).
setScale
(
SalaryConstants
.
PLACES
,
RoundingMode
.
HALF_UP
);
}
//公司应发和个人实收
relaySalary
=
BigDecimalUtils
.
safeSubtract
(
false
,
actualSalarySumNow
,
nowTaxY
).
setScale
(
SalaryConstants
.
PLACES
,
RoundingMode
.
HALF_UP
);
a
.
setActualSalary
(
relaySalary
);
a
.
setSalaryTax
(
nowTaxY
);
}
a
.
setRelaySalaryUnit
(
relaySalary
);
a
.
setRelaySalary
(
actualSalarySumNow
);
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/util/SalaryAccountUtil.java
View file @
9c916409
...
...
@@ -13,7 +13,6 @@ import com.yifu.cloud.plus.v1.yifu.insurances.util.ValidityUtil;
import
com.yifu.cloud.plus.v1.yifu.salary.entity.TConfigSalary
;
import
com.yifu.cloud.plus.v1.yifu.salary.entity.TSalaryConfigStandard
;
import
com.yifu.cloud.plus.v1.yifu.salary.entity.TSalaryEmployee
;
import
com.yifu.cloud.plus.v1.yifu.salary.entity.TSalaryStandardIssueRes
;
import
com.yifu.cloud.plus.v1.yifu.salary.service.TSalaryAccountService
;
import
com.yifu.cloud.plus.v1.yifu.salary.service.TSalaryEmployeeService
;
import
com.yifu.cloud.plus.v1.yifu.salary.vo.SalaryUploadParamVo
;
...
...
@@ -247,12 +246,6 @@ public class SalaryAccountUtil implements Serializable {
salaryGiveTimeFlag
=
false
;
entity
.
setSalaryGiveTime
(
CommonConstants
.
ONE_STRING
);
}
if
(
SalaryConstants
.
IS_PERSON
.
equals
(
cellValueStr
))
{
errorFlag
=
false
;
error
=
"第"
+
(
i
+
2
)
+
"行:个人承担全部税费,正在开发中,下周见~"
;
errorList
.
add
(
new
ErrorMessage
((
i
+
2
),
error
));
continue
;
}
field
=
fieldsMap
.
get
(
scs
.
getJavaFiedName
());
if
(
field
==
null
)
{
sai
=
new
TSalaryAccountItemVo
();
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
View file @
9c916409
This diff is collapsed.
Click to expand it.
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