From a623f1eb91b1d89872e3582b5747e9d7096ea225 Mon Sep 17 00:00:00 2001 From: 44323 <443237572@qq.com> Date: 星期五, 24 五月 2024 09:01:59 +0800 Subject: [PATCH] 代码提交 --- ruoyi-service/ruoyi-management/src/main/resources/mapper/management/src/main/resources/mapper/TOrderMapper.xml | 24 +----------------------- 1 files changed, 1 insertions(+), 23 deletions(-) diff --git a/ruoyi-service/ruoyi-management/src/main/resources/mapper/management/src/main/resources/mapper/TOrderMapper.xml b/ruoyi-service/ruoyi-management/src/main/resources/mapper/management/src/main/resources/mapper/TOrderMapper.xml index 8b42a02..061153b 100644 --- a/ruoyi-service/ruoyi-management/src/main/resources/mapper/management/src/main/resources/mapper/TOrderMapper.xml +++ b/ruoyi-service/ruoyi-management/src/main/resources/mapper/management/src/main/resources/mapper/TOrderMapper.xml @@ -21,28 +21,6 @@ <sql id="Base_Column_List"> id, orderNumber, userId, insertTime, goodsId, count, state, express, expressNumber, expressTime, integral </sql> - <select id="listAll" resultType="com.ruoyi.management.vo.TOrderVO"> - select t1.*,t2.`name` as userName,t2.phone as phone,t3.name as name - from t_order t1 - left join t_goods t3 on t1.goodsId = t3.id - left join t_user t2 on t1.userId = t2.id - where 1=1 - <if test="null != req.state"> - and t1.state = #{req.state} - </if> - <if test="null != req.orderNumber and '' != req.orderNumber"> - and t1.orderNumber like CONCAT('%', #{req.orderNumber}, '%') - </if> - <if test="null != req.userName and '' != req.userName"> - and t2.`name` like CONCAT('%', #{req.userName}, '%') - </if> - <if test="null != req.phone and '' != req.phone"> - and t2.phone like CONCAT('%', #{req.phone}, '%') - </if> - <if test="null != req.startTime"> - and t1.insertTime between #{req.startTime1} and #{req.endTime1} - </if> - order by t1.insertTime desc - </select> + </mapper> -- Gitblit v1.7.1