Commit 1589f0ba authored by 刘长帅's avatar 刘长帅

1670日志添加

parent ca45897c
...@@ -158,7 +158,8 @@ public class ChiefStockPriceTask implements ApplicationRunner { ...@@ -158,7 +158,8 @@ public class ChiefStockPriceTask implements ApplicationRunner {
Long customerId = accountProductRelation.getCustomerId(); Long customerId = accountProductRelation.getCustomerId();
MemberBase memberBase = memberBaseService.queryUsMemberBaseById(customerId); MemberBase memberBase = memberBaseService.queryUsMemberBaseById(customerId);
Long marketId = accountProductRelation.getSimulatedMarketId(); Long marketId = accountProductRelation.getSimulatedMarketId();
OptionalUtil.checkNull(memberBase, "查询用户数据不存在"); String errorString ="查询用户数据不存在,客户id:" + customerId ;
OptionalUtil.checkNull(memberBase, errorString);
//查询持仓信息 //查询持仓信息
BigDecimal funding = null; BigDecimal funding = null;
//获取可用资金 //获取可用资金
......
...@@ -163,7 +163,8 @@ public class HighStockPriceTask implements ApplicationRunner { ...@@ -163,7 +163,8 @@ public class HighStockPriceTask implements ApplicationRunner {
Long customerId = accountProductRelation.getCustomerId(); Long customerId = accountProductRelation.getCustomerId();
MemberBase memberBase = memberBaseService.queryUsMemberBaseById(customerId); MemberBase memberBase = memberBaseService.queryUsMemberBaseById(customerId);
Long marketId = accountProductRelation.getSimulatedMarketId(); Long marketId = accountProductRelation.getSimulatedMarketId();
OptionalUtil.checkNull(memberBase, "查询用户数据不存在"); String errorString ="查询用户数据不存在,客户id:" + customerId ;
OptionalUtil.checkNull(memberBase, errorString);
//查询持仓信息 //查询持仓信息
BigDecimal funding = null; BigDecimal funding = null;
//获取可用资金 //获取可用资金
......
...@@ -158,7 +158,8 @@ public class KingStockPriceTask implements ApplicationRunner { ...@@ -158,7 +158,8 @@ public class KingStockPriceTask implements ApplicationRunner {
Long customerId = accountProductRelation.getCustomerId(); Long customerId = accountProductRelation.getCustomerId();
MemberBase memberBase = memberBaseService.queryUsMemberBaseById(customerId); MemberBase memberBase = memberBaseService.queryUsMemberBaseById(customerId);
Long marketId = accountProductRelation.getSimulatedMarketId(); Long marketId = accountProductRelation.getSimulatedMarketId();
OptionalUtil.checkNull(memberBase, "查询用户数据不存在"); String errorString ="查询用户数据不存在,客户id:" + customerId ;
OptionalUtil.checkNull(memberBase, errorString);
//查询持仓信息 //查询持仓信息
BigDecimal funding = null; BigDecimal funding = null;
//获取可用资金 //获取可用资金
......
...@@ -158,7 +158,8 @@ public class SmartStockPriceTask implements ApplicationRunner { ...@@ -158,7 +158,8 @@ public class SmartStockPriceTask implements ApplicationRunner {
Long customerId = accountProductRelation.getCustomerId(); Long customerId = accountProductRelation.getCustomerId();
MemberBase memberBase = memberBaseService.queryUsMemberBaseById(customerId); MemberBase memberBase = memberBaseService.queryUsMemberBaseById(customerId);
Long marketId = accountProductRelation.getSimulatedMarketId(); Long marketId = accountProductRelation.getSimulatedMarketId();
OptionalUtil.checkNull(memberBase, "查询用户数据不存在"); String errorString ="查询用户数据不存在,客户id:" + customerId ;
OptionalUtil.checkNull(memberBase, errorString);
//查询持仓信息 //查询持仓信息
BigDecimal funding = null; BigDecimal funding = null;
//获取可用资金 //获取可用资金
......
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