From 7f950be0d43e4c622dcae5bf97cb470a8379dd66 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期五, 12 四月 2024 16:56:17 +0800 Subject: [PATCH] 继承MybatisPlus --- ycl-server/src/main/java/com/ycl/platform/mapper/DefaultResultMapper.java | 63 +++++++++++++++++++++++++++++++ 1 files changed, 63 insertions(+), 0 deletions(-) diff --git a/ycl-server/src/main/java/com/ycl/platform/mapper/DefaultResultMapper.java b/ycl-server/src/main/java/com/ycl/platform/mapper/DefaultResultMapper.java new file mode 100644 index 0000000..9cce6a2 --- /dev/null +++ b/ycl-server/src/main/java/com/ycl/platform/mapper/DefaultResultMapper.java @@ -0,0 +1,63 @@ +package com.ycl.platform.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.ycl.platform.domain.entity.DefaultResult; + +import java.util.List; + +/** + * 鍚堝悓鑰冩牳缁撴灉Mapper鎺ュ彛 + * + * @author ruoyi + * @date 2024-04-01 + */ +public interface DefaultResultMapper extends BaseMapper<DefaultResult> +{ + /** + * 鏌ヨ鍚堝悓鑰冩牳缁撴灉 + * + * @param id 鍚堝悓鑰冩牳缁撴灉涓婚敭 + * @return 鍚堝悓鑰冩牳缁撴灉 + */ + public DefaultResult selectDefaultResultById(Long id); + + /** + * 鏌ヨ鍚堝悓鑰冩牳缁撴灉鍒楄〃 + * + * @param defaultResult 鍚堝悓鑰冩牳缁撴灉 + * @return 鍚堝悓鑰冩牳缁撴灉闆嗗悎 + */ + public List<DefaultResult> selectDefaultResultList(DefaultResult defaultResult); + + /** + * 鏂板鍚堝悓鑰冩牳缁撴灉 + * + * @param defaultResult 鍚堝悓鑰冩牳缁撴灉 + * @return 缁撴灉 + */ + public int insertDefaultResult(DefaultResult defaultResult); + + /** + * 淇敼鍚堝悓鑰冩牳缁撴灉 + * + * @param defaultResult 鍚堝悓鑰冩牳缁撴灉 + * @return 缁撴灉 + */ + public int updateDefaultResult(DefaultResult defaultResult); + + /** + * 鍒犻櫎鍚堝悓鑰冩牳缁撴灉 + * + * @param id 鍚堝悓鑰冩牳缁撴灉涓婚敭 + * @return 缁撴灉 + */ + public int deleteDefaultResultById(Long id); + + /** + * 鎵归噺鍒犻櫎鍚堝悓鑰冩牳缁撴灉 + * + * @param ids 闇�瑕佸垹闄ょ殑鏁版嵁涓婚敭闆嗗悎 + * @return 缁撴灉 + */ + public int deleteDefaultResultByIds(Long[] ids); +} -- Gitblit v1.8.0