收款单同步失败

This commit is contained in:
王奎兴
2026-07-03 21:37:50 +08:00
parent 62ecfddb95
commit ebfd3c3f2e
@@ -519,7 +519,7 @@ public class BillManageImpl extends ServiceImpl<BillManageMapper, BillManage> im
if (ncUrl!=null&&ncUrl!="") { if (ncUrl!=null&&ncUrl!="") {
url = ncUrl; url = ncUrl;
} else { } else {
reconciliation.setSynchronousStatus(2); reconciliation.setSkSynchronousStatus(2);
billManageMapper.updateById(reconciliation); billManageMapper.updateById(reconciliation);
throw new ServiceException("未找到该组织的推送地址!"); throw new ServiceException("未找到该组织的推送地址!");
} }
@@ -751,7 +751,7 @@ public class BillManageImpl extends ServiceImpl<BillManageMapper, BillManage> im
billManageMapper.updateById(reconciliation); billManageMapper.updateById(reconciliation);
response.close(); response.close();
} catch (Exception e) { } catch (Exception e) {
reconciliation.setSynchronousStatus(2); reconciliation.setSkSynchronousStatus(2);
billManageMapper.updateById(reconciliation); billManageMapper.updateById(reconciliation);
e.printStackTrace(); e.printStackTrace();
} finally { } finally {
@@ -764,11 +764,11 @@ public class BillManageImpl extends ServiceImpl<BillManageMapper, BillManage> im
} }
} else { } else {
reconciliation.setSynchronousStatus(2); reconciliation.setSkSynchronousStatus(2);
billManageMapper.updateById(reconciliation); billManageMapper.updateById(reconciliation);
} }
} catch (JAXBException e) { } catch (JAXBException e) {
reconciliation.setSynchronousStatus(2); reconciliation.setSkSynchronousStatus(2);
billManageMapper.updateById(reconciliation); billManageMapper.updateById(reconciliation);
e.printStackTrace(); e.printStackTrace();
} catch (JsonMappingException e) { } catch (JsonMappingException e) {