src/com/ischoolbar/programmer/dao/common/CommentDao.java
(完整代码) 959Bpackage com.ischoolbar.programmer.dao.common;
import java.util.List;
import java.util.Map;
import org.springframework.stereotype.Repository;
import com.ischoolbar.programmer.entity.common.Comment;
/**
* 商品dao层
* @author Administrator
*
*/
@Repository
public interface CommentDao {
/**
* 添加评论
* @param comment
* @return
*/
public int add(Comment comment);
/**
* 编辑评论
* @param comment
* @return
*/
public int edit(Comment comment);
/**
* 删除评论
* @param id
* @return
*/
public int delete(Long id);
/**
* 多条件搜索词查询评论
* @param queMap
* @return
*/
public List<Comment> findList(Map<String, Object> queryMap);
/**
* 获取符合条件的总记录数
* @param queryMap
* @return
*/
public Integer getTotal(Map<String, Object> queryMap);
/**
* 根据id查询评论
* @param id
* @return
*/
public Comment findById(Long id);
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。