From 05693f5bde4748f749154926f925b45e8a05730f Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期一, 30 十二月 2024 13:18:07 +0800 Subject: [PATCH] 小程序 --- manage/src/main/resources/mapping/TOrderAccountingMapper.xml | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/manage/src/main/resources/mapping/TOrderAccountingMapper.xml b/manage/src/main/resources/mapping/TOrderAccountingMapper.xml index 63f5304..d4d173b 100644 --- a/manage/src/main/resources/mapping/TOrderAccountingMapper.xml +++ b/manage/src/main/resources/mapping/TOrderAccountingMapper.xml @@ -39,17 +39,17 @@ <if test="query.phone != null and query.phone != ''"> and t1.phone like concat('%',#{query.phone},'%') </if> - <if test="req.startTime != null and req.startTime!=''"> - and (t1.createTime between #{req.startTime} and #{req.endTime}) + <if test="query.startTime != null and query.startTime!=''"> + and (t1.createTime between #{query.startTime} and #{query.endTime}) </if> - <if test="req.startMoney != null "> - and (t1.payMoney between #{req.startMoney} and #{req.endMoney}) + <if test="query.startMoney != null "> + and (t1.payMoney between #{query.startMoney} and #{query.endMoney}) </if> - <if test="req.isAccounting != null "> - and t1.isAccounting = #{req.isAccounting} + <if test="query.isAccounting != null "> + and t1.isAccounting = #{query.isAccounting} </if> - <if test="req.storeId != null "> - and t1.storeId = #{req.storeId} + <if test="query.storeId != null "> + and t1.storeId = #{query.storeId} </if> order by t1.isAccounting desc </select> -- Gitblit v1.7.1