调整开票结果查询代码
This commit is contained in:
parent
2e80feef58
commit
d0e553c358
|
@ -90,7 +90,7 @@
|
|||
<select id="queryInputInvoiceResult" resultMap="get-InvoiceEntity-result" parameterType="com.hzya.frame.seeyon.invoice.entity.InvoiceEntity">
|
||||
select
|
||||
*
|
||||
from where
|
||||
from formmain_0533
|
||||
</select>
|
||||
|
||||
<!--通过主键修改方法-->
|
||||
|
|
|
@ -233,6 +233,13 @@ public class InvoiceServiceImpl extends BaseService<InvoiceEntity, String> imple
|
|||
}
|
||||
}
|
||||
}
|
||||
}else{
|
||||
logger.info("=======开始将开票结果回写OA======");
|
||||
String resultStatus = InvoiceState.invoiceStateGetValue(jsonResult.getString("resultStatus"));//开票结果
|
||||
entity.setResult_status(resultStatus);
|
||||
entity.setId(entity.getSerial_number());
|
||||
invoiceDao.updateInvoiceResult(entity);
|
||||
logger.info("=======将开票结果回写OA完毕======");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue