src/main/resources/mapper/modules/MallOrderInfoMapper.xml
@@ -67,6 +67,12 @@ <if test="record.name != null and record.name != ''"> and b.name like CONCAT('%', CONCAT(#{record.name}, '%')) </if> <if test="record.startTime != null and record.startTime != ''"> and a.order_time >= #{record.startTime} </if> <if test="record.endTime != null and record.endTime != ''"> and a.order_time <= #{record.endTime} </if> </if> </where> order by a.created_time desc