From e3de6abd10702b84cc995dcc3c9426baf4377e18 Mon Sep 17 00:00:00 2001 From: 艾金辉 <1144154118@qq.com> Date: 星期五, 21 七月 2023 16:14:57 +0800 Subject: [PATCH] 根据用户名获取三一列表 --- ard-work/src/main/resources/mapper/sy/SysParaMapper.xml | 12 ++---------- 1 files changed, 2 insertions(+), 10 deletions(-) diff --git a/ard-work/src/main/resources/mapper/sy/SysParaMapper.xml b/ard-work/src/main/resources/mapper/sy/SysParaMapper.xml index 4c7618b..3da8fbb 100644 --- a/ard-work/src/main/resources/mapper/sy/SysParaMapper.xml +++ b/ard-work/src/main/resources/mapper/sy/SysParaMapper.xml @@ -39,19 +39,11 @@ <sql id="Base_Column_List" > sys_id, sys_name, sys_type, sys_content </sql> - <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.ruoyi.sy.domain.SysParaExample" > + <select id="selectByExample" parameterType="String" resultMap="BaseResultMap"> select - <if test="distinct" > - distinct - </if> <include refid="Base_Column_List" /> from sys_para - <if test="_parameter != null" > - <include refid="Example_Where_Clause" /> - </if> - <if test="orderByClause != null" > - order by ${orderByClause} - </if> + where sys_type = #{sys_type} </select> </mapper> \ No newline at end of file -- Gitblit v1.9.3