|
|
@@ -309,6 +309,9 @@ public class OrderInvoiceServiceImpl extends BaseMybatisDao<TOrderInvoiceMapper>
|
|
|
t.setRejectReason(reason);
|
|
|
List<String> aids=new ArrayList<>();
|
|
|
TOrderInvoice o=tOrderInvoiceMapper.selectByPrimaryKey(id);
|
|
|
+ t.setType(o.getType());
|
|
|
+ t.setStatus(o.getStatus());
|
|
|
+ t.setOrderNo(o.getOrderNo());
|
|
|
TOrderNew ts=tOrderNewMapper.selectByPrimaryKey(o.getOrderNo());
|
|
|
//examine 2通过 3拒绝
|
|
|
Integer type =null;
|
|
|
@@ -328,7 +331,7 @@ public class OrderInvoiceServiceImpl extends BaseMybatisDao<TOrderInvoiceMapper>
|
|
|
}
|
|
|
|
|
|
}
|
|
|
- pushOrderInvoiceExamine(o);
|
|
|
+ pushOrderInvoiceExamine(t);
|
|
|
TOrderNewBo order = tOrderNewMapper.getSaleIdByOno(o.getOrderNo());
|
|
|
orderNewService.pushGeneralSendNoticeAndEmail(aids,type,order, TokenManager.getAdminId(),0);
|
|
|
return tOrderInvoiceMapper.updateByPrimaryKeySelective(t);
|