添加日志打印

release
路明慧 2 years ago
parent b3a7616f00
commit 6e377a3489
  1. 2
      dxhy-erp/src/main/java/com/dxhy/erp/controller/SDNYMainProcessController.java
  2. 4
      dxhy-erp/src/main/java/com/dxhy/erp/service/impl/SignSaveInvoiceInfoServiceImpl.java

@ -763,7 +763,7 @@ public class SDNYMainProcessController extends AbstractController {
return ResponseEntity.ok(JSONObject.toJSONString(R.error().put("data", checkInvoiceResult))); return ResponseEntity.ok(JSONObject.toJSONString(R.error().put("data", checkInvoiceResult)));
} }
}catch (Exception e) { }catch (Exception e) {
e.printStackTrace(); log.error("接口查验异常{}",e);
return ResponseEntity.ok(JSONObject.toJSONString(R.error().put("data", ""))); return ResponseEntity.ok(JSONObject.toJSONString(R.error().put("data", "")));
} }
finally { finally {

@ -161,6 +161,7 @@ public class SignSaveInvoiceInfoServiceImpl extends MpBaseServiceImpl<SignRecord
} }
} }
} else { } else {
log.info("底账表执行更新操作");
// TdxRecordInvoice recordInvoiceUpdate = new TdxRecordInvoice(); // TdxRecordInvoice recordInvoiceUpdate = new TdxRecordInvoice();
// recordInvoiceUpdate.setQsDate(DateUtils.getSqlDateLong()); // recordInvoiceUpdate.setQsDate(DateUtils.getSqlDateLong());
// recordInvoiceUpdate.setQsName(userName); // recordInvoiceUpdate.setQsName(userName);
@ -510,7 +511,7 @@ public class SignSaveInvoiceInfoServiceImpl extends MpBaseServiceImpl<SignRecord
invoice.setInvoiceCode(invoiceCode); invoice.setInvoiceCode(invoiceCode);
invoice.setInvoiceNo(invoiceNo); invoice.setInvoiceNo(invoiceNo);
} }
log.info("getRecordInvoice.invoice",invoice);
invoice.setUuid(uuid); invoice.setUuid(uuid);
if ("1".equals(queryInvoiceResult.getString("state"))) { if ("1".equals(queryInvoiceResult.getString("state"))) {
@ -600,6 +601,7 @@ public class SignSaveInvoiceInfoServiceImpl extends MpBaseServiceImpl<SignRecord
invoice.setInvoiceSource("0"); invoice.setInvoiceSource("0");
} }
invoice.setScanId(queryInvoiceResult.getString("scanId")); invoice.setScanId(queryInvoiceResult.getString("scanId"));
log.info("getRecordInvoice.invoice{}",invoice);
return invoice; return invoice;
} }

Loading…
Cancel
Save