Authored by zhaoqing

联盟红人

@@ -360,7 +360,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport @@ -360,7 +360,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
360 response.setSize(unionShareOrderReqBO.getSize()); 360 response.setSize(unionShareOrderReqBO.getSize());
361 response.setPage(unionShareOrderReqBO.getPage()); 361 response.setPage(unionShareOrderReqBO.getPage());
362 response.setTotal(count); 362 response.setTotal(count);
363 - response.setTotal((int)Math.ceil(count/unionShareOrderReqBO.getSize())); 363 + response.setTotalPage((int)Math.ceil(count/unionShareOrderReqBO.getSize()));
364 response.setList(unionShareSettlementList); 364 response.setList(unionShareSettlementList);
365 //设置缓存 365 //设置缓存
366 addToRedis(ShareOrdersKeyEnum.SETTLEMENT_LIST,unionShareOrderReqBO.getUid(),response,key, String.valueOf(unionShareOrderReqBO.getPage()), String.valueOf(unionShareOrderReqBO.getSize())); 366 addToRedis(ShareOrdersKeyEnum.SETTLEMENT_LIST,unionShareOrderReqBO.getUid(),response,key, String.valueOf(unionShareOrderReqBO.getPage()), String.valueOf(unionShareOrderReqBO.getSize()));
@@ -393,7 +393,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport @@ -393,7 +393,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
393 response.setSize(unionShareOrderReqBO.getSize()); 393 response.setSize(unionShareOrderReqBO.getSize());
394 response.setPage(unionShareOrderReqBO.getPage()); 394 response.setPage(unionShareOrderReqBO.getPage());
395 response.setTotal(count); 395 response.setTotal(count);
396 - response.setTotal((int)Math.ceil(count/unionShareOrderReqBO.getSize())); 396 + response.setTotalPage((int)Math.ceil(count/unionShareOrderReqBO.getSize()));
397 response.setList(unionShareOrdersList); 397 response.setList(unionShareOrdersList);
398 //设置缓存 398 //设置缓存
399 addToRedis(ShareOrdersKeyEnum.ORDER_LIST,unionShareOrderReqBO.getUid(),response,unionShareOrderReqBO.getTab1().toString(), unionShareOrderReqBO.getTab2().toString(), 399 addToRedis(ShareOrdersKeyEnum.ORDER_LIST,unionShareOrderReqBO.getUid(),response,unionShareOrderReqBO.getTab1().toString(), unionShareOrderReqBO.getTab2().toString(),