|
@@ -375,6 +375,8 @@ public class ProcurementDomesticCustomerCreditServiceImpl |
|
@@ -375,6 +375,8 @@ public class ProcurementDomesticCustomerCreditServiceImpl |
|
375
|
getBaseMapper().update(updateWrapper);
|
375
|
getBaseMapper().update(updateWrapper);
|
|
376
|
}
|
376
|
}
|
|
377
|
|
377
|
|
|
|
|
378
|
+ @OpLog(type = OtherOpLogType.class, name = "评审采购内贸资信调查表审核,ID:{}", params = {"#vo.id"})
|
|
|
|
379
|
+ @Transactional(rollbackFor = Exception.class)
|
|
378
|
@Override
|
380
|
@Override
|
|
379
|
public void updateNoFlowInstance(ProcurementDomesticCustomerCredit customerCredit) {
|
381
|
public void updateNoFlowInstance(ProcurementDomesticCustomerCredit customerCredit) {
|
|
380
|
if (ObjectUtil.isNull(customerCredit.getId())) {
|
382
|
if (ObjectUtil.isNull(customerCredit.getId())) {
|
|
@@ -392,7 +394,12 @@ public class ProcurementDomesticCustomerCreditServiceImpl |
|
@@ -392,7 +394,12 @@ public class ProcurementDomesticCustomerCreditServiceImpl |
|
392
|
}
|
394
|
}
|
|
393
|
|
395
|
|
|
394
|
getBaseMapper().updateById(customerCredit);
|
396
|
getBaseMapper().updateById(customerCredit);
|
|
395
|
- OpLogUtil.setExtra(data);
|
397
|
+ try {
|
|
|
|
398
|
+ OpLogUtil.setExtra(data);
|
|
|
|
399
|
+ } catch (Exception e) {
|
|
|
|
400
|
+ // 忽略日志记录错误,或者打印 debug 日志
|
|
|
|
401
|
+ log.error("非Web请求环境或日志上下文缺失,跳过操作日志扩展记录");
|
|
|
|
402
|
+ }
|
|
396
|
}
|
403
|
}
|
|
397
|
|
404
|
|
|
398
|
@Override
|
405
|
@Override
|