This commit is contained in:
Leo
2025-12-08 14:42:44 +08:00
parent 632b9f7eb1
commit 9a8c7b1039
15 changed files with 1151 additions and 1 deletions

View File

@@ -0,0 +1,42 @@
package com.ruoyi.jarvis.mapper;
import com.ruoyi.jarvis.domain.Comment;
import java.util.List;
import java.util.Map;
/**
* 京东评论 Mapper 接口
*/
public interface CommentMapper {
/**
* 查询京东评论列表
*/
List<Comment> selectCommentList(Comment comment);
/**
* 根据ID查询京东评论
*/
Comment selectCommentById(Long id);
/**
* 根据商品ID查询评论统计
*/
Map<String, Object> selectCommentStatisticsByProductId(String productId);
/**
* 更新评论使用状态
*/
int updateCommentIsUse(Comment comment);
/**
* 批量删除评论
*/
int deleteCommentByIds(Long[] ids);
/**
* 重置评论使用状态(批量)
*/
int resetCommentIsUseByProductId(String productId);
}

View File

@@ -0,0 +1,42 @@
package com.ruoyi.jarvis.mapper;
import com.ruoyi.jarvis.domain.TaobaoComment;
import java.util.List;
import java.util.Map;
/**
* 淘宝评论 Mapper 接口
*/
public interface TaobaoCommentMapper {
/**
* 查询淘宝评论列表
*/
List<TaobaoComment> selectTaobaoCommentList(TaobaoComment taobaoComment);
/**
* 根据ID查询淘宝评论
*/
TaobaoComment selectTaobaoCommentById(Integer id);
/**
* 根据商品ID查询评论统计
*/
Map<String, Object> selectTaobaoCommentStatisticsByProductId(String productId);
/**
* 更新评论使用状态
*/
int updateTaobaoCommentIsUse(TaobaoComment taobaoComment);
/**
* 批量删除评论
*/
int deleteTaobaoCommentByIds(Integer[] ids);
/**
* 重置评论使用状态(批量)
*/
int resetTaobaoCommentIsUseByProductId(String productId);
}