package com.ruoyi.mall.service; import java.util.List; import java.util.Map; import com.ruoyi.mall.domain.MallOrderComment; /** * 商品评论Service接口 * * @author chang * @date 2021-11-25 */ public interface IMallOrderCommentService { /** * 查询商品评论 * * @param id 商品评论主键 * @return 商品评论 */ public MallOrderComment selectMallOrderCommentById(Long id); /** * 查询商品评论列表 * * @param mallOrderComment 商品评论 * @return 商品评论集合 */ public List> selectMallOrderCommentList(MallOrderComment mallOrderComment); /** * 新增商品评论 * * @param mallOrderComment 商品评论 * @return 结果 */ public int insertMallOrderComment(MallOrderComment mallOrderComment); /** * 修改商品评论 * * @param mallOrderComment 商品评论 * @return 结果 */ public int updateMallOrderComment(MallOrderComment mallOrderComment); /** * 批量删除商品评论 * * @param ids 需要删除的商品评论主键集合 * @return 结果 */ public int deleteMallOrderCommentByIds(Long[] ids); /** * 删除商品评论信息 * * @param id 商品评论主键 * @return 结果 */ public int deleteMallOrderCommentById(Long id); /* * 评论订单 * */ public int commentOrder(Map map); public int selectCountByGoodsId(Long goodsId); public List> selectTwoRecordByGoodsId(Long goodsId); public List> selectCommentListByGoodsId(Long goodsId); }