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>