|
|
@@ -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);
|