diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseTrayTypeMapper.xml b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseTrayTypeMapper.xml
index 6bd36a651..58fe764e7 100644
--- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseTrayTypeMapper.xml
+++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/mapper/WarehouseTrayTypeMapper.xml
@@ -5,11 +5,10 @@
diff --git a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseTrayTypeServiceImpl.java b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseTrayTypeServiceImpl.java
index 2c6826bd1..001bdcbe0 100644
--- a/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseTrayTypeServiceImpl.java
+++ b/blade-service/logpm-warehouse/src/main/java/com/logpm/warehouse/service/impl/WarehouseTrayTypeServiceImpl.java
@@ -106,6 +106,10 @@ public class WarehouseTrayTypeServiceImpl extends BaseServiceImpl queryTrayTypeWrapper = new QueryWrapper<>();
- queryTrayTypeWrapper.eq("tray_code",trayCode)
- .eq("is_deleted",0);
+ queryTrayTypeWrapper.eq("is_deleted",0)
+ .eq("tray_code",trayCode);
WarehouseTrayTypeEntity trayTypeEntity = baseMapper.selectOne(queryTrayTypeWrapper);
if(Objects.isNull(trayTypeEntity)){
//没有查询到托盘打托信息
@@ -177,15 +181,19 @@ public class WarehouseTrayTypeServiceImpl extends BaseServiceImpl list = warehouseTrayGoodsService.getStockListByTrayTypeId(trayTypeId);
trayTypeDataVO.setList(list);
}else {
- log.warn("##################getEntityByTrayCode: 未知的打托类型");
+ log.warn("##################getEntityByTrayCodeWithNull: 未知的打托类型");
}
return trayTypeDataVO;
}
@@ -251,15 +259,19 @@ public class WarehouseTrayTypeServiceImpl extends BaseServiceImpl list = warehouseTrayGoodsService.getStockListByTrayTypeId(trayTypeId);
trayTypeDataVO.setList(list);
}else {
- log.warn("##################getEntityByTrayCode: 未知的打托类型");
+ log.warn("##################getEntityByTrayCodeWithUpdown: 未知的打托类型");
}
return trayTypeDataVO;
}