Authored by zhaoqing

联盟红人

... ... @@ -360,7 +360,7 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport
response.setSize(unionShareOrderReqBO.getSize());
response.setPage(unionShareOrderReqBO.getPage());
response.setTotal(count);
response.setTotal((int)Math.ceil(count/unionShareOrderReqBO.getSize()));
response.setTotalPage((int)Math.ceil(count/unionShareOrderReqBO.getSize()));
response.setList(unionShareSettlementList);
//设置缓存
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
response.setSize(unionShareOrderReqBO.getSize());
response.setPage(unionShareOrderReqBO.getPage());
response.setTotal(count);
response.setTotal((int)Math.ceil(count/unionShareOrderReqBO.getSize()));
response.setTotalPage((int)Math.ceil(count/unionShareOrderReqBO.getSize()));
response.setList(unionShareOrdersList);
//设置缓存
addToRedis(ShareOrdersKeyEnum.ORDER_LIST,unionShareOrderReqBO.getUid(),response,unionShareOrderReqBO.getTab1().toString(), unionShareOrderReqBO.getTab2().toString(),
... ...