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

Commit 74a58407 authored by 胡佳晨's avatar 胡佳晨

退款 撤回

parent 2e414e30
...@@ -464,7 +464,6 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService { ...@@ -464,7 +464,6 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
Query.query(Criteria.where("orderTicketsId").is(orderTicketsId)).getQueryObject(), Query.query(Criteria.where("orderTicketsId").is(orderTicketsId)).getQueryObject(),
orderObject orderObject
); );
dataUtils.delOrderTicketRedis(orderTicketsId);
orderUtils.resetOrderListVo(orderTicketVo.getUserId(), 2, orderTicketsId, null); orderUtils.resetOrderListVo(orderTicketVo.getUserId(), 2, orderTicketsId, null);
// 入场人 // 入场人
...@@ -512,6 +511,8 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService { ...@@ -512,6 +511,8 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
kylinOrderTicketEntitiesVo.setChangeDate(time); kylinOrderTicketEntitiesVo.setChangeDate(time);
for (KylinOrderRefundEntitiesVo item2:orderRefundsVo.getOrderRefundEntitiesVoList()){ for (KylinOrderRefundEntitiesVo item2:orderRefundsVo.getOrderRefundEntitiesVoList()){
if(item2.getOrderTicketEntitiesId().equalsIgnoreCase(item.getOrderTicketEntitiesId())){ if(item2.getOrderTicketEntitiesId().equalsIgnoreCase(item.getOrderTicketEntitiesId())){
log.info("entitiesVo.getRefundPrice() = "+entitiesVo.getRefundPrice());
log.info("item2.getRefundPrice() = "+item2.getRefundPrice()));
kylinOrderTicketEntitiesVo.setRefundPrice(entitiesVo.getRefundPrice().subtract(item2.getRefundPrice())); kylinOrderTicketEntitiesVo.setRefundPrice(entitiesVo.getRefundPrice().subtract(item2.getRefundPrice()));
} }
} }
...@@ -542,6 +543,8 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService { ...@@ -542,6 +543,8 @@ public class KylinOrderTicketsServiceImpl implements IKylinOrderTicketsService {
dataUtils.delOrderRefundVo(orderRefundsId); dataUtils.delOrderRefundVo(orderRefundsId);
dataUtils.delOrderRefundVoByOrderId(orderTicketsId); dataUtils.delOrderRefundVoByOrderId(orderTicketsId);
dataUtils.delOrderTicketRedis(orderTicketsId);
sqls.add(SqlMapping.get("kylin_order_ticket_status.withDraw")); sqls.add(SqlMapping.get("kylin_order_ticket_status.withDraw"));
sqls.add(SqlMapping.get("kylin_order_ticket_entities.withDraw")); sqls.add(SqlMapping.get("kylin_order_ticket_entities.withDraw"));
......
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