|
|
@ -842,12 +842,12 @@ public class SDNYMainProcessController extends AbstractController { |
|
|
|
R data = new R(1000, "default success"); |
|
|
|
R data = new R(1000, "default success"); |
|
|
|
data.put("data", ""); |
|
|
|
data.put("data", ""); |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
// try {
|
|
|
|
requestRecordService.saveRecord(record,0, 0, JSONObject.toJSONString(data)); |
|
|
|
// requestRecordService.saveRecord(record,0, 0, JSONObject.toJSONString(data));
|
|
|
|
} catch (Exception e) { |
|
|
|
// } catch (Exception e) {
|
|
|
|
log.error("发票同步接口记录保存失败,errormsg:{}",e.getMessage()); |
|
|
|
// log.error("发票同步接口记录保存失败,errormsg:{}",e.getMessage());
|
|
|
|
e.printStackTrace(); |
|
|
|
// e.printStackTrace();
|
|
|
|
} |
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
return ResponseEntity.ok(JSONObject.toJSONString(data)); |
|
|
|
return ResponseEntity.ok(JSONObject.toJSONString(data)); |
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -867,12 +867,12 @@ public class SDNYMainProcessController extends AbstractController { |
|
|
|
R data = new R(1000, "default success"); |
|
|
|
R data = new R(1000, "default success"); |
|
|
|
data.put("data", ""); |
|
|
|
data.put("data", ""); |
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
// try {
|
|
|
|
requestRecordService.saveRecord(record,0, 0, JSONObject.toJSONString(data)); |
|
|
|
// requestRecordService.saveRecord(record,0, 0, JSONObject.toJSONString(data));
|
|
|
|
} catch (Exception e) { |
|
|
|
// } catch (Exception e) {
|
|
|
|
log.error("发票同步接口记录保存失败,errormsg:{}",e.getMessage()); |
|
|
|
// log.error("发票同步接口记录保存失败,errormsg:{}",e.getMessage());
|
|
|
|
e.printStackTrace(); |
|
|
|
// e.printStackTrace();
|
|
|
|
} |
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
return ResponseEntity.ok(JSONObject.toJSONString(data)); |
|
|
|
return ResponseEntity.ok(JSONObject.toJSONString(data)); |
|
|
|
|
|
|
|
|
|
|
|