diff --git a/win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/controller/labeltype/LabeltypeController.java b/win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/controller/labeltype/LabeltypeController.java index a526ff1f..f0707665 100644 --- a/win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/controller/labeltype/LabeltypeController.java +++ b/win-module-wms/win-module-wms-biz/src/main/java/com/win/module/wms/controller/labeltype/LabeltypeController.java @@ -139,6 +139,9 @@ public class LabeltypeController { LabeltypeDO labeltypeDO = labeltypeService.getOneLabelByHeader(LabeltypeRespVO); LabeltypeRespVO result = LabeltypeConvert.INSTANCE.convert(labeltypeDO); BarcodeExportReqVO barcodeExportReqVO = new BarcodeExportReqVO(); + if(result==null) { + return success(result); + }; barcodeExportReqVO.setMasterId(result.getId()); List barcodeList = barcodeService.getBarcodeList(barcodeExportReqVO); List datas = BarcodeConvert.INSTANCE.convertList02(barcodeList);