收款单同步失败
This commit is contained in:
+4
-4
@@ -519,7 +519,7 @@ public class BillManageImpl extends ServiceImpl<BillManageMapper, BillManage> im
|
||||
if (ncUrl!=null&&ncUrl!="") {
|
||||
url = ncUrl;
|
||||
} else {
|
||||
reconciliation.setSynchronousStatus(2);
|
||||
reconciliation.setSkSynchronousStatus(2);
|
||||
billManageMapper.updateById(reconciliation);
|
||||
throw new ServiceException("未找到该组织的推送地址!");
|
||||
}
|
||||
@@ -751,7 +751,7 @@ public class BillManageImpl extends ServiceImpl<BillManageMapper, BillManage> im
|
||||
billManageMapper.updateById(reconciliation);
|
||||
response.close();
|
||||
} catch (Exception e) {
|
||||
reconciliation.setSynchronousStatus(2);
|
||||
reconciliation.setSkSynchronousStatus(2);
|
||||
billManageMapper.updateById(reconciliation);
|
||||
e.printStackTrace();
|
||||
} finally {
|
||||
@@ -764,11 +764,11 @@ public class BillManageImpl extends ServiceImpl<BillManageMapper, BillManage> im
|
||||
|
||||
}
|
||||
} else {
|
||||
reconciliation.setSynchronousStatus(2);
|
||||
reconciliation.setSkSynchronousStatus(2);
|
||||
billManageMapper.updateById(reconciliation);
|
||||
}
|
||||
} catch (JAXBException e) {
|
||||
reconciliation.setSynchronousStatus(2);
|
||||
reconciliation.setSkSynchronousStatus(2);
|
||||
billManageMapper.updateById(reconciliation);
|
||||
e.printStackTrace();
|
||||
} catch (JsonMappingException e) {
|
||||
|
||||
Reference in New Issue
Block a user