diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java index f6003072c..f707c3a11 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/order/service/impl/OilOrderServiceImpl.java @@ -33,15 +33,9 @@ import com.fuint.business.order.mapper.OilOrderMapper; import com.fuint.business.order.service.*; import com.fuint.business.order.vo.Excel.OilOrderExcel; import com.fuint.business.order.vo.OilOrderVo; -import com.fuint.business.petrolStationManagement.entity.OilName; -import com.fuint.business.petrolStationManagement.entity.OilNumber; -import com.fuint.business.petrolStationManagement.entity.OilTank; -import com.fuint.business.petrolStationManagement.entity.OilTracking; +import com.fuint.business.petrolStationManagement.entity.*; import com.fuint.business.petrolStationManagement.mapper.OilNumberMapper; -import com.fuint.business.petrolStationManagement.service.OilNameService; -import com.fuint.business.petrolStationManagement.service.OilNumberService; -import com.fuint.business.petrolStationManagement.service.OilTankService; -import com.fuint.business.petrolStationManagement.service.OilTrackingService; +import com.fuint.business.petrolStationManagement.service.*; import com.fuint.business.storeInformation.entity.LJStore; import com.fuint.business.storeInformation.service.ILJStoreService; import com.fuint.business.userManager.entity.ChainStoreConfig; @@ -1702,4 +1696,13 @@ return stringDoubleMap; saleDetail.setSaleNumber(goodsNum); saleDetailService.insertSaleDetail(saleDetail,isMember); } + + + @Resource + OilGunService oilGunService; + @Override + public OilOrderVo getInfoByTime(Date time,Integer tankId) { + List oilGuns = oilGunService.selectOilGunByTankId(tankId); + return baseMapper.getInfoByTime(time,oilGuns); + } }