Authored by zhaoqing

Merge branch 'dev_180508_联盟红人推广' into test6.6.1

@@ -325,6 +325,6 @@ @@ -325,6 +325,6 @@
325 AND status IN (91,92,93) 325 AND status IN (91,92,93)
326 </if> 326 </if>
327 order by order_time desc 327 order by order_time desc
328 - limit 0,10 328 + limit #{start,jdbcType=INTEGER}, #{size,jdbcType=INTEGER}
329 </select> 329 </select>
330 </mapper> 330 </mapper>
@@ -327,7 +327,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport @@ -327,7 +327,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
327 } 327 }
328 //数据库获取 328 //数据库获取
329 List<UnionShareSettlement> unionShareSettlementList = unionShareSettlementMapper.selectSettlementRecordByUid(unionShareOrderReqBO.getUid(), 329 List<UnionShareSettlement> unionShareSettlementList = unionShareSettlementMapper.selectSettlementRecordByUid(unionShareOrderReqBO.getUid(),
330 - unionShareOrderReqBO.getPage()*unionShareOrderReqBO.getSize(), unionShareOrderReqBO.getSize()); 330 + (unionShareOrderReqBO.getPage()-1)*unionShareOrderReqBO.getSize(), unionShareOrderReqBO.getSize());
331 if (CollectionUtils.isNotEmpty(unionShareSettlementList)){ 331 if (CollectionUtils.isNotEmpty(unionShareSettlementList)){
332 DecimalFormat df1 = new DecimalFormat("0.00"); 332 DecimalFormat df1 = new DecimalFormat("0.00");
333 SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd HH:mm"); 333 SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd HH:mm");
@@ -354,6 +354,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport @@ -354,6 +354,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
354 } 354 }
355 //数据库获取 355 //数据库获取
356 //tab1表示1、全部订单;2、有效订单;3、无效订单 tab2表示1、已付款;2、待结算;3、结算中 356 //tab1表示1、全部订单;2、有效订单;3、无效订单 tab2表示1、已付款;2、待结算;3、结算中
  357 + unionShareOrderReqBO.setStart((unionShareOrderReqBO.getPage()-1)*unionShareOrderReqBO.getSize());
357 List<UnionShareOrders> unionShareOrdersList = unionShareOrdersMapper.selectOrderList(unionShareOrderReqBO); 358 List<UnionShareOrders> unionShareOrdersList = unionShareOrdersMapper.selectOrderList(unionShareOrderReqBO);
358 //处理订单列表数据 359 //处理订单列表数据
359 dealShareOrderList(unionShareOrdersList); 360 dealShareOrderList(unionShareOrdersList);