Browse Source

修改发票信息不显示审核人BUG修复

anderx 1 year ago
parent
commit
f696603d2f

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

@@ -118,8 +118,8 @@ public class OrderInvoiceServiceImpl extends BaseMybatisDao<TOrderInvoiceMapper>
 		addInvoiceLog(o.getId(),5);
 		o.setStatus(1);
 		if (o.getApproval()==2)o.setApproval(1);
-		int i=tOrderInvoiceMapper.updateByPrimaryKeySelective(o);
 		pushOrderInvoiceExamine(o);
+		int i=tOrderInvoiceMapper.updateByPrimaryKeySelective(o);
 		if (o.getApproval()==0){
 			TOrderInvoice use = tOrderInvoiceMapper.selectByPrimaryKey(o.getId());
 			String startTime = DateUtils.formatDate(use.getCreateTime(),AFTConstants.YYYYMMDD);