删除报错代码

This commit is contained in:
xiangerlin 2025-06-23 15:27:18 +08:00
parent df159e1e8d
commit 59c7d33ecd
1 changed files with 16 additions and 16 deletions

View File

@ -262,25 +262,25 @@ public class InvoiceServiceImpl extends BaseService<InvoiceEntity, String> imple
} }
//开票成功提交流程 //开票成功提交流程
//查询待办退回流程用这里只处理退回的情况如果要处理提交要等开票成功后才能提交去定时查开票结果的定时任务里做 //查询待办退回流程用这里只处理退回的情况如果要处理提交要等开票成功后才能提交去定时查开票结果的定时任务里做
ApplyInvoiceEntity applyInvoice = new ApplyInvoiceEntity(); // ApplyInvoiceEntity applyInvoice = new ApplyInvoiceEntity();
applyInvoice.setId(entity.getSerial_number()); // applyInvoice.setId(entity.getSerial_number());
applyInvoice.setDataSourceCode("HT-OA"); // applyInvoice.setDataSourceCode("HT-OA");
ApplyInvoiceEntity applyInvoiceEntity = applyInvoiceService.queryAffair(applyInvoice); // ApplyInvoiceEntity applyInvoiceEntity = applyInvoiceService.queryAffair(applyInvoice);
if (null != applyInvoiceEntity){ // if (null != applyInvoiceEntity){
String stepBack = applyInvoiceService.stepBackValueOf(applyInvoiceEntity.getWorkitem_id(), InvoiceState.invoiceStateGetValue(jsonResult.getString("resultStatus")); // String stepBack = applyInvoiceService.stepBackValueOf(applyInvoiceEntity.getWorkitem_id(), InvoiceState.invoiceStateGetValue(jsonResult.getString("resultStatus"));
applyInvoiceService.process(stepBack,"8000590007"); // applyInvoiceService.process(stepBack,"8000590007");
} // }
}else { }else {
//开票失败流程回退 //开票失败流程回退
//查询待办退回流程用这里只处理退回的情况如果要处理提交要等开票成功后才能提交去定时查开票结果的定时任务里做 //查询待办退回流程用这里只处理退回的情况如果要处理提交要等开票成功后才能提交去定时查开票结果的定时任务里做
ApplyInvoiceEntity applyInvoice = new ApplyInvoiceEntity(); // ApplyInvoiceEntity applyInvoice = new ApplyInvoiceEntity();
applyInvoice.setId(entity.getSerial_number()); // applyInvoice.setId(entity.getSerial_number());
applyInvoice.setDataSourceCode("HT-OA"); // applyInvoice.setDataSourceCode("HT-OA");
ApplyInvoiceEntity applyInvoiceEntity = applyInvoiceService.queryAffair(applyInvoice); // ApplyInvoiceEntity applyInvoiceEntity = applyInvoiceService.queryAffair(applyInvoice);
if (null != applyInvoiceEntity){ // if (null != applyInvoiceEntity){
String stepBack = applyInvoiceService.stepBackValueOf(applyInvoiceEntity.getWorkitem_id(), attribute.getString("resultMsg")); // String stepBack = applyInvoiceService.stepBackValueOf(applyInvoiceEntity.getWorkitem_id(), attribute.getString("resultMsg"));
applyInvoiceService.process(stepBack,"8000590006"); // applyInvoiceService.process(stepBack,"8000590006");
} // }
} }
} }
} }