Commit 8a77ea51 authored by 刘长帅's avatar 刘长帅

1458-运行时间间隔

parent ed57c6e1
......@@ -142,7 +142,6 @@ public class AssetStockPriceTask implements ApplicationRunner {
//资管
public AssetAccountProductRelation AccountProductRelationTask(AssetAccountProductRelation accountProductRelation) {
Date startTime = new Date();
AssetAccountProductRelation productRelation = new AssetAccountProductRelation();
try {
......@@ -155,6 +154,9 @@ public class AssetStockPriceTask implements ApplicationRunner {
//获取所有买入过的股票
List<AssetStockPosition> stockPositions = stockPositionService.queryStockPositions(marketId);
if(ObjectUtils.isEmpty(stockPositions)){
return null;
}
//汇总数据
AssetMarketDetailsVO marketDetailsVO = stockPositionService.createMarketDetailsVOTask(stockPositions, funding, accountProductRelation);
......
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