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

Commit b99965f9 authored by jiangxiulong's avatar jiangxiulong

RefundPrice

parent d370bafc
......@@ -147,7 +147,7 @@ public class KylinRefundsStatusServiceImpl {
UpdateResult updateResult = mongoTemplate.getCollection(KylinOrderTicketEntitiesVo.class.getSimpleName()).updateOne(
Query.query(Criteria.where("orderTicketEntitiesId").is(entitiesId)).getQueryObject(),
new Document("$set", new Document("updatedAt", DateUtil.getNowTime())
.append("refundPrice", BigDecimal.valueOf(priceNew))
// .append("refundPrice", BigDecimal.valueOf(priceNew))
.append("isPayment", isPayment)
)
);
......@@ -170,7 +170,7 @@ public class KylinRefundsStatusServiceImpl {
UpdateResult orderUpdateResult = mongoTemplate.getCollection(KylinOrderTicketEntitiesVo.class.getSimpleName()).updateOne(
Query.query(Criteria.where("orderTicketsId").is(orderTicketsId)).getQueryObject(),
new Document("$set", new Document("updatedAt", DateUtil.getNowTime())
// .append("priceRefund", BigDecimal.valueOf(price))
.append("priceRefund", BigDecimal.valueOf(price))
.append("status", newStatus)
.append("refundNumber", num)
)
......
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