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
e1428ff5
Commit
e1428ff5
authored
Jan 18, 2023
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.4' into MVP1.4
parents
36d53961
a7052f73
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
16 deletions
+16
-16
EmployeeBusinessVo.java
...fu/cloud/plus/v1/yifu/archives/vo/EmployeeBusinessVo.java
+0
-1
TEmployeeProjectServiceImpl.java
...fu/archives/service/impl/TEmployeeProjectServiceImpl.java
+1
-1
TPaymentInfoMapper.java
.../cloud/plus/v1/yifu/social/mapper/TPaymentInfoMapper.java
+1
-1
TPaymentInfoServiceImpl.java
.../v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
+11
-11
TSocialInfoServiceImpl.java
...s/v1/yifu/social/service/impl/TSocialInfoServiceImpl.java
+3
-2
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmployeeBusinessVo.java
View file @
e1428ff5
...
...
@@ -12,7 +12,6 @@ import org.hibernate.validator.constraints.Length;
import
javax.validation.constraints.NotBlank
;
import
java.time.LocalDate
;
import
java.time.LocalDateTime
;
import
java.util.Date
;
import
java.util.List
;
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeProjectServiceImpl.java
View file @
e1428ff5
...
...
@@ -1566,7 +1566,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
}
// 获取社保和公积金派减信息
SocialAndFundReduceVo
vo
=
new
SocialAndFundReduceVo
();
vo
.
setEmpId
(
emp
Id
);
vo
.
setEmpId
(
emp
loyeeInfo
.
getEmpId
()
);
R
<
SocialAndFundReduceVo
>
reduceVoR
=
HttpDaprUtil
.
invokeMethodPost
(
daprSocialProperties
.
getAppUrl
(),
daprSocialProperties
.
getAppId
()
,
"/tdispatchinfo/inner/getSocialAndFundReduceInfo"
,
vo
,
SocialAndFundReduceVo
.
class
,
SecurityConstants
.
FROM_IN
);
if
(
null
!=
reduceVoR
&&
reduceVoR
.
getData
()
!=
null
){
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TPaymentInfoMapper.java
View file @
e1428ff5
...
...
@@ -248,7 +248,7 @@ public interface TPaymentInfoMapper extends BaseMapper<TPaymentInfo> {
* @param empIds
* @return
**/
List
<
TPayment
All
InfoVo
>
getPaymentAllInfoList
(
@Param
(
"tPaymentInfo"
)
TPaymentInfo
paymentInfo
List
<
TPaymentInfoVo
>
getPaymentAllInfoList
(
@Param
(
"tPaymentInfo"
)
TPaymentInfo
paymentInfo
,
@Param
(
"settleDomainIds"
)
List
<
String
>
settleDomainIds
,
@Param
(
"idsStr"
)
List
<
String
>
idsStr
,
@Param
(
"empIds"
)
List
<
String
>
empIds
);
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
View file @
e1428ff5
...
...
@@ -3385,12 +3385,12 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
private
void
getPaymentBusinessPagesVoList
(
List
<
PaymentBusinessPageVo
>
voList
,
TPaymentInfo
paymentInfo
,
List
<
String
>
settleDomainIds
,
List
<
String
>
empIds
)
{
List
<
TPayment
All
InfoVo
>
paymentAllInfoVoList
=
baseMapper
.
getPaymentAllInfoList
(
paymentInfo
,
settleDomainIds
List
<
TPaymentInfoVo
>
paymentAllInfoVoList
=
baseMapper
.
getPaymentAllInfoList
(
paymentInfo
,
settleDomainIds
,
null
,
empIds
);
HashMap
<
String
,
PaymentBusinessPageVo
>
pageVoHashMap
=
new
HashMap
<>();
if
(
Common
.
isNotNull
(
paymentAllInfoVoList
)){
PaymentBusinessPageVo
pageVo
;
for
(
TPayment
All
InfoVo
infoVo:
paymentAllInfoVoList
){
for
(
TPaymentInfoVo
infoVo:
paymentAllInfoVoList
){
pageVo
=
pageVoHashMap
.
get
(
infoVo
.
getSocialPayMonth
());
if
(
null
==
pageVo
){
pageVo
=
new
PaymentBusinessPageVo
();
...
...
@@ -3438,13 +3438,13 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
}
private
PaymentBusinessPageVo
getPaymentBusinessPageVo
(
TPaymentInfo
paymentInfo
)
{
List
<
TPayment
All
InfoVo
>
paymentAllInfoVoList
=
baseMapper
.
getPaymentAllInfoList
(
paymentInfo
,
null
,
null
,
null
);
List
<
TPaymentInfoVo
>
paymentAllInfoVoList
=
baseMapper
.
getPaymentAllInfoList
(
paymentInfo
,
null
,
null
,
null
);
PaymentBusinessPageVo
pageVo
=
new
PaymentBusinessPageVo
();
if
(
Common
.
isNotNull
(
paymentAllInfoVoList
)){
boolean
isRefund
;
boolean
isSocial
;
boolean
isInjury
;
for
(
TPayment
All
InfoVo
infoVo:
paymentAllInfoVoList
){
for
(
TPaymentInfoVo
infoVo:
paymentAllInfoVoList
){
if
(
Common
.
isNotNull
(
infoVo
.
getSocialPayMonth
())){
pageVo
.
setMonth
(
infoVo
.
getSocialPayMonth
());
}
...
...
@@ -3481,11 +3481,11 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
* @param infoVo
* @return
**/
private
void
handleSocialAndRefundMoney
(
PaymentBusinessPageVo
pageVo
,
boolean
isRefund
,
boolean
isSocial
,
TPayment
All
InfoVo
infoVo
)
{
private
void
handleSocialAndRefundMoney
(
PaymentBusinessPageVo
pageVo
,
boolean
isRefund
,
boolean
isSocial
,
TPaymentInfoVo
infoVo
)
{
if
(
isSocial
&&
!
isRefund
){
pageVo
.
setPersonalPensionSet
(
infoVo
.
get
Personal
PensionSet
());
pageVo
.
setPersonalMedicalSet
(
infoVo
.
get
Personal
MedicalSet
());
pageVo
.
setPersonalUnemploymentSet
(
infoVo
.
get
Personal
UnemploymentSet
());
pageVo
.
setPersonalPensionSet
(
infoVo
.
get
Unit
PensionSet
());
pageVo
.
setPersonalMedicalSet
(
infoVo
.
get
Unit
MedicalSet
());
pageVo
.
setPersonalUnemploymentSet
(
infoVo
.
get
Unit
UnemploymentSet
());
pageVo
.
setUnitPensionSet
(
infoVo
.
getUnitPensionSet
());
pageVo
.
setUnitMedicalSet
(
infoVo
.
getUnitMedicalSet
());
pageVo
.
setUnitInjurySet
(
infoVo
.
getUnitInjurySet
());
...
...
@@ -3510,7 +3510,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
* @param infoVo
* @return
**/
private
void
handleRefundMoney
(
PaymentBusinessPageVo
pageVo
,
boolean
isRefund
,
TPayment
All
InfoVo
infoVo
)
{
private
void
handleRefundMoney
(
PaymentBusinessPageVo
pageVo
,
boolean
isRefund
,
TPaymentInfoVo
infoVo
)
{
if
(
isRefund
){
pageVo
.
setPersonalRefund
(
BigDecimalUtils
.
safeAdd
(
pageVo
.
getPersonalRefund
(),
infoVo
.
getPersonalPensionMoney
(),
...
...
@@ -3539,7 +3539,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
* @param infoVo
* @return
**/
private
void
handleSocialAndInjuryMoney
(
PaymentBusinessPageVo
pageVo
,
boolean
isRefund
,
boolean
isInjury
,
TPayment
All
InfoVo
infoVo
)
{
private
void
handleSocialAndInjuryMoney
(
PaymentBusinessPageVo
pageVo
,
boolean
isRefund
,
boolean
isInjury
,
TPaymentInfoVo
infoVo
)
{
if
(
isInjury
){
pageVo
.
setInjuryAloneSet
(
infoVo
.
getUnitInjurySet
());
pageVo
.
setInjuryAloneMoney
(
BigDecimalUtils
.
safeAdd
(
pageVo
.
getInjuryAloneMoney
(),
infoVo
.
getUnitInjuryMoney
()));
...
...
@@ -3577,7 +3577,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
* @param infoVo
* @return
**/
private
void
initPaymentSum
(
PaymentBusinessPageVo
pageVo
,
boolean
isRefund
,
TPayment
All
InfoVo
infoVo
)
{
private
void
initPaymentSum
(
PaymentBusinessPageVo
pageVo
,
boolean
isRefund
,
TPaymentInfoVo
infoVo
)
{
if
(!
isRefund
){
pageVo
.
setFundPersonalSum
(
BigDecimalUtils
.
safeAdd
(
pageVo
.
getFundPersonalSum
(),
infoVo
.
getPersonalProvidentSum
()));
pageVo
.
setFundUnitSum
(
BigDecimalUtils
.
safeAdd
(
pageVo
.
getFundUnitSum
(),
infoVo
.
getUnitProvidentSum
()));
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialInfoServiceImpl.java
View file @
e1428ff5
...
...
@@ -361,7 +361,7 @@ public class TSocialInfoServiceImpl extends ServiceImpl<TSocialInfoMapper, TSoci
* @return
**/
private
void
initSocialAddStatus
(
SocialAddAndReduceVo
socialAddAndReduceVo
,
TDispatchInfo
dispatchInfo
)
{
//new:社保
办理状态 0 未办理 1 全部办理成功(原-已办理) 2 全部办理失败(原-办理失败) 3已派减 4办理中 (20210609派单拆分新增fxj) 5部分办理失败 (20210609派单拆分新增fxj)
//new:社保
派增办理状态 0 派单开始 1 办理中 2 办理成功 3 办理失败 4 部分办理成功
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
dispatchInfo
.
getStatus
())
||
CommonConstants
.
ONE_STRING
.
equals
(
dispatchInfo
.
getStatus
())
||
CommonConstants
.
THREE_STRING
.
equals
(
dispatchInfo
.
getStatus
()))
{
...
...
@@ -379,7 +379,7 @@ public class TSocialInfoServiceImpl extends ServiceImpl<TSocialInfoMapper, TSoci
socialAddAndReduceVo
.
setSocialAddStatus
(
CommonConstants
.
THREE_STRING
);
}
// 部分办理失败
if
(
CommonConstants
.
FIV
E_STRING
.
equals
(
dispatchInfo
.
getSocialHandleStatus
()))
{
if
(
CommonConstants
.
THRE
E_STRING
.
equals
(
dispatchInfo
.
getSocialHandleStatus
()))
{
socialAddAndReduceVo
.
setSocialAddStatus
(
CommonConstants
.
FOUR_STRING
);
}
}
...
...
@@ -411,6 +411,7 @@ public class TSocialInfoServiceImpl extends ServiceImpl<TSocialInfoMapper, TSoci
* @return
**/
private
void
initSocialReduceStatus
(
SocialAddAndReduceVo
socialAddAndReduceVo
,
TDispatchInfo
dispatchInfo
)
{
// 社保派减办理状态 0 派单开始 1 办理中 2 办理成功 3 办理失败
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
dispatchInfo
.
getStatus
())
||
CommonConstants
.
ONE_STRING
.
equals
(
dispatchInfo
.
getStatus
())
||
CommonConstants
.
THREE_STRING
.
equals
(
dispatchInfo
.
getStatus
()))
{
...
...
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