|
|
@@ -1098,7 +1098,7 @@ public class TradingBoxServiceImpl extends ServiceImpl<TradingBoxMapper, Trading
|
|
|
tradingBoxFeesLambdaQueryWrapper.eq(TradingBoxFees::getIdentifier, 0);
|
|
|
tradingBoxFeesLambdaQueryWrapper.orderByDesc(TradingBoxFees::getCreateTime);
|
|
|
List<TradingBoxFees> tradingBoxFeesList = tradingBoxFeesService.list(tradingBoxFeesLambdaQueryWrapper);
|
|
|
- if (tradingBoxFeesList.size() > 1) {
|
|
|
+ if (!tradingBoxFeesList.isEmpty()) {
|
|
|
tradingBoxFeesService.removeById(tradingBoxFeesList.get(0).getId());
|
|
|
//获取账单信息
|
|
|
Acc acc = new Acc();
|