This commit is contained in:
Carl 2022-02-02 15:42:04 +08:00
parent 6d01393632
commit d31b4b45b3

View File

@ -284,7 +284,7 @@ public class OrderService {
endTotal = total * buyCount - discount; endTotal = total * buyCount - discount;
break; break;
case "3": case "3":
endTotal = (total * buyCount) * discount; endTotal = (total * buyCount) * (1-discount);
break; break;
case "1" : case "1" :
endTotal = total * buyCount - discount; endTotal = total * buyCount - discount;