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
a3c30738
Commit
a3c30738
authored
Mar 13, 2024
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
明细接口改造
parent
53e80d45
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
2 deletions
+34
-2
TForecastLibraryServiceImpl.java
...yifu/social/service/impl/TForecastLibraryServiceImpl.java
+34
-2
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TForecastLibraryServiceImpl.java
View file @
a3c30738
...
...
@@ -2491,7 +2491,23 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
}
else
{
selectVoMap
=
this
.
getSelectVoMap
();
}
initEkpPushSocialParam
(
library
,
synFlag
,
selectVoMap
);
int
i
=
(
int
)
Math
.
ceil
((
double
)
library
.
size
()
/
CommonConstants
.
ONE_THOUSAND_INT
);
if
(!
library
.
isEmpty
())
{
List
<
TForecastLibrary
>
pushList
;
int
k
=
0
;
for
(
int
j
=
0
;
j
<
i
;
j
++)
{
if
(
j
==
i
-
1
)
{
pushList
=
library
.
subList
(
k
,
library
.
size
());
}
else
{
pushList
=
library
.
subList
(
k
,
k
+
1000
);
}
k
=
k
+
1000
;
if
(
Common
.
isNotNull
(
pushList
))
{
//推送数据封装并推送
initEkpPushSocialParam
(
pushList
,
synFlag
,
selectVoMap
);
}
}
}
}
}
...
...
@@ -2506,7 +2522,23 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
selectVoMap
=
this
.
getSelectVoMap
();
}
//推送数据封装并推送
initEkpPushFundParam
(
library
,
synFlag
,
selectVoMap
);
int
i
=
(
int
)
Math
.
ceil
((
double
)
library
.
size
()
/
CommonConstants
.
ONE_THOUSAND_INT
);
if
(!
library
.
isEmpty
())
{
List
<
TForecastLibrary
>
pushList
;
int
k
=
0
;
for
(
int
j
=
0
;
j
<
i
;
j
++)
{
if
(
j
==
i
-
1
)
{
pushList
=
library
.
subList
(
k
,
library
.
size
());
}
else
{
pushList
=
library
.
subList
(
k
,
k
+
1000
);
}
k
=
k
+
1000
;
if
(
Common
.
isNotNull
(
pushList
))
{
//推送数据封装并推送
initEkpPushFundParam
(
pushList
,
synFlag
,
selectVoMap
);
}
}
}
}
}
...
...
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