Commit a4d3365b authored by huyuchen's avatar huyuchen

明细接口改造

parent 4627bdde
...@@ -2424,15 +2424,17 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap ...@@ -2424,15 +2424,17 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
List<TForecastLibrary> pushList; List<TForecastLibrary> pushList;
int k = 0; int k = 0;
for (int j = 0; j < i; j++) { for (int j = 0; j < i; j++) {
if (j == i - 1) { synchronized (this) {
pushList = unPushInfo.subList(k, unPushInfo.size()); if (j == i - 1) {
} else { pushList = unPushInfo.subList(k, unPushInfo.size());
pushList = unPushInfo.subList(k, k + 1000); } else {
} pushList = unPushInfo.subList(k, k + 1000);
k = k + 1000; }
if (Common.isNotNull(pushList)) { k = k + 1000;
//推送数据封装并推送 if (Common.isNotNull(pushList)) {
initEkpPushSocialParam(pushList, true, selectVoMap); //推送数据封装并推送
initEkpPushSocialParam(pushList, true, selectVoMap);
}
} }
} }
} }
...@@ -2465,15 +2467,17 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap ...@@ -2465,15 +2467,17 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
List<TForecastLibrary> pushList; List<TForecastLibrary> pushList;
int k = 0; int k = 0;
for (int j = 0; j < i; j++) { for (int j = 0; j < i; j++) {
if (j == i - 1) { synchronized (this) {
pushList = unPushInfo.subList(k, unPushInfo.size()); if (j == i - 1) {
} else { pushList = unPushInfo.subList(k, unPushInfo.size());
pushList = unPushInfo.subList(k, k + 1000); } else {
} pushList = unPushInfo.subList(k, k + 1000);
k = k + 1000; }
if (Common.isNotNull(pushList)) { k = k + 1000;
//推送数据封装并推送 if (Common.isNotNull(pushList)) {
initEkpPushFundParam(pushList, true, selectVoMap); //推送数据封装并推送
initEkpPushFundParam(pushList, true, selectVoMap);
}
} }
} }
} }
...@@ -2496,15 +2500,17 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap ...@@ -2496,15 +2500,17 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
List<TForecastLibrary> pushList; List<TForecastLibrary> pushList;
int k = 0; int k = 0;
for (int j = 0; j < i; j++) { for (int j = 0; j < i; j++) {
if (j == i - 1) { synchronized (this) {
pushList = library.subList(k, library.size()); if (j == i - 1) {
} else { pushList = library.subList(k, library.size());
pushList = library.subList(k, k + 1000); } else {
} pushList = library.subList(k, k + 1000);
k = k + 1000; }
if (Common.isNotNull(pushList)) { k = k + 1000;
//推送数据封装并推送 if (Common.isNotNull(pushList)) {
initEkpPushSocialParam(pushList,synFlag, selectVoMap); //推送数据封装并推送
initEkpPushSocialParam(pushList, synFlag, selectVoMap);
}
} }
} }
} }
...@@ -2527,15 +2533,17 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap ...@@ -2527,15 +2533,17 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
List<TForecastLibrary> pushList; List<TForecastLibrary> pushList;
int k = 0; int k = 0;
for (int j = 0; j < i; j++) { for (int j = 0; j < i; j++) {
if (j == i - 1) { synchronized (this) {
pushList = library.subList(k, library.size()); if (j == i - 1) {
} else { pushList = library.subList(k, library.size());
pushList = library.subList(k, k + 1000); } else {
} pushList = library.subList(k, k + 1000);
k = k + 1000; }
if (Common.isNotNull(pushList)) { k = k + 1000;
//推送数据封装并推送 if (Common.isNotNull(pushList)) {
initEkpPushFundParam(pushList,synFlag, selectVoMap); //推送数据封装并推送
initEkpPushFundParam(pushList, synFlag, selectVoMap);
}
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment