anderx лет назад: 3
Родитель
Сommit
0c56274811

+ 1 - 0
src/main/java/com/goafanti/order/service/impl/OrderInvoiceServiceImpl.java

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