From bb9f28806d15c07f16058776ec5d75df3262e46b Mon Sep 17 00:00:00 2001 From: PigBaoBei <2739175034@qq.com> Date: Fri, 15 Dec 2023 22:34:48 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BA=93=E5=AD=98=E5=93=81=E5=A4=87=E8=B4=A7?= =?UTF-8?q?=E8=B0=83=E6=95=B4=E3=80=81=E5=A4=87=E8=B4=A7=E6=B8=85=E5=8D=95?= =?UTF-8?q?=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/constant/ModuleNameConstant.java | 2 +- .../feign/IWarehouseTrayGoodsClient.java | 4 ++ .../feign/IWarehouseUpdownGoodsClient.java | 8 +++ .../DistributionStockupController.java | 17 +++++ ...ributionStockupPackageListDetailExcel.java | 71 +++++++++++++++++++ .../mapper/DistributionStockupMapper.java | 15 ++++ .../mapper/DistributionStockupMapper.xml | 33 +++++++++ .../service/IDistributionStockupService.java | 8 +++ .../impl/DistributionStockupServiceImpl.java | 45 +++++++++++- .../feign/WarehouseTrayGoodsClient.java | 6 ++ .../feign/WarehouseUpdownGoodsClient.java | 5 ++ .../mapper/WarehouseTrayGoodsMapper.java | 7 ++ .../mapper/WarehouseTrayGoodsMapper.xml | 13 ++++ .../mapper/WarehouseUpdownGoodsMapper.java | 7 ++ .../mapper/WarehouseUpdownGoodsMapper.xml | 16 +++++ .../service/IWarehouseTrayGoodsService.java | 7 ++ .../service/IWarehouseUpdownGoodsService.java | 7 ++ .../impl/WarehouseTrayGoodsServiceImpl.java | 7 ++ .../impl/WarehouseUpdownGoodsServiceImpl.java | 7 ++ 19 files changed, 283 insertions(+), 2 deletions(-) create mode 100644 blade-service/logpm-distribution/src/main/java/com/logpm/distribution/excel/DistributionStockupPackageListDetailExcel.java diff --git a/blade-biz-common/src/main/java/org/springblade/common/constant/ModuleNameConstant.java b/blade-biz-common/src/main/java/org/springblade/common/constant/ModuleNameConstant.java index 153720380..1baf7825b 100644 --- a/blade-biz-common/src/main/java/org/springblade/common/constant/ModuleNameConstant.java +++ b/blade-biz-common/src/main/java/org/springblade/common/constant/ModuleNameConstant.java @@ -8,7 +8,7 @@ public interface ModuleNameConstant { /** * 如果不需要 "" */ - public static final String DEVAUTH =""; + public static final String DEVAUTH ="-tjj"; /** * 工厂对接服务名称 diff --git a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/feign/IWarehouseTrayGoodsClient.java b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/feign/IWarehouseTrayGoodsClient.java index 49c399229..7958e174b 100644 --- a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/feign/IWarehouseTrayGoodsClient.java +++ b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/feign/IWarehouseTrayGoodsClient.java @@ -20,6 +20,7 @@ package com.logpm.warehouse.feign; import com.logpm.warehouse.entity.WarehouseTrayGoodsEntity; import org.springblade.common.constant.ModuleNameConstant; import org.springframework.cloud.openfeign.FeignClient; +import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestParam; @@ -82,4 +83,7 @@ public interface IWarehouseTrayGoodsClient { @PostMapping(GETTRAYLIST) List getTrayList(@RequestBody WarehouseTrayGoodsEntity warehouseTrayGoodsEntity); + + @GetMapping(GETTRAYLIST+"/getTrayNameByOrderPackageCode") + String getTrayNameByOrderPackageCode(@RequestParam String orderCode,@RequestParam Integer type); } diff --git a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/feign/IWarehouseUpdownGoodsClient.java b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/feign/IWarehouseUpdownGoodsClient.java index 291c6e453..3469d0bc6 100644 --- a/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/feign/IWarehouseUpdownGoodsClient.java +++ b/blade-service-api/logpm-warehouse-api/src/main/java/com/logpm/warehouse/feign/IWarehouseUpdownGoodsClient.java @@ -85,4 +85,12 @@ public interface IWarehouseUpdownGoodsClient { @PostMapping(LOCATIONSTOCKLISTINFORMATION) List getLocationStockListInformation(@RequestBody WarehouseUpdownGoodsEntity warehouseUpdownGoodsEntity); + + /** + * 查询包件库位信息 + * @param orderPackageCode + * @return + */ + @GetMapping(LOCATIONSTOCKLISTINFORMATION+"/getAllocationNameByOrderPackageCode") + String getAllocationNameByOrderPackageCode(@RequestParam String orderPackageCode,@RequestParam Integer type); } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockupController.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockupController.java index 84a4b5203..57510804c 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockupController.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/controller/DistributionStockupController.java @@ -24,6 +24,7 @@ import com.logpm.distribution.entity.DistributionStockupEntity; import com.logpm.distribution.excel.DistributionCityExcel; import com.logpm.distribution.excel.DistributionMarketExcel; import com.logpm.distribution.excel.DistributionSelfExcel; +import com.logpm.distribution.excel.DistributionStockupPackageListDetailExcel; import com.logpm.distribution.service.IDistributionStockupService; import com.logpm.distribution.service.IDistrilbutionBillLadingService; import com.logpm.distribution.vo.DistributionStockupVO; @@ -197,6 +198,22 @@ public class DistributionStockupController extends BladeController { } } + @GetMapping("/export-StockUpDetail") + @ApiOperationSupport(order = 9) + @ApiOperation(value = "导出备货数据", notes = "传入paramMap") + public void exportStockUpDetail(@ApiIgnore @RequestParam String stockUpIds, HttpServletResponse response) { + if (Func.isEmpty(stockUpIds)){ + log.info("缺少备货任务ID:{}",stockUpIds); + return; + } + List list = Func.toLongList(stockUpIds); + //查询计划包件的EXCEL列表数据 + List listExcel = distributionStockupService.exportStockUptDetail(list); + ExcelUtil.export(response, "自提备货数据" + DateUtil.time(), "自提备货数据表", listExcel, DistributionStockupPackageListDetailExcel.class); + + + } + /** * 备货信息表 查询备货人员信息 */ diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/excel/DistributionStockupPackageListDetailExcel.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/excel/DistributionStockupPackageListDetailExcel.java new file mode 100644 index 000000000..7fbe6ad87 --- /dev/null +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/excel/DistributionStockupPackageListDetailExcel.java @@ -0,0 +1,71 @@ +package com.logpm.distribution.excel; + +import com.alibaba.excel.annotation.ExcelProperty; +import com.alibaba.excel.annotation.write.style.ColumnWidth; +import com.alibaba.excel.annotation.write.style.ContentRowHeight; +import com.alibaba.excel.annotation.write.style.HeadRowHeight; +import lombok.Data; + +@Data +@HeadRowHeight(20) +@ContentRowHeight(18) +public class DistributionStockupPackageListDetailExcel { + + + /** + * 订单自编号 + */ + @ColumnWidth(20) + @ExcelProperty("备货单号") + private String stockupCode; + + /** + * 客户 + */ + @ColumnWidth(20) + @ExcelProperty("客户") + private String consignee; + + /** + * 订单自编号 + */ + @ColumnWidth(20) + @ExcelProperty("品牌") + private String brand; + + /** + * 订单自编号 + */ + @ColumnWidth(50) + @ExcelProperty("订单自编号") + private String orderCode; + + @ColumnWidth(20) + @ExcelProperty("产品名称") + private String productName; + + @ColumnWidth(20) + @ExcelProperty("备注") + private String remarks; + + @ColumnWidth(20) + @ExcelProperty("计划件数") + private Integer reservationNum; + + + private String isZero; + /** + * 包件码 + */ + private String orderPackageCode; + + @ColumnWidth(20) + @ExcelProperty("是否零担") + private String trayNames; + + @ColumnWidth(20) + @ExcelProperty("是否零担") + private String allocationNames; + + +} diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.java index e93b7dd6d..e06b3527d 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.java @@ -24,6 +24,7 @@ import com.logpm.distribution.entity.DistributionStockupEntity; import com.logpm.distribution.excel.DistributionCityExcel; import com.logpm.distribution.excel.DistributionMarketExcel; import com.logpm.distribution.excel.DistributionSelfExcel; +import com.logpm.distribution.excel.DistributionStockupPackageListDetailExcel; import com.logpm.distribution.vo.*; import com.logpm.distribution.vo.app.StockupZeroVO; import org.apache.ibatis.annotations.Mapper; @@ -234,4 +235,18 @@ public interface DistributionStockupMapper extends BaseMapper exportCity(@Param("paramMap") Map paramMap, @Param("idArr") List idArr); List exportSelf(@Param("paramMap") Map paramMap, @Param("idArr") List idArr); + + /** + * 查询备货任务的订单详情 + * @param list + * @return + */ + List exportStockUptOrderDetail(@Param("ids") List ids); + + /** + * 导出备货库存品明细 + * @param list + * @return + */ + List exportStockUptInventoryDetail(@Param("ids")List list); } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml index 8415478c5..33e8a8b5b 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/mapper/DistributionStockupMapper.xml @@ -33,6 +33,7 @@ + DELETE FROM logpm_distribution_stockup @@ -1155,5 +1156,37 @@ GROUP BY lds.id; + + diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionStockupService.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionStockupService.java index d51151e78..b21e7d216 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionStockupService.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/IDistributionStockupService.java @@ -25,6 +25,7 @@ import com.logpm.distribution.entity.DistributionStockupEntity; import com.logpm.distribution.excel.DistributionCityExcel; import com.logpm.distribution.excel.DistributionMarketExcel; import com.logpm.distribution.excel.DistributionSelfExcel; +import com.logpm.distribution.excel.DistributionStockupPackageListDetailExcel; import com.logpm.distribution.vo.*; import org.springblade.core.mp.base.BaseService; import org.springblade.core.tool.api.R; @@ -274,4 +275,11 @@ public interface IDistributionStockupService extends BaseService exportStockUptDetail(List list); } diff --git a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java index 0bd960812..6a121b731 100644 --- a/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java +++ b/blade-service/logpm-distribution/src/main/java/com/logpm/distribution/service/impl/DistributionStockupServiceImpl.java @@ -40,6 +40,7 @@ import com.logpm.distribution.entity.*; import com.logpm.distribution.excel.DistributionCityExcel; import com.logpm.distribution.excel.DistributionMarketExcel; import com.logpm.distribution.excel.DistributionSelfExcel; +import com.logpm.distribution.excel.DistributionStockupPackageListDetailExcel; import com.logpm.distribution.mapper.*; import com.logpm.distribution.service.*; import com.logpm.distribution.vo.*; @@ -54,6 +55,7 @@ import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springblade.common.constant.CodeDesEnum; import org.springblade.common.constant.DictBizConstant; +import org.springblade.common.constant.common.IsOrNoConstant; import org.springblade.common.constant.orderpackage.OrderPackageStockupStatusConstant; import org.springblade.common.constant.pda.PdaAudioLingoStatus; import org.springblade.common.constant.stocklist.StockLockingStatusConstant; @@ -199,6 +201,7 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl selectDistributionStockupPage(IPage page, DistributionStockupVO distributionStockup) { return page.setRecords(baseMapper.selectDistributionStockupPage(page, distributionStockup)); @@ -2904,7 +2907,6 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl distributionStockListEntities = distributionStockListMapper.selectList(Wrappers.query().lambda() .eq(DistributionStockListEntity::getCargoNumber, stockupDTO.getCargoNumber()) @@ -2963,11 +2965,14 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl ls = new ArrayList<>(); + //过滤出同物料库存品的ID信息 + List stockListIds = distributionStockListEntities.stream().map(DistributionStockListEntity::getId).collect(Collectors.toList()); LambdaQueryWrapper lambdaQueryWrapper = new LambdaQueryWrapper<>(); lambdaQueryWrapper.eq(DistributionStockEntity::getReservationId, stockupDTO.getReservationId()); lambdaQueryWrapper.eq(DistributionStockEntity::getAllocationId, stockupDTO.getAllocationId()); lambdaQueryWrapper.eq(DistributionStockEntity::getType, 2); lambdaQueryWrapper.eq(DistributionStockEntity::getStockupId, stockupDTO.getStockupId()); + lambdaQueryWrapper.in(DistributionStockEntity::getStockListId, stockListIds); List distributionStockEntities = distributionStockMapper.selectList(lambdaQueryWrapper); for (DistributionStockEntity distributionStockEntity : distributionStockEntities) { StockConfigOrderPackageListVO stockConfigOrderPackageListVO = new StockConfigOrderPackageListVO(); @@ -3116,4 +3121,42 @@ public class DistributionStockupServiceImpl extends BaseServiceImpl exportStockUptDetail(List list) { + List stockupPackageListDetailExcels = baseMapper.exportStockUptOrderDetail(list); + if (Func.isNotEmpty(stockupPackageListDetailExcels)){ + for (DistributionStockupPackageListDetailExcel stockupPackageListDetailExcel : stockupPackageListDetailExcels) { + if (stockupPackageListDetailExcel.getIsZero().equals(IsOrNoConstant.no.getValue())){ + //订制品订单 查询托盘和库位 + String trayName = warehouseTrayGoodsClient.getTrayNameByOrderPackageCode(stockupPackageListDetailExcel.getOrderPackageCode(),3); + if (Func.isNotBlank(trayName)){ + stockupPackageListDetailExcel.setTrayNames(trayName); + } + String allocationName = warehouseUpdownGoodsClient.getAllocationNameByOrderPackageCode(stockupPackageListDetailExcel.getOrderPackageCode(),3); + if (Func.isNotBlank(allocationName)){ + stockupPackageListDetailExcel.setAllocationNames(allocationName); + } + }else { + //零担 + String trayName = warehouseTrayGoodsClient.getTrayNameByOrderPackageCode(stockupPackageListDetailExcel.getOrderCode(),1); + if (Func.isNotBlank(trayName)){ + stockupPackageListDetailExcel.setTrayNames(trayName); + } + String allocationName = warehouseUpdownGoodsClient.getAllocationNameByOrderPackageCode(stockupPackageListDetailExcel.getOrderCode(),1); + if (Func.isNotBlank(allocationName)){ + stockupPackageListDetailExcel.setAllocationNames(allocationName); + } + } + } + } + + + //库存品 +// List stockupInventoryListDetailExcels = baseMapper.exportStockUptInventoryDetail(list); + + + + return stockupPackageListDetailExcels; + } } diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/feign/WarehouseTrayGoodsClient.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/feign/WarehouseTrayGoodsClient.java index 53542f255..8bf1695ad 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/feign/WarehouseTrayGoodsClient.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/feign/WarehouseTrayGoodsClient.java @@ -78,4 +78,10 @@ public class WarehouseTrayGoodsClient implements IWarehouseTrayGoodsClient { .eq(ObjectUtils.isNotNull(warehouseTrayGoodsEntity.getAssociationType()),WarehouseTrayGoodsEntity::getAssociationType ,warehouseTrayGoodsEntity.getAssociationType()) ); } + + @Override + public String getTrayNameByOrderPackageCode(String orderCode,Integer type) { + + return warehouseTrayGoodsService.getTrayNameByOrderPackageCode(orderCode,type); + } } diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/feign/WarehouseUpdownGoodsClient.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/feign/WarehouseUpdownGoodsClient.java index cefc13564..2065e0b5d 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/feign/WarehouseUpdownGoodsClient.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/feign/WarehouseUpdownGoodsClient.java @@ -91,4 +91,9 @@ public class WarehouseUpdownGoodsClient implements IWarehouseUpdownGoodsClient { .eq(ObjectUtils.isNotNull(warehouseUpdownGoodsEntity.getWarehouseId()),WarehouseUpdownGoodsEntity::getWarehouseId,warehouseUpdownGoodsEntity.getWarehouseId()) ); } + + @Override + public String getAllocationNameByOrderPackageCode(String orderPackageCode,Integer type) { + return warehouseUpdownGoodsService.getAllocationNameByOrderPackageCode(orderPackageCode,type); + } } diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseTrayGoodsMapper.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseTrayGoodsMapper.java index 213d51414..42926ee8d 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseTrayGoodsMapper.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseTrayGoodsMapper.java @@ -59,4 +59,11 @@ public interface WarehouseTrayGoodsMapper extends BaseMapper SELECT sum(lwtg.num) FROM logpm_warehouse_tray_goods lwtg where lwtg.is_deleted =0 and lwtg.tray_id = #{id} GROUP BY lwtg.tray_id + update logpm_warehouse_tray_goods diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseUpdownGoodsMapper.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseUpdownGoodsMapper.java index a69914639..145c194ab 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseUpdownGoodsMapper.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseUpdownGoodsMapper.java @@ -103,6 +103,13 @@ public interface WarehouseUpdownGoodsMapper extends BaseMapper allocationDetailByStock(@Param("param") TaskSearchDTO taskSearchDTO); + /** + * 查询保健库位信息。拼接 + * @param orderPackageCode + * @return + */ + String getAllocationNameByOrderPackageCode(@Param("orderPackageCode") String[] orderPackageCode,@Param("type") Integer type); + // /** // * 根据货位查询货物 diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseUpdownGoodsMapper.xml b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseUpdownGoodsMapper.xml index d880bdf0d..af6448498 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseUpdownGoodsMapper.xml +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseUpdownGoodsMapper.xml @@ -396,6 +396,22 @@ + diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/IWarehouseTrayGoodsService.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/IWarehouseTrayGoodsService.java index 9fc835b68..b1e31df7d 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/IWarehouseTrayGoodsService.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/IWarehouseTrayGoodsService.java @@ -85,4 +85,11 @@ public interface IWarehouseTrayGoodsService extends BaseService findUpdownStockByMaterialCode(String materialCode, Long marketId, Long warehouseId); + + /** + * + * @param orderPackageCode + * @return + */ + String getAllocationNameByOrderPackageCode(String orderPackageCode,Integer type); } diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseTrayGoodsServiceImpl.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseTrayGoodsServiceImpl.java index c8311212d..4327a0fd3 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseTrayGoodsServiceImpl.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseTrayGoodsServiceImpl.java @@ -15,6 +15,7 @@ import lombok.AllArgsConstructor; import lombok.extern.log4j.Log4j2; import org.springblade.common.constant.TenantNum; import org.springblade.core.mp.base.BaseServiceImpl; +import org.springblade.core.tool.utils.Func; import org.springframework.stereotype.Service; import java.util.Date; @@ -280,6 +281,12 @@ public class WarehouseTrayGoodsServiceImpl extends BaseServiceImpl().lambda() diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownGoodsServiceImpl.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownGoodsServiceImpl.java index 374ac5b01..56ecd5310 100644 --- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownGoodsServiceImpl.java +++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseUpdownGoodsServiceImpl.java @@ -33,6 +33,7 @@ import com.logpm.warehouse.vo.WarehouseUpdownGoodsVO; import lombok.AllArgsConstructor; import lombok.extern.log4j.Log4j2; import org.springblade.core.mp.base.BaseServiceImpl; +import org.springblade.core.tool.utils.Func; import org.springframework.stereotype.Service; import java.util.ArrayList; @@ -229,4 +230,10 @@ public class WarehouseUpdownGoodsServiceImpl extends BaseServiceImpl