package com.zm.order.tool.server.hint;

import com.zm.order.tool.server.model.OrderCommentDetails;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * @author nianchang
 * @ClassName OrderCommentDetailsDao
 * @date 2021/03/30 5:45 下午
 */
@Repository
public interface HintOrderCommentDetailsDao {


    /**
     * 修改
     * @param record
     * @return
     * Date: 2021/3/30 5:36 下午
     */
    int update(OrderCommentDetails record);

    /**
     * 查询列表
     * @param orderNo
     * @param sellerId
     * @return
     * Date: 2021/4/21 4:19 下午
     */
    List<OrderCommentDetails> selectByOrderNo(@Param("orderNo") String orderNo,
                                              @Param("sellerId") Long sellerId);

    void batchUpdateDate(List<Long> list);
}
