From 30688406fcd8613c4ca8392c7714aee77c0772f8 Mon Sep 17 00:00:00 2001 From: gongzuming <gongzuming> Date: 星期一, 09 九月 2024 20:25:13 +0800 Subject: [PATCH] fix bug --- src/main/resources/mapper/point/CustomerPointMapper.xml | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/resources/mapper/point/CustomerPointMapper.xml b/src/main/resources/mapper/point/CustomerPointMapper.xml index b89823a..91c18e8 100644 --- a/src/main/resources/mapper/point/CustomerPointMapper.xml +++ b/src/main/resources/mapper/point/CustomerPointMapper.xml @@ -26,7 +26,7 @@ <if test="dto.customerId!= null and dto.customerId != 0"> and t.customer_id = #{dto.customerId} </if> - <if test="dto.userId!= null and dto.userId != 0"> + <if test="dto.userId!= null and dto.userId != ''"> and t.user_id = #{dto.userId} </if> <if test="dto.recordDateStart!=null "> -- Gitblit v1.9.3