From ab4e150d41e0200b64a75c59b668a9385b7782fd Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期二, 23 四月 2024 10:18:03 +0800 Subject: [PATCH] 表名修改 --- 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..d191816 --- /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.ContractResult; + +import java.util.List; + +/** + * 鍚堝悓鑰冩牳缁撴灉Mapper鎺ュ彛 + * + * @author ruoyi + * @date 2024-04-01 + */ +public interface DefaultResultMapper extends BaseMapper<ContractResult> +{ + /** + * 鏌ヨ鍚堝悓鑰冩牳缁撴灉 + * + * @param id 鍚堝悓鑰冩牳缁撴灉涓婚敭 + * @return 鍚堝悓鑰冩牳缁撴灉 + */ + public ContractResult selectDefaultResultById(Long id); + + /** + * 鏌ヨ鍚堝悓鑰冩牳缁撴灉鍒楄〃 + * + * @param contractResult 鍚堝悓鑰冩牳缁撴灉 + * @return 鍚堝悓鑰冩牳缁撴灉闆嗗悎 + */ + public List<ContractResult> selectDefaultResultList(ContractResult contractResult); + + /** + * 鏂板鍚堝悓鑰冩牳缁撴灉 + * + * @param contractResult 鍚堝悓鑰冩牳缁撴灉 + * @return 缁撴灉 + */ + public int insertDefaultResult(ContractResult contractResult); + + /** + * 淇敼鍚堝悓鑰冩牳缁撴灉 + * + * @param contractResult 鍚堝悓鑰冩牳缁撴灉 + * @return 缁撴灉 + */ + public int updateDefaultResult(ContractResult contractResult); + + /** + * 鍒犻櫎鍚堝悓鑰冩牳缁撴灉 + * + * @param id 鍚堝悓鑰冩牳缁撴灉涓婚敭 + * @return 缁撴灉 + */ + public int deleteDefaultResultById(Long id); + + /** + * 鎵归噺鍒犻櫎鍚堝悓鑰冩牳缁撴灉 + * + * @param ids 闇�瑕佸垹闄ょ殑鏁版嵁涓婚敭闆嗗悎 + * @return 缁撴灉 + */ + public int deleteDefaultResultByIds(Long[] ids); +} -- Gitblit v1.8.0