| @@ -805,7 +805,7 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService { | |||||
| retPageInfo.setPageNum(pageIndex); | retPageInfo.setPageNum(pageIndex); | ||||
| retPageInfo.setPageSize(pageSize); | retPageInfo.setPageSize(pageSize); | ||||
| retPageInfo.setPages(pageInfo.getPages()); | retPageInfo.setPages(pageInfo.getPages()); | ||||
| pageInfo.setTotal(pageInfo.getTotal()); | |||||
| retPageInfo.setTotal(pageInfo.getTotal()); | |||||
| if (null != pageInfo && null != pageInfo.getList()){ | if (null != pageInfo && null != pageInfo.getList()){ | ||||
| List<WxCouponOrderBVo> volist = handleQueryResult(pageInfo.getList(), wxCouponOrderBVo); | List<WxCouponOrderBVo> volist = handleQueryResult(pageInfo.getList(), wxCouponOrderBVo); | ||||
| retPageInfo.setList(volist); | retPageInfo.setList(volist); | ||||
| @@ -833,16 +833,15 @@ | |||||
| <if test=" null != orderId "> | <if test=" null != orderId "> | ||||
| and co.order_id = #{orderId} | and co.order_id = #{orderId} | ||||
| </if> | </if> | ||||
| <if test=" null != couponIds"> | <if test=" null != couponIds"> | ||||
| and co.coupon_id in | |||||
| and co.coupon_id in | |||||
| <foreach collection="couponIds" index="index" item="couponIdItem" open="(" separator="," close=")"> | <foreach collection="couponIds" index="index" item="couponIdItem" open="(" separator="," close=")"> | ||||
| #{couponIdItem} | #{couponIdItem} | ||||
| </foreach> | </foreach> | ||||
| </if> | </if> | ||||
| order co.update_date desc | |||||
| order by co.update_date desc | |||||
| </select> | </select> | ||||
| <select id="findListOfOrderedByDate" parameterType="map" resultMap="BaseResultMap"> | <select id="findListOfOrderedByDate" parameterType="map" resultMap="BaseResultMap"> | ||||