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