From 2b5c7c4ce099728faf6e09b227ea3094b1b10748 Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期六, 04 二月 2023 14:04:19 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/mapper/sys/DepMapper.java | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/lf/server/mapper/sys/DepMapper.java b/src/main/java/com/lf/server/mapper/sys/DepMapper.java index 9c89943..9036a20 100644 --- a/src/main/java/com/lf/server/mapper/sys/DepMapper.java +++ b/src/main/java/com/lf/server/mapper/sys/DepMapper.java @@ -1,5 +1,6 @@ package com.lf.server.mapper.sys; +import com.lf.server.entity.ctrl.IdNameEntity; import org.apache.ibatis.annotations.Mapper; import org.springframework.stereotype.Repository; import com.lf.server.entity.sys.DepEntity; @@ -17,6 +18,7 @@ public interface DepMapper { /** * 鎻掑叆涓�鏉� + * * @param depEntity * @return */ @@ -24,12 +26,15 @@ /** * 鎻掑叆澶氭潯 + * * @param list * @return */ public Integer insertDeps(List<DepEntity> list); + /** * 鍒犻櫎涓�鏉� + * * @param id * @return */ @@ -37,6 +42,7 @@ /** * 鍒犻櫎澶氭潯 + * * @param ids * @return */ @@ -44,6 +50,7 @@ /** * 鏇存柊涓�鏉� + * * @param depEntity * @return */ @@ -51,19 +58,30 @@ /** * 鏌ヨ鍗曟潯鏁版嵁 + * * @param id * @return */ public DepEntity selectDep(int id); /** + * 鏍规嵁鍗曚綅ID闆嗗悎鏌ヨ + * + * @param ids + * @return + */ + public List<IdNameEntity> selectDepsByIds(Integer[] ids); + + /** * 鏌ヨ鎵�鏈� + * * @return */ public List<DepEntity> selectDepAll(); /** * 鏇存柊澶氭潯 + * * @param list * @return */ @@ -71,6 +89,7 @@ /** * 閫掑綊鏌ヨ + * * @param name * @return */ -- Gitblit v1.9.3