Commit 875bb609 authored by unset's avatar unset

添加通知信息

parent 7a4d4c0e
......@@ -165,8 +165,9 @@ public class OrderPayBiz extends BaseBiz<OrderPayMapper, OrderPay> {
orderPay.setFinishTime(System.currentTimeMillis());
orderPay.setStatus(1);
orderPay.setSerialNumber(serialNumber);
OrderPay old = mapper.selectOneByExample(example);
int num = mapper.updateByExampleSelective(orderPay, example);
websiteFeign.updateOrderStatus(new OrderInfo(){{setOrderNo(orderPay.getOrderNo());setPayStatus(2);}});
websiteFeign.updateOrderStatus(new OrderInfo(){{setOrderNo(old.getOrderNo());setPayStatus(2);}});
}
/**
......
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