package org.putongren.complain.dao;

import org.putongren.complain.dto.BizComplainDto;
import org.putongren.complain.entity.BizComplain;

import java.util.List;

public interface BizComplainDao {
    int deleteByPrimaryKey(String id);

    int insert(BizComplain record);

    int insertSelective(BizComplain record);

    BizComplain selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(BizComplain record);

    int updateByPrimaryKey(BizComplain record);

    List<BizComplainDto> selectAll();

    int praiseIt(String id);

    int queryPraiseNum(String id);
}