Commit 5e66f40e authored by huyuchen's avatar huyuchen

生成收入接口修改

parent d0bc8e24
......@@ -128,4 +128,6 @@ public interface TForecastLibraryService extends IService<TForecastLibrary> {
void createForecastInfo();
void createForecastFundInfo();
void pushForecastInfo(List<TForecastLibrary> library);
}
......@@ -3163,8 +3163,10 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
//办理成功生成收入
createIncomeInfo(library);
}
forecastLibraryService.pushForecastInfo(libraryFundInfoList);
}
}
}
dis.setFundHandleRemark(ServiceUtil.ifNullToEmpty(handleRemark));
if (CommonConstants.ZERO_INT == flag) {
......
......@@ -1863,6 +1863,7 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
//办理成功生成收入
createIncomeInfo(library);
}
this.pushForecastInfo(librarySocialInfoList);
}
}
if (isSaveAndUpdate) {
......@@ -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) {
List<String> pushList = new ArrayList<>();
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