From 2bbf273c57be42deafbf12e4327d815c201b3e7f Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期二, 17 十二月 2024 16:40:48 +0800 Subject: [PATCH] 1.小程序菜单 --- 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