From 182b2b1d3464dc1e2dcfe83a9f11799a90e7db23 Mon Sep 17 00:00:00 2001 From: zqy <2522236926@qq.com> Date: 星期六, 23 八月 2025 20:58:21 +0800 Subject: [PATCH] 同一用户 健康模块 新增删除同一条数据 --- zhang-content/src/main/java/com/ruoyi/mapper/ZSecretMapper.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/zhang-content/src/main/java/com/ruoyi/mapper/ZSecretMapper.java b/zhang-content/src/main/java/com/ruoyi/mapper/ZSecretMapper.java index 356ca8c..85ff65f 100644 --- a/zhang-content/src/main/java/com/ruoyi/mapper/ZSecretMapper.java +++ b/zhang-content/src/main/java/com/ruoyi/mapper/ZSecretMapper.java @@ -4,6 +4,9 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.ruoyi.domain.ZSecret; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Select; + +import java.util.List; /** * <p> @@ -16,4 +19,7 @@ @Mapper public interface ZSecretMapper extends BaseMapper<ZSecret> { + @Select("select distinct type from z_secret") + List<String> listType(); + } -- Gitblit v1.9.1