Commit 3e85e44d by 崔彦峰

fix(goods): 添加权益服务项目验证错误日志记录

- 在 validateEquityServiceItems 方法中添加异常日志记录
- 当服务项目不存在时记录详细错误信息
- 便于排查升级商品权益服务项目验证问题
1 parent 88502195
...@@ -1105,6 +1105,7 @@ public class GoodsListingSubmitService { ...@@ -1105,6 +1105,7 @@ public class GoodsListingSubmitService {
try { try {
goodsListingProductBaseService.validUpgradeServiceItemExists(upgradeGoodsDTO); goodsListingProductBaseService.validUpgradeServiceItemExists(upgradeGoodsDTO);
} catch (Exception e) { } catch (Exception e) {
log.info("validateEquityServiceItems error", e);
setLineError(errorList, "服务项目不存在", rowIndex); setLineError(errorList, "服务项目不存在", rowIndex);
return false; return false;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!