From 760ba70de6e2c33a61f140d3bcffbe2a04b88239 Mon Sep 17 00:00:00 2001 From: Lius <Lius2225@163.com> Date: 星期二, 16 四月 2024 11:02:18 +0800 Subject: [PATCH] 开动率修改 --- lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/mapper/UnitMapper.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/mapper/UnitMapper.java b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/mapper/UnitMapper.java index 6bae842..99bec21 100644 --- a/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/mapper/UnitMapper.java +++ b/lxzn-module-system/lxzn-system-biz/src/main/java/org/jeecg/modules/base/mapper/UnitMapper.java @@ -1,6 +1,7 @@ package org.jeecg.modules.base.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import org.apache.ibatis.annotations.Param; import org.jeecg.modules.base.entity.Unit; import java.util.List; @@ -8,4 +9,10 @@ public interface UnitMapper extends BaseMapper<Unit> { public List<Unit> getListByUnitCategoryId(String unitCategoryId); public List<Unit> getTreeList(); + /** + * 閫氳繃鍗曚綅鍚嶇О鏌ヨ鍗曚綅淇℃伅 + * @param name + * @return + */ + public Unit getUnitByName(@Param("name") String name); } -- Gitblit v1.9.3