From 0063343edb7cee0a8b460f4b1424748e660ec370 Mon Sep 17 00:00:00 2001 From: lyh <925863403@qq.com> Date: 星期四, 31 七月 2025 16:23:03 +0800 Subject: [PATCH] 修改保养规范点检导入 --- lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/WarehouseLocationServiceImpl.java | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/WarehouseLocationServiceImpl.java b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/WarehouseLocationServiceImpl.java index f5e70dc..256b2bf 100644 --- a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/WarehouseLocationServiceImpl.java +++ b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/WarehouseLocationServiceImpl.java @@ -2,7 +2,9 @@ import org.jeecg.modules.base.entity.WarehouseLocation; import org.jeecg.modules.base.mapper.WarehouseLocationMapper; +import org.jeecg.modules.base.mapper.WarehouseMapper; import org.jeecg.modules.base.service.IWarehouseLocationService; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; @@ -15,5 +17,10 @@ */ @Service public class WarehouseLocationServiceImpl extends ServiceImpl<WarehouseLocationMapper, WarehouseLocation> implements IWarehouseLocationService { - + @Autowired + private WarehouseLocationMapper warehouseLocationMapper; + @Override + public WarehouseLocation getByName(String name) { + return warehouseLocationMapper.getByName(name); + } } -- Gitblit v1.9.3