From 4155135bb0247685ce3652fe0257c39ff3e21ced Mon Sep 17 00:00:00 2001 From: ‘liusuyi’ <1951119284@qq.com> Date: 星期四, 27 七月 2023 14:45:00 +0800 Subject: [PATCH] 重构app用户由角色转为用户配置 --- ard-work/src/main/resources/mapper/app/ArdAppTaskMapper.xml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ard-work/src/main/resources/mapper/app/ArdAppTaskMapper.xml b/ard-work/src/main/resources/mapper/app/ArdAppTaskMapper.xml index b5ea1d1..820511b 100644 --- a/ard-work/src/main/resources/mapper/app/ArdAppTaskMapper.xml +++ b/ard-work/src/main/resources/mapper/app/ArdAppTaskMapper.xml @@ -149,11 +149,11 @@ left join ard_app_task_pic b on b.task_id = a.id left join ard_app_task_detail c on c.task_id = a.id <where> + <if test="id != null and id != ''"> + and a.id = #{id} + </if> <if test="userId != null and userId != ''"> and c.user_id = #{userId} - </if> - <if test="id != null and id != ''"> - and c.id = #{id} </if> <if test="params.beginTime != null and params.beginTime != ''"><!-- 寮�濮嬫椂闂存绱� --> and a.create_time >= to_timestamp(#{params.beginTime},'yyyy-MM-DD HH24:MI:ss') -- Gitblit v1.9.3