@Override
protected void doJob(JobExecutionContext arg0) {
try {
//返回绿城标识uuid
String paymentUuid = getService().savePaymentInfo();
if(StringUtils.notBlank(paymentUuid)) {
qhyfGetLcAttachmentService = new QhyfGetLcAttachmentService();
// 开始异步获取附件
TaskExecuteUtils.callMethod(() -> {
String[] paymentIds = paymentUuid.split(",");
for(String paymentId: paymentIds) {
try {
qhyfGetLcAttachmentService.PaymentListAttachmentIAnformation(null, paymentId);
}catch (Exception e){
e.printStackTrace();
}
}
});
}
} catch (Exception e) {
logger.error("接收绿城付款单数据失败", e);
}
}