From dee0bff47af3c0b84b2e97c595cbb45e0cd500b1 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期六, 02 十一月 2024 14:26:48 +0800 Subject: [PATCH] 批量导入 --- src/main/java/com/zy/system/mapper/ConfigMapper.java | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/system/mapper/ConfigMapper.java b/src/main/java/com/zy/system/mapper/ConfigMapper.java index 9ec6ab3..29400f6 100644 --- a/src/main/java/com/zy/system/mapper/ConfigMapper.java +++ b/src/main/java/com/zy/system/mapper/ConfigMapper.java @@ -3,10 +3,14 @@ import com.baomidou.mybatisplus.mapper.BaseMapper; import com.zy.system.entity.Config; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; @Mapper @Repository public interface ConfigMapper extends BaseMapper<Config> { - + /** + * 鏍规嵁缂栫爜鏌ヨ閰嶇疆璇︽儏 + */ + Config selectConfigByCode(@Param("code") String code); } -- Gitblit v1.9.1