|
@@ -58,10 +58,12 @@ public class AdwebProductServiceImpl extends ServiceImpl<AdwebProductMapper, Adw
|
|
|
productQuery.eq("product_id", productDTO.getProductId());
|
|
|
productQuery.eq("site_code", adwebSites.getCode());
|
|
|
productQuery.set("action_type", "delete");
|
|
|
+ productQuery.set("request_time", productDTO.getRequestTime());
|
|
|
+ productQuery.set("author_name", productDTO.getAuthorName());
|
|
|
|
|
|
try {
|
|
|
- this.update(productQuery);
|
|
|
- log.info("MQ消息删除产品成功:{}", productDTO);
|
|
|
+ boolean isUpdated = this.update(productQuery);
|
|
|
+ log.info("MQ消息删除产品成功, 网站:{}, 产品ID:{}, 是否更新成功:{}", adwebSites.getCode(), productDTO.getProductId(), isUpdated);
|
|
|
} catch (Exception e) {
|
|
|
log.error("MQ消息删除产品失败:{}", e.getMessage(), e);
|
|
|
}
|