From 1aeb2be4330eb8119845b10bffca5ddaf272c2c4 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 24 Jun 2021 17:35:20 +0800 Subject: [PATCH] add xzx goods category List and goodsList --- 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