From fb6eb1e6b9df772d243b5ade8b9e3dd08028e935 Mon Sep 17 00:00:00 2001 From: Administrator <Administrator@MS-20170306HGUF> Date: 星期二, 25 二月 2020 20:05:56 +0800 Subject: [PATCH] 刷单标识 --- fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml b/fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml index 0e5f827..6cd8478 100644 --- a/fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml +++ b/fanli/src/main/java/com/yeshi/fanli/mapping/order/CommonOrderMapper.xml @@ -810,6 +810,11 @@ <include refid="SELECT_PARAM_ORDER_CREATE_TIME" /> <!-- 璁㈠崟鏃堕棿 --> <if test="orderNo != null and orderNo !='' ">AND co.co_order_no = #{orderNo}</if> + + <if test="payment != null"> + AND co.co_payment <![CDATA[<]]> #{payment} + </if> + ORDER BY co.co_third_create_time DESC LIMIT ${start},${count} </select> <select id="countQueryByUid" resultType="java.lang.Long"> @@ -908,6 +913,9 @@ </if> <!-- 璁㈠崟鏉ユ簮 --> <if test="source != null">AND co.co_source_type = #{source}</if> + <if test="payment != null"> + AND co.co_payment <![CDATA[<]]> #{payment} + </if> ORDER BY co.co_third_create_time DESC LIMIT ${start},${count} ) A LEFT JOIN yeshi_ec_user u ON u.id = A.hb_uid </select> @@ -944,6 +952,9 @@ <foreach collection="listShopId" item="shopId" open=" and (" separator=" or " close=")">g.`cog_shop_id` =#{shopId}</foreach> </if> + <if test="payment != null"> + AND co.co_payment <![CDATA[<]]> #{payment} + </if> <if test="minTime != null"> <!-- 楂橀闄╄鍗� --> AND co.`co_third_create_time`>#{minTime} AND<![CDATA[ (co.`co_estimate`>= ${money} OR co.`co_eIncome`> ${money})]]> @@ -968,6 +979,9 @@ <if test="keyType == 1 ">AND co.co_order_no = '${key}'</if> <if test="keyType == 2 ">AND hb.hb_uid = ${key}</if> </if> + <if test="payment != null"> + AND co.co_payment <![CDATA[<]]> #{payment} + </if> <!-- 璁㈠崟鏉ユ簮 --> <if test="source != null">AND co.co_source_type = #{source}</if> </select> -- Gitblit v1.8.0