Commit 5e66f40e authored by huyuchen's avatar huyuchen

生成收入接口修改

parent d0bc8e24
...@@ -128,4 +128,6 @@ public interface TForecastLibraryService extends IService<TForecastLibrary> { ...@@ -128,4 +128,6 @@ public interface TForecastLibraryService extends IService<TForecastLibrary> {
void createForecastInfo(); void createForecastInfo();
void createForecastFundInfo(); void createForecastFundInfo();
void pushForecastInfo(List<TForecastLibrary> library);
} }
...@@ -3163,8 +3163,10 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T ...@@ -3163,8 +3163,10 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
//办理成功生成收入 //办理成功生成收入
createIncomeInfo(library); createIncomeInfo(library);
} }
forecastLibraryService.pushForecastInfo(libraryFundInfoList);
} }
} }
} }
dis.setFundHandleRemark(ServiceUtil.ifNullToEmpty(handleRemark)); dis.setFundHandleRemark(ServiceUtil.ifNullToEmpty(handleRemark));
if (CommonConstants.ZERO_INT == flag) { if (CommonConstants.ZERO_INT == flag) {
......
...@@ -1863,6 +1863,7 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap ...@@ -1863,6 +1863,7 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
//办理成功生成收入 //办理成功生成收入
createIncomeInfo(library); createIncomeInfo(library);
} }
this.pushForecastInfo(librarySocialInfoList);
} }
} }
if (isSaveAndUpdate) { if (isSaveAndUpdate) {
...@@ -2299,6 +2300,14 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap ...@@ -2299,6 +2300,14 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
} }
} }
@Override
public void pushForecastInfo(List<TForecastLibrary> library) {
if (Common.isNotNull(library)) {
//推送数据封装并推送
initEkpPushSocialParam(library);
}
}
public void initEkpPushSocialParam(List<TForecastLibrary> unPushInfo) { public void initEkpPushSocialParam(List<TForecastLibrary> unPushInfo) {
List<String> pushList = new ArrayList<>(); List<String> pushList = new ArrayList<>();
Map<String,Integer> map = new HashMap<>(); Map<String,Integer> map = new HashMap<>();
......
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