记得上下班打卡 | git大法好,push需谨慎

Commit f83cf019 authored by 胡佳晨's avatar 胡佳晨

提交 正在下单用券bug

parent f6b2426d
...@@ -282,7 +282,7 @@ public class GoblinOrderUtils { ...@@ -282,7 +282,7 @@ public class GoblinOrderUtils {
if (tempPrice.compareTo(vo.getDeduction()) > 0) { if (tempPrice.compareTo(vo.getDeduction()) > 0) {
tempPrice = vo.getDeduction(); tempPrice = vo.getDeduction();
} }
returnVo.setValue(tempPrice); returnVo.setValue(contentPrice.subtract(tempPrice));
returnVo.setCouType(vo.getType()); returnVo.setCouType(vo.getType());
} else if (vo.getType().equals("3")) {//满减 } else if (vo.getType().equals("3")) {//满减
if (vo.getValMinus().compareTo(contentPrice) > 0) { if (vo.getValMinus().compareTo(contentPrice) > 0) {
......
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