|
|
|
@ -11,6 +11,7 @@ import org.checkerframework.checker.units.qual.A;
|
|
|
|
|
import org.springblade.common.constant.aftersales.WorkOrderStatusConstant; |
|
|
|
|
import org.springblade.common.constant.orderpackage.OrderPackageStatusConstant; |
|
|
|
|
import org.springblade.common.constant.stockup.StockupTypeConstant; |
|
|
|
|
import org.springblade.core.redis.cache.BladeRedis; |
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
|
import org.springframework.cache.annotation.Cacheable; |
|
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
@ -35,7 +36,7 @@ public class IndexCountServiceImpl implements IndexCountService {
|
|
|
|
|
private InLibraryDeliverServiceImpl inLibraryDeliverService; |
|
|
|
|
|
|
|
|
|
private BillingServiceImpl billingService; |
|
|
|
|
|
|
|
|
|
private final BladeRedis redis; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -43,6 +44,8 @@ public class IndexCountServiceImpl implements IndexCountService {
|
|
|
|
|
*/ |
|
|
|
|
@Cacheable(value = "indexCount=10") |
|
|
|
|
public IndexCountVO indexCount() { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IndexCountVO indexCountVo = new IndexCountVO(); |
|
|
|
|
List<Long> warehouse = billingService.getWarehouse(); |
|
|
|
|
indexCountVo.setInStoreData(inStoreData(warehouse)); |
|
|
|
|