|
|
|
@ -34,7 +34,7 @@ public class BillingDataServiceImpl implements IBillingDataService {
|
|
|
|
|
@Override |
|
|
|
|
public BillingDataVO getBillingData() { |
|
|
|
|
|
|
|
|
|
LargeScreenDataEntity largeScreenDataEntity = largeScreenDataMapper.selectOne(Wrappers.<LargeScreenDataEntity>lambdaQuery().orderByDesc(LargeScreenDataEntity::getCreateTime)); |
|
|
|
|
LargeScreenDataEntity largeScreenDataEntity = largeScreenDataMapper.selectOne(Wrappers.<LargeScreenDataEntity>lambdaQuery().orderByDesc(LargeScreenDataEntity::getCreateTime).last("LIMIT 1"))); |
|
|
|
|
|
|
|
|
|
XxlJobQueryVO init = JSON.parseObject(largeScreenDataEntity.getData(), XxlJobQueryVO.class); |
|
|
|
|
|
|
|
|
@ -43,7 +43,7 @@ public class BillingDataServiceImpl implements IBillingDataService {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public List<WarehouseBillingDataVO> getWarehouseBillingData() { |
|
|
|
|
LargeScreenDataEntity largeScreenDataEntity = largeScreenDataMapper.selectOne(Wrappers.<LargeScreenDataEntity>lambdaQuery().orderByDesc(LargeScreenDataEntity::getCreateTime)); |
|
|
|
|
LargeScreenDataEntity largeScreenDataEntity = largeScreenDataMapper.selectOne(Wrappers.<LargeScreenDataEntity>lambdaQuery().orderByDesc(LargeScreenDataEntity::getCreateTime).last("LIMIT 1"))); |
|
|
|
|
|
|
|
|
|
XxlJobQueryVO init = JSON.parseObject(largeScreenDataEntity.getData(), XxlJobQueryVO.class); |
|
|
|
|
|
|
|
|
@ -58,7 +58,7 @@ public class BillingDataServiceImpl implements IBillingDataService {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public List<MonthBillingDataVO> getMonthBillingData() { |
|
|
|
|
LargeScreenDataEntity largeScreenDataEntity = largeScreenDataMapper.selectOne(Wrappers.<LargeScreenDataEntity>lambdaQuery().orderByDesc(LargeScreenDataEntity::getCreateTime)); |
|
|
|
|
LargeScreenDataEntity largeScreenDataEntity = largeScreenDataMapper.selectOne(Wrappers.<LargeScreenDataEntity>lambdaQuery().orderByDesc(LargeScreenDataEntity::getCreateTime).last("LIMIT 1"))); |
|
|
|
|
|
|
|
|
|
if (largeScreenDataEntity == null) { |
|
|
|
|
return new ArrayList<>(); |
|
|
|
|