调整开票结果查询代码

This commit is contained in:
hecan 2025-04-30 22:11:57 +08:00
parent 2e80feef58
commit d0e553c358
2 changed files with 8 additions and 1 deletions

View File

@ -90,7 +90,7 @@
<select id="queryInputInvoiceResult" resultMap="get-InvoiceEntity-result" parameterType="com.hzya.frame.seeyon.invoice.entity.InvoiceEntity"> <select id="queryInputInvoiceResult" resultMap="get-InvoiceEntity-result" parameterType="com.hzya.frame.seeyon.invoice.entity.InvoiceEntity">
select select
* *
from where from formmain_0533
</select> </select>
<!--通过主键修改方法--> <!--通过主键修改方法-->

View File

@ -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完毕======");
} }
} }
} }