...
|
...
|
@@ -272,7 +272,11 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport |
|
|
for (UnionShareOrders unionShareOrders : unionShareOrdersList){
|
|
|
unionShareOrders.setOrderTimeStr(DateUtils.int2DateStr(unionShareOrders.getOrderTime(), DateUtils.POINT_FOMARTPATTER));
|
|
|
unionShareOrders.setLastOrderAmountStr(df1.format(unionShareOrders.getLastOrderAmount()));
|
|
|
unionShareOrders.setAmountStr("+"+df1.format(unionShareOrders.getAmount()));
|
|
|
if (Integer.valueOf(unionShareOrders.getStatus()) > 90){
|
|
|
unionShareOrders.setAmountStr("+0");
|
|
|
}else {
|
|
|
unionShareOrders.setAmountStr("+"+df1.format(unionShareOrders.getAmount()));
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
...
|
...
|
@@ -305,7 +309,11 @@ public class UnionShareServiceImpl implements IUnionShareService,IBusinessExport |
|
|
shareOrderBo.setIsNew(unionShareOrders.getIsNew().toString());
|
|
|
shareOrderBo.setProductList(shareOrdersProductBoList);
|
|
|
shareOrderBo.setOrderTimeStr(DateUtils.int2DateStr(shareOrderBo.getOrderTime(),DateUtils.DEFAULT_FOMARTPATTER));
|
|
|
shareOrderBo.setAmountStr("¥"+df1.format(shareOrderBo.getAmount()));
|
|
|
if(Integer.valueOf(shareOrderBo.getStatus()) > 90){
|
|
|
shareOrderBo.setAmountStr("¥0");
|
|
|
}else {
|
|
|
shareOrderBo.setAmountStr("¥"+df1.format(shareOrderBo.getAmount()));
|
|
|
}
|
|
|
shareOrderBo.setLastOrderAmountStr("¥"+df1.format(shareOrderBo.getLastOrderAmount()));
|
|
|
//设置缓存
|
|
|
addToRedis(ShareOrdersKeyEnum.ORDER_INFO,uid,shareOrderBo,key, orderCode);
|
...
|
...
|
|