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
5f4cc0b3
Commit
5f4cc0b3
authored
Mar 26, 2024
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
明细接口改造
parent
570d744c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
17 deletions
+15
-17
TIncomeServiceImpl.java
.../plus/v1/yifu/social/service/impl/TIncomeServiceImpl.java
+8
-6
TPaymentInfoServiceImpl.java
.../v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
+6
-10
DoJointSocialTask.java
...ifu/cloud/plus/v1/yifu/social/util/DoJointSocialTask.java
+1
-1
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TIncomeServiceImpl.java
View file @
5f4cc0b3
...
@@ -309,12 +309,14 @@ public class TIncomeServiceImpl extends ServiceImpl<TIncomeMapper, TIncome> impl
...
@@ -309,12 +309,14 @@ public class TIncomeServiceImpl extends ServiceImpl<TIncomeMapper, TIncome> impl
tIncomeDetail
.
setCreateTime
(
new
Date
());
tIncomeDetail
.
setCreateTime
(
new
Date
());
tIncomeDetail
.
setDataCreateMonth
(
DateUtil
.
addMonth
(
0
));
tIncomeDetail
.
setDataCreateMonth
(
DateUtil
.
addMonth
(
0
));
tIncomeDetailService
.
save
(
tIncomeDetail
);
tIncomeDetailService
.
save
(
tIncomeDetail
);
// 不存在,直接新增
synchronized
(
this
)
{
if
(
incomeList
==
null
||
incomeList
.
isEmpty
())
{
// 不存在,直接新增
return
this
.
savePaymentIncome
(
tIncomeDetail
,
paymentId
);
if
(
incomeList
==
null
||
incomeList
.
isEmpty
())
{
}
else
{
return
this
.
savePaymentIncome
(
tIncomeDetail
,
paymentId
);
// 核心判断
}
else
{
return
this
.
copyCore
(
tIncomeDetail
,
incomeList
,
detailList
,
paymentId
,
true
);
// 核心判断
return
this
.
copyCore
(
tIncomeDetail
,
incomeList
,
detailList
,
paymentId
,
true
);
}
}
}
}
}
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
View file @
5f4cc0b3
...
@@ -3208,11 +3208,9 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
...
@@ -3208,11 +3208,9 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
int
i
=
(
int
)
Math
.
ceil
((
double
)
count
/
CommonConstants
.
TEN_THOUSAND_INT
);
int
i
=
(
int
)
Math
.
ceil
((
double
)
count
/
CommonConstants
.
TEN_THOUSAND_INT
);
for
(
int
j
=
0
;
j
<
i
;
j
++)
{
for
(
int
j
=
0
;
j
<
i
;
j
++)
{
sumList
=
baseMapper
.
getTPaymentSocialIncomeInfo
(
searchVo
,
user
.
getId
());
sumList
=
baseMapper
.
getTPaymentSocialIncomeInfo
(
searchVo
,
user
.
getId
());
synchronized
(
this
)
{
if
(
Common
.
isNotNull
(
sumList
))
{
if
(
Common
.
isNotNull
(
sumList
))
{
//生成收入
//生成收入
createIncomeInfo
(
sumList
,
CommonConstants
.
ONE_STRING
,
mapSelectVo
,
redisKey
);
createIncomeInfo
(
sumList
,
CommonConstants
.
ONE_STRING
,
mapSelectVo
,
redisKey
);
}
}
}
}
}
}
}
...
@@ -3227,11 +3225,9 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
...
@@ -3227,11 +3225,9 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
int
i
=
(
int
)
Math
.
ceil
((
double
)
count
/
CommonConstants
.
TEN_THOUSAND_INT
);
int
i
=
(
int
)
Math
.
ceil
((
double
)
count
/
CommonConstants
.
TEN_THOUSAND_INT
);
for
(
int
j
=
0
;
j
<
i
;
j
++)
{
for
(
int
j
=
0
;
j
<
i
;
j
++)
{
sumList
=
baseMapper
.
getTPaymentFundIncomeInfo
(
searchVo
,
user
.
getId
());
sumList
=
baseMapper
.
getTPaymentFundIncomeInfo
(
searchVo
,
user
.
getId
());
synchronized
(
this
)
{
if
(
Common
.
isNotNull
(
sumList
))
{
if
(
Common
.
isNotNull
(
sumList
))
{
//生成公积金收入
//生成公积金收入
createIncomeInfo
(
sumList
,
CommonConstants
.
TWO_STRING
,
mapSelectVo
,
redisKey
);
createIncomeInfo
(
sumList
,
CommonConstants
.
TWO_STRING
,
mapSelectVo
,
redisKey
);
}
}
}
}
}
}
}
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/util/DoJointSocialTask.java
View file @
5f4cc0b3
...
@@ -284,7 +284,7 @@ public class DoJointSocialTask {
...
@@ -284,7 +284,7 @@ public class DoJointSocialTask {
if
(!
Common
.
isEmpty
(
info
)
&&
Common
.
isNotNull
(
info
.
getData
()))
{
if
(!
Common
.
isEmpty
(
info
)
&&
Common
.
isNotNull
(
info
.
getData
()))
{
sendBack
=
info
.
getData
();
sendBack
=
info
.
getData
();
}
}
}
else
{
}
else
if
(
CommonConstants
.
TWO_STRING
.
equals
(
income
.
getFeeType
()))
{
EkpIncomeParamRisk
sendParam
=
new
EkpIncomeParamRisk
();
EkpIncomeParamRisk
sendParam
=
new
EkpIncomeParamRisk
();
this
.
copyToEkpRisk
(
income
,
sendParam
);
this
.
copyToEkpRisk
(
income
,
sendParam
);
R
<
String
>
info
=
ekpDaprUtil
.
pushRiskInfoToEkp
(
sendParam
);
R
<
String
>
info
=
ekpDaprUtil
.
pushRiskInfoToEkp
(
sendParam
);
...
...
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