Commit ddeba90f by 徐康

价格问题修复

parent b3df8226
......@@ -64,8 +64,8 @@ public class ActivityList {
@Data
public static class McCafeSendGoods extends CartGoods {
private Integer isSelected;
private String originalPrice;
private String finalPrice;
private String originalPriceStr;
private String finalPriceStr;
}
}
......@@ -59,8 +59,8 @@ public class BuySendCalculation {
mcCafeSendGoods.setSpuName(o.getGoodsName());
mcCafeSendGoods.setQty(o.getSendNumber());
mcCafeSendGoods.setPic(o.getPicture());
mcCafeSendGoods.setOriginalPrice(MoneyUtils.parseFen2Yuan(o.getOriginalPrice()));
mcCafeSendGoods.setFinalPrice(MoneyUtils.parseFen2Yuan(o.getOriginalPrice()));
mcCafeSendGoods.setOriginalPriceStr(MoneyUtils.parseFen2Yuan(o.getOriginalPrice()));
mcCafeSendGoods.setFinalPriceStr(MoneyUtils.parseFen2Yuan(o.getOriginalPrice()));
if(map.get(o.getGoodsId()) != null) {
mcCafeSendGoods.setIsSelected(1);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment