From 85d5dea7408e1ae74e4c7f460bf84caae3754753 Mon Sep 17 00:00:00 2001 From: cloudroam <cloudroam> Date: 星期六, 08 二月 2025 16:53:44 +0800 Subject: [PATCH] fix:用户列表查询 --- src/main/resources/mapper/supplier/SupplierMapper.xml | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/supplier/SupplierMapper.xml b/src/main/resources/mapper/supplier/SupplierMapper.xml index 1f21e2f..6c6a24e 100644 --- a/src/main/resources/mapper/supplier/SupplierMapper.xml +++ b/src/main/resources/mapper/supplier/SupplierMapper.xml @@ -40,6 +40,9 @@ <if test="dto.isEnabled!=null"> AND t.is_enabled = #{dto.isEnabled} </if> + <if test="dto.id!=null"> + AND t.id = #{dto.id} + </if> order by t.create_time desc </select> <select id="findSupplierDetail" resultType="com.mzl.flower.dto.response.supplier.SupplierDTO" -- Gitblit v1.9.3