| @@ -147,6 +147,7 @@ | |||||
| AND co.create_date < #{endDate,jdbcType=TIMESTAMP} | AND co.create_date < #{endDate,jdbcType=TIMESTAMP} | ||||
| </if> | </if> | ||||
| AND co.coupon_order_status = '0' | AND co.coupon_order_status = '0' | ||||
| order by co.create_date desc | |||||
| </select> | </select> | ||||
| @@ -165,6 +166,7 @@ | |||||
| AND co.update_date < #{endDate,jdbcType=TIMESTAMP} | AND co.update_date < #{endDate,jdbcType=TIMESTAMP} | ||||
| </if> | </if> | ||||
| AND co.coupon_order_status = '1' | AND co.coupon_order_status = '1' | ||||
| order by co.update_date desc | |||||
| </select> | </select> | ||||
| @@ -272,6 +274,7 @@ | |||||
| <if test="status != null"> | <if test="status != null"> | ||||
| AND c.coupon_order_status = #{status} | AND c.coupon_order_status = #{status} | ||||
| </if> | </if> | ||||
| order by c.create_date desc | |||||
| </select> | </select> | ||||
| <select id="selectDetailOfCUser" parameterType="map" resultMap="CVoResultMap"> | <select id="selectDetailOfCUser" parameterType="map" resultMap="CVoResultMap"> | ||||