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
658d41f0
Commit
658d41f0
authored
Aug 26, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
稿酬导入修改
parent
fe4d0a4f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
SalaryUploadServiceImpl.java
.../v1/yifu/salary/service/impl/SalaryUploadServiceImpl.java
+4
-4
TPaymentInfoServiceImpl.java
.../v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
+4
-4
TPreDispatchInfoServiceImpl.java
...yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
+1
-0
No files found.
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/service/impl/SalaryUploadServiceImpl.java
View file @
658d41f0
...
@@ -1967,9 +1967,9 @@ public class SalaryUploadServiceImpl extends ServiceImpl<TSalaryStandardMapper,
...
@@ -1967,9 +1967,9 @@ public class SalaryUploadServiceImpl extends ServiceImpl<TSalaryStandardMapper,
nowTaxT
=
getNowTaxRemu
(
actualSalarySumNow
);
nowTaxT
=
getNowTaxRemu
(
actualSalarySumNow
);
relaySalary
=
BigDecimalUtils
.
safeAdd
(
actualSalarySumNow
,
nowTaxT
).
setScale
(
SalaryConstants
.
PLACES
,
BigDecimal
.
ROUND_HALF_UP
);
relaySalary
=
BigDecimalUtils
.
safeAdd
(
actualSalarySumNow
,
nowTaxT
).
setScale
(
SalaryConstants
.
PLACES
,
BigDecimal
.
ROUND_HALF_UP
);
a
.
setSalaryTax
Unit
(
nowTaxT
);
a
.
setSalaryTax
(
nowTaxT
);
a
.
setActualSalary
(
actualSalarySumNow
);
a
.
setActualSalary
(
relaySalary
);
a
.
setRelaySalaryUnit
(
relaySalary
);
a
.
setRelaySalaryUnit
(
actualSalarySumNow
);
a
.
setRelaySalary
(
actualSalarySumNow
);
a
.
setRelaySalary
(
actualSalarySumNow
);
if
(
sumTax
.
compareTo
(
BigDecimal
.
ZERO
)
!=
0
)
{
if
(
sumTax
.
compareTo
(
BigDecimal
.
ZERO
)
!=
0
)
{
nowTaxT
=
BigDecimalUtils
.
safeSubtract
(
nowTaxT
,
sumTax
).
setScale
(
SalaryConstants
.
PLACES
,
BigDecimal
.
ROUND_HALF_UP
);
nowTaxT
=
BigDecimalUtils
.
safeSubtract
(
nowTaxT
,
sumTax
).
setScale
(
SalaryConstants
.
PLACES
,
BigDecimal
.
ROUND_HALF_UP
);
...
@@ -1979,7 +1979,7 @@ public class SalaryUploadServiceImpl extends ServiceImpl<TSalaryStandardMapper,
...
@@ -1979,7 +1979,7 @@ public class SalaryUploadServiceImpl extends ServiceImpl<TSalaryStandardMapper,
sai
.
setCnName
(
SalaryConstants
.
RELAY_SALARY
);
sai
.
setCnName
(
SalaryConstants
.
RELAY_SALARY
);
sai
.
setJavaFiedName
(
SalaryConstants
.
RELAY_SALARY_JAVA
);
sai
.
setJavaFiedName
(
SalaryConstants
.
RELAY_SALARY_JAVA
);
sai
.
setIsTax
(
CommonConstants
.
ZERO_INT
);
sai
.
setIsTax
(
CommonConstants
.
ZERO_INT
);
sai
.
setSalaryMoney
(
relaySalary
);
sai
.
setSalaryMoney
(
actualSalarySumNow
);
saiList
.
add
(
sai
);
saiList
.
add
(
sai
);
return
nowTaxT
;
return
nowTaxT
;
}
}
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
View file @
658d41f0
...
@@ -200,8 +200,8 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
...
@@ -200,8 +200,8 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
return
R
.
failed
(
"已推送至结算平台禁止删除!"
);
return
R
.
failed
(
"已推送至结算平台禁止删除!"
);
}
}
if
(
CommonConstants
.
TWO
_STRING
.
equals
(
paymentInfo
.
getSalaryFundFlag
())
||
if
(
CommonConstants
.
ONE
_STRING
.
equals
(
paymentInfo
.
getSalaryFundFlag
())
||
CommonConstants
.
TWO
_STRING
.
equals
(
paymentInfo
.
getSalarySocialFlag
()))
{
CommonConstants
.
ONE
_STRING
.
equals
(
paymentInfo
.
getSalarySocialFlag
()))
{
return
R
.
failed
(
"该数据已与薪资结算,禁止删除"
);
return
R
.
failed
(
"该数据已与薪资结算,禁止删除"
);
}
}
baseMapper
.
deleteById
(
id
);
baseMapper
.
deleteById
(
id
);
...
@@ -225,8 +225,8 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
...
@@ -225,8 +225,8 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
CommonConstants
.
ZERO_STRING
.
equals
(
paymentInfo
.
getPushStatus
()))
{
CommonConstants
.
ZERO_STRING
.
equals
(
paymentInfo
.
getPushStatus
()))
{
return
R
.
failed
(
"存在不符合条件的数据(已推送至结算平台或非本人创建),禁止删除!"
);
return
R
.
failed
(
"存在不符合条件的数据(已推送至结算平台或非本人创建),禁止删除!"
);
}
}
if
(
CommonConstants
.
TWO
_STRING
.
equals
(
paymentInfo
.
getSalaryFundFlag
())
||
if
(
CommonConstants
.
ONE
_STRING
.
equals
(
paymentInfo
.
getSalaryFundFlag
())
||
CommonConstants
.
TWO
_STRING
.
equals
(
paymentInfo
.
getSalarySocialFlag
()))
{
CommonConstants
.
ONE
_STRING
.
equals
(
paymentInfo
.
getSalarySocialFlag
()))
{
return
R
.
failed
(
"存在不符合条件的数据(已与薪资结算),禁止删除"
);
return
R
.
failed
(
"存在不符合条件的数据(已与薪资结算),禁止删除"
);
}
}
baseMapper
.
deleteById
(
id
);
baseMapper
.
deleteById
(
id
);
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
View file @
658d41f0
...
@@ -2258,6 +2258,7 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
...
@@ -2258,6 +2258,7 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
importVo
.
setWorkingHours
(
preInfo
.
getWorkingHoursAdd
());
importVo
.
setWorkingHours
(
preInfo
.
getWorkingHoursAdd
());
importVo
.
setEmpNational
(
CommonConstants
.
ONE_STRING
);
importVo
.
setEmpNational
(
CommonConstants
.
ONE_STRING
);
importVo
.
setEducationName
(
CommonConstants
.
FIVE_STRING
);
importVo
.
setEducationName
(
CommonConstants
.
FIVE_STRING
);
importVo
.
setTrustRemark
(
"预派单"
);
if
(
null
!=
preInfo
.
getPensionBase
()){
if
(
null
!=
preInfo
.
getPensionBase
()){
importVo
.
setRecordBase
(
preInfo
.
getPensionBase
());
importVo
.
setRecordBase
(
preInfo
.
getPensionBase
());
}
}
...
...
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