fix: 折扣金额修复
This commit is contained in:
parent
8d90986206
commit
9549aef3bd
|
|
@ -2314,7 +2314,6 @@ public class TbShopTableServiceImpl implements TbShopTableService {
|
|||
.eq(TbOrderDetail::getOrderId, orderInfo.getId())
|
||||
.eq(TbOrderDetail::getUseType, orderInfo.getUseType())
|
||||
.eq(TbOrderDetail::getStatus, "unpaid")
|
||||
.setSql(StrUtil.format("price_amount=price*num*{}", payDTO.getDiscount() == null ? 1 : payDTO.getDiscount()))
|
||||
.set(TbOrderDetail::getStatus, "closed"));
|
||||
|
||||
JSONObject jsonObject = new JSONObject();
|
||||
|
|
|
|||
Loading…
Reference in New Issue