From d3e79914a4657bf39bb4e59cc7bf35cf6492da58 Mon Sep 17 00:00:00 2001 From: cuijian <cuijian@xalxzn.com> Date: 星期四, 02 十一月 2023 18:05:41 +0800 Subject: [PATCH] 操作证管理、设备点检工单自动生成 --- lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/ConstructorServiceImpl.java | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/ConstructorServiceImpl.java b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/ConstructorServiceImpl.java index c8aaea8..8763421 100644 --- a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/ConstructorServiceImpl.java +++ b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/service/impl/ConstructorServiceImpl.java @@ -6,7 +6,15 @@ import org.jeecg.modules.base.service.IConstructorService; import org.springframework.stereotype.Service; +import javax.annotation.Resource; + @Service public class ConstructorServiceImpl extends ServiceImpl<ConstructorMapper, Constructor> implements IConstructorService { + @Resource + private ConstructorMapper constructorMapper; + @Override + public Constructor getByName(String name) { + return constructorMapper.getByName(name); + } } -- Gitblit v1.9.3