From 5c67ffa649378a06b01f78bf42c768517b42eaf6 Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期五, 10 一月 2025 18:31:08 +0800 Subject: [PATCH] bug修改 --- manage/src/main/resources/mapping/TOrderAccountingMapper.xml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/manage/src/main/resources/mapping/TOrderAccountingMapper.xml b/manage/src/main/resources/mapping/TOrderAccountingMapper.xml index d4d173b..687ecbc 100644 --- a/manage/src/main/resources/mapping/TOrderAccountingMapper.xml +++ b/manage/src/main/resources/mapping/TOrderAccountingMapper.xml @@ -36,9 +36,12 @@ <if test="query.name != null and query.name != ''"> and t1.name like concat('%',#{query.name},'%') </if> - <if test="query.phone != null and query.phone != ''"> + <if test="query.phone != null and query.phone != ''"> and t1.phone like concat('%',#{query.phone},'%') </if> + <if test="query.realName != null and query.realName != ''"> + and t1.realName like concat('%',#{query.realName},'%') + </if> <if test="query.startTime != null and query.startTime!=''"> and (t1.createTime between #{query.startTime} and #{query.endTime}) </if> -- Gitblit v1.7.1