|
|
|
|
@ -232,6 +232,7 @@ public class MoldBrandServiceImpl implements MoldBrandService {
|
|
|
|
|
respVO.setAllCount(statistics.getAllCount());
|
|
|
|
|
respVO.setOnMachineCount(statistics.getOnMachineCount());
|
|
|
|
|
respVO.setStandbyCount(statistics.getStandbyCount());
|
|
|
|
|
respVO.setInStockCount(statistics.getInStockCount());
|
|
|
|
|
respVO.setRepairingCount(statistics.getRepairingCount());
|
|
|
|
|
respVO.setScrappedCount(statistics.getScrappedCount());
|
|
|
|
|
return respVO;
|
|
|
|
|
@ -248,6 +249,7 @@ public class MoldBrandServiceImpl implements MoldBrandService {
|
|
|
|
|
respVO.setAllCount((long) list.size());
|
|
|
|
|
respVO.setOnMachineCount(countByStatus(list, MoldBrandStatusEnum.ON_MACHINE.getStatus()));
|
|
|
|
|
respVO.setStandbyCount(countByStatus(list, MoldBrandStatusEnum.STANDBY.getStatus()));
|
|
|
|
|
respVO.setInStockCount(countByStatus(list, MoldBrandStatusEnum.IN_STOCK.getStatus()));
|
|
|
|
|
respVO.setRepairingCount(countByStatus(list, MoldBrandStatusEnum.REPAIRING.getStatus()));
|
|
|
|
|
respVO.setScrappedCount(countByStatus(list, MoldBrandStatusEnum.SCRAPPED.getStatus()));
|
|
|
|
|
return respVO;
|
|
|
|
|
|