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
a7052f73
Commit
a7052f73
authored
Jan 17, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.4-B端社保、档案
parent
0c1b971a
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 @
a7052f73
...
@@ -12,7 +12,6 @@ import org.hibernate.validator.constraints.Length;
...
@@ -12,7 +12,6 @@ import org.hibernate.validator.constraints.Length;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotBlank
;
import
java.time.LocalDate
;
import
java.time.LocalDate
;
import
java.time.LocalDateTime
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
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 @
a7052f73
...
@@ -1566,7 +1566,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
...
@@ -1566,7 +1566,7 @@ public class TEmployeeProjectServiceImpl extends ServiceImpl<TEmployeeProjectMap
}
}
// 获取社保和公积金派减信息
// 获取社保和公积金派减信息
SocialAndFundReduceVo
vo
=
new
SocialAndFundReduceVo
();
SocialAndFundReduceVo
vo
=
new
SocialAndFundReduceVo
();
vo
.
setEmpId
(
emp
Id
);
vo
.
setEmpId
(
emp
loyeeInfo
.
getEmpId
()
);
R
<
SocialAndFundReduceVo
>
reduceVoR
=
HttpDaprUtil
.
invokeMethodPost
(
daprSocialProperties
.
getAppUrl
(),
daprSocialProperties
.
getAppId
()
R
<
SocialAndFundReduceVo
>
reduceVoR
=
HttpDaprUtil
.
invokeMethodPost
(
daprSocialProperties
.
getAppUrl
(),
daprSocialProperties
.
getAppId
()
,
"/tdispatchinfo/inner/getSocialAndFundReduceInfo"
,
vo
,
SocialAndFundReduceVo
.
class
,
SecurityConstants
.
FROM_IN
);
,
"/tdispatchinfo/inner/getSocialAndFundReduceInfo"
,
vo
,
SocialAndFundReduceVo
.
class
,
SecurityConstants
.
FROM_IN
);
if
(
null
!=
reduceVoR
&&
reduceVoR
.
getData
()
!=
null
){
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 @
a7052f73
...
@@ -248,7 +248,7 @@ public interface TPaymentInfoMapper extends BaseMapper<TPaymentInfo> {
...
@@ -248,7 +248,7 @@ public interface TPaymentInfoMapper extends BaseMapper<TPaymentInfo> {
* @param empIds
* @param empIds
* @return
* @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
(
"settleDomainIds"
)
List
<
String
>
settleDomainIds
,
@Param
(
"idsStr"
)
List
<
String
>
idsStr
,
@Param
(
"empIds"
)
List
<
String
>
empIds
);
,
@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 @
a7052f73
...
@@ -3385,12 +3385,12 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
...
@@ -3385,12 +3385,12 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
private
void
getPaymentBusinessPagesVoList
(
List
<
PaymentBusinessPageVo
>
voList
,
TPaymentInfo
paymentInfo
private
void
getPaymentBusinessPagesVoList
(
List
<
PaymentBusinessPageVo
>
voList
,
TPaymentInfo
paymentInfo
,
List
<
String
>
settleDomainIds
,
List
<
String
>
empIds
)
{
,
List
<
String
>
settleDomainIds
,
List
<
String
>
empIds
)
{
List
<
TPayment
All
InfoVo
>
paymentAllInfoVoList
=
baseMapper
.
getPaymentAllInfoList
(
paymentInfo
,
settleDomainIds
List
<
TPaymentInfoVo
>
paymentAllInfoVoList
=
baseMapper
.
getPaymentAllInfoList
(
paymentInfo
,
settleDomainIds
,
null
,
empIds
);
,
null
,
empIds
);
HashMap
<
String
,
PaymentBusinessPageVo
>
pageVoHashMap
=
new
HashMap
<>();
HashMap
<
String
,
PaymentBusinessPageVo
>
pageVoHashMap
=
new
HashMap
<>();
if
(
Common
.
isNotNull
(
paymentAllInfoVoList
)){
if
(
Common
.
isNotNull
(
paymentAllInfoVoList
)){
PaymentBusinessPageVo
pageVo
;
PaymentBusinessPageVo
pageVo
;
for
(
TPayment
All
InfoVo
infoVo:
paymentAllInfoVoList
){
for
(
TPaymentInfoVo
infoVo:
paymentAllInfoVoList
){
pageVo
=
pageVoHashMap
.
get
(
infoVo
.
getSocialPayMonth
());
pageVo
=
pageVoHashMap
.
get
(
infoVo
.
getSocialPayMonth
());
if
(
null
==
pageVo
){
if
(
null
==
pageVo
){
pageVo
=
new
PaymentBusinessPageVo
();
pageVo
=
new
PaymentBusinessPageVo
();
...
@@ -3438,13 +3438,13 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
...
@@ -3438,13 +3438,13 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
}
}
private
PaymentBusinessPageVo
getPaymentBusinessPageVo
(
TPaymentInfo
paymentInfo
)
{
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
();
PaymentBusinessPageVo
pageVo
=
new
PaymentBusinessPageVo
();
if
(
Common
.
isNotNull
(
paymentAllInfoVoList
)){
if
(
Common
.
isNotNull
(
paymentAllInfoVoList
)){
boolean
isRefund
;
boolean
isRefund
;
boolean
isSocial
;
boolean
isSocial
;
boolean
isInjury
;
boolean
isInjury
;
for
(
TPayment
All
InfoVo
infoVo:
paymentAllInfoVoList
){
for
(
TPaymentInfoVo
infoVo:
paymentAllInfoVoList
){
if
(
Common
.
isNotNull
(
infoVo
.
getSocialPayMonth
())){
if
(
Common
.
isNotNull
(
infoVo
.
getSocialPayMonth
())){
pageVo
.
setMonth
(
infoVo
.
getSocialPayMonth
());
pageVo
.
setMonth
(
infoVo
.
getSocialPayMonth
());
}
}
...
@@ -3481,11 +3481,11 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
...
@@ -3481,11 +3481,11 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
* @param infoVo
* @param infoVo
* @return
* @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
){
if
(
isSocial
&&
!
isRefund
){
pageVo
.
setPersonalPensionSet
(
infoVo
.
get
Personal
PensionSet
());
pageVo
.
setPersonalPensionSet
(
infoVo
.
get
Unit
PensionSet
());
pageVo
.
setPersonalMedicalSet
(
infoVo
.
get
Personal
MedicalSet
());
pageVo
.
setPersonalMedicalSet
(
infoVo
.
get
Unit
MedicalSet
());
pageVo
.
setPersonalUnemploymentSet
(
infoVo
.
get
Personal
UnemploymentSet
());
pageVo
.
setPersonalUnemploymentSet
(
infoVo
.
get
Unit
UnemploymentSet
());
pageVo
.
setUnitPensionSet
(
infoVo
.
getUnitPensionSet
());
pageVo
.
setUnitPensionSet
(
infoVo
.
getUnitPensionSet
());
pageVo
.
setUnitMedicalSet
(
infoVo
.
getUnitMedicalSet
());
pageVo
.
setUnitMedicalSet
(
infoVo
.
getUnitMedicalSet
());
pageVo
.
setUnitInjurySet
(
infoVo
.
getUnitInjurySet
());
pageVo
.
setUnitInjurySet
(
infoVo
.
getUnitInjurySet
());
...
@@ -3510,7 +3510,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
...
@@ -3510,7 +3510,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
* @param infoVo
* @param infoVo
* @return
* @return
**/
**/
private
void
handleRefundMoney
(
PaymentBusinessPageVo
pageVo
,
boolean
isRefund
,
TPayment
All
InfoVo
infoVo
)
{
private
void
handleRefundMoney
(
PaymentBusinessPageVo
pageVo
,
boolean
isRefund
,
TPaymentInfoVo
infoVo
)
{
if
(
isRefund
){
if
(
isRefund
){
pageVo
.
setPersonalRefund
(
BigDecimalUtils
.
safeAdd
(
pageVo
.
getPersonalRefund
(),
pageVo
.
setPersonalRefund
(
BigDecimalUtils
.
safeAdd
(
pageVo
.
getPersonalRefund
(),
infoVo
.
getPersonalPensionMoney
(),
infoVo
.
getPersonalPensionMoney
(),
...
@@ -3539,7 +3539,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
...
@@ -3539,7 +3539,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
* @param infoVo
* @param infoVo
* @return
* @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
){
if
(
isInjury
){
pageVo
.
setInjuryAloneSet
(
infoVo
.
getUnitInjurySet
());
pageVo
.
setInjuryAloneSet
(
infoVo
.
getUnitInjurySet
());
pageVo
.
setInjuryAloneMoney
(
BigDecimalUtils
.
safeAdd
(
pageVo
.
getInjuryAloneMoney
(),
infoVo
.
getUnitInjuryMoney
()));
pageVo
.
setInjuryAloneMoney
(
BigDecimalUtils
.
safeAdd
(
pageVo
.
getInjuryAloneMoney
(),
infoVo
.
getUnitInjuryMoney
()));
...
@@ -3577,7 +3577,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
...
@@ -3577,7 +3577,7 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
* @param infoVo
* @param infoVo
* @return
* @return
**/
**/
private
void
initPaymentSum
(
PaymentBusinessPageVo
pageVo
,
boolean
isRefund
,
TPayment
All
InfoVo
infoVo
)
{
private
void
initPaymentSum
(
PaymentBusinessPageVo
pageVo
,
boolean
isRefund
,
TPaymentInfoVo
infoVo
)
{
if
(!
isRefund
){
if
(!
isRefund
){
pageVo
.
setFundPersonalSum
(
BigDecimalUtils
.
safeAdd
(
pageVo
.
getFundPersonalSum
(),
infoVo
.
getPersonalProvidentSum
()));
pageVo
.
setFundPersonalSum
(
BigDecimalUtils
.
safeAdd
(
pageVo
.
getFundPersonalSum
(),
infoVo
.
getPersonalProvidentSum
()));
pageVo
.
setFundUnitSum
(
BigDecimalUtils
.
safeAdd
(
pageVo
.
getFundUnitSum
(),
infoVo
.
getUnitProvidentSum
()));
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 @
a7052f73
...
@@ -361,7 +361,7 @@ public class TSocialInfoServiceImpl extends ServiceImpl<TSocialInfoMapper, TSoci
...
@@ -361,7 +361,7 @@ public class TSocialInfoServiceImpl extends ServiceImpl<TSocialInfoMapper, TSoci
* @return
* @return
**/
**/
private
void
initSocialAddStatus
(
SocialAddAndReduceVo
socialAddAndReduceVo
,
TDispatchInfo
dispatchInfo
)
{
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
())
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
dispatchInfo
.
getStatus
())
||
CommonConstants
.
ONE_STRING
.
equals
(
dispatchInfo
.
getStatus
())
||
CommonConstants
.
ONE_STRING
.
equals
(
dispatchInfo
.
getStatus
())
||
CommonConstants
.
THREE_STRING
.
equals
(
dispatchInfo
.
getStatus
()))
{
||
CommonConstants
.
THREE_STRING
.
equals
(
dispatchInfo
.
getStatus
()))
{
...
@@ -379,7 +379,7 @@ public class TSocialInfoServiceImpl extends ServiceImpl<TSocialInfoMapper, TSoci
...
@@ -379,7 +379,7 @@ public class TSocialInfoServiceImpl extends ServiceImpl<TSocialInfoMapper, TSoci
socialAddAndReduceVo
.
setSocialAddStatus
(
CommonConstants
.
THREE_STRING
);
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
);
socialAddAndReduceVo
.
setSocialAddStatus
(
CommonConstants
.
FOUR_STRING
);
}
}
}
}
...
@@ -411,6 +411,7 @@ public class TSocialInfoServiceImpl extends ServiceImpl<TSocialInfoMapper, TSoci
...
@@ -411,6 +411,7 @@ public class TSocialInfoServiceImpl extends ServiceImpl<TSocialInfoMapper, TSoci
* @return
* @return
**/
**/
private
void
initSocialReduceStatus
(
SocialAddAndReduceVo
socialAddAndReduceVo
,
TDispatchInfo
dispatchInfo
)
{
private
void
initSocialReduceStatus
(
SocialAddAndReduceVo
socialAddAndReduceVo
,
TDispatchInfo
dispatchInfo
)
{
// 社保派减办理状态 0 派单开始 1 办理中 2 办理成功 3 办理失败
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
dispatchInfo
.
getStatus
())
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
dispatchInfo
.
getStatus
())
||
CommonConstants
.
ONE_STRING
.
equals
(
dispatchInfo
.
getStatus
())
||
CommonConstants
.
ONE_STRING
.
equals
(
dispatchInfo
.
getStatus
())
||
CommonConstants
.
THREE_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