|
|
@ -56,7 +56,7 @@ public class IfsCallErrorLogServiceImpl extends ServiceImpl<IfsCallErrorLogMappe |
|
|
String partNo, String lotBatchNo, |
|
|
String partNo, String lotBatchNo, |
|
|
String sourceLocation, String destLocation, |
|
|
String sourceLocation, String destLocation, |
|
|
BigDecimal qty, Date expiredDate, |
|
|
BigDecimal qty, Date expiredDate, |
|
|
String requestData, String responseData, String errorMessage) { |
|
|
|
|
|
|
|
|
String requestData, String responseData, String errorMessage, String serialNos) { |
|
|
|
|
|
|
|
|
System.out.println("========== IFS错误日志记录开始 =========="); |
|
|
System.out.println("========== IFS错误日志记录开始 =========="); |
|
|
System.out.println("站点: " + site + ", 接口: " + interfaceName + ", 方法: " + methodType); |
|
|
System.out.println("站点: " + site + ", 接口: " + interfaceName + ", 方法: " + methodType); |
|
|
@ -80,7 +80,7 @@ public class IfsCallErrorLogServiceImpl extends ServiceImpl<IfsCallErrorLogMappe |
|
|
errorLog.setRetryCount(0); |
|
|
errorLog.setRetryCount(0); |
|
|
errorLog.setMaxRetry(3); |
|
|
errorLog.setMaxRetry(3); |
|
|
errorLog.setCreatedAt(new Date()); |
|
|
errorLog.setCreatedAt(new Date()); |
|
|
|
|
|
|
|
|
|
|
|
errorLog.setSerialNos(serialNos); |
|
|
this.save(errorLog); |
|
|
this.save(errorLog); |
|
|
|
|
|
|
|
|
System.out.println("IFS错误日志记录成功,日志ID: " + errorLog.getId()); |
|
|
System.out.println("IFS错误日志记录成功,日志ID: " + errorLog.getId()); |
|
|
|