From 7043628d74a26cc09a3735c251567bf36f6219b6 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 24 Jun 2021 19:23:01 +0800 Subject: [PATCH] add goods details --- gc-shop/src/main/resources/mapper/shop/ScoreOrderMapper.xml | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/gc-shop/src/main/resources/mapper/shop/ScoreOrderMapper.xml b/gc-shop/src/main/resources/mapper/shop/ScoreOrderMapper.xml index 5b9675b..6d45814 100644 --- a/gc-shop/src/main/resources/mapper/shop/ScoreOrderMapper.xml +++ b/gc-shop/src/main/resources/mapper/shop/ScoreOrderMapper.xml @@ -11,6 +11,16 @@ <if test="orderNo != null and orderNo != ''"> and a.order_no like concat('%',#{orderNo},'%') </if> + <if test="status != null and status != ''"> + and a.status = #{status} + </if> + <if test="createdTimeStart != null"> + and a.CREATED_TIME >= #{createdTimeStart} + </if> + + <if test="createdTimeEnd != null"> + and a.CREATED_TIME >= #{createdTimeEnd} + </if> order by a.CREATED_TIME desc </select> -- Gitblit v1.9.1