|
@@ -115,6 +115,7 @@ public class OrderInvoiceServiceImpl extends BaseMybatisDao<TOrderInvoiceMapper>
|
|
|
sendNoticeAndEmail(o);
|
|
sendNoticeAndEmail(o);
|
|
|
addInvoiceLog(o.getId(),5);
|
|
addInvoiceLog(o.getId(),5);
|
|
|
o.setStatus(1);
|
|
o.setStatus(1);
|
|
|
|
|
+ if (o.getApproval()==2)o.setApproval(1);
|
|
|
int i=tOrderInvoiceMapper.updateByPrimaryKeySelective(o);
|
|
int i=tOrderInvoiceMapper.updateByPrimaryKeySelective(o);
|
|
|
pushOrderInvoiceExamine(o);
|
|
pushOrderInvoiceExamine(o);
|
|
|
return i;
|
|
return i;
|