parent
cc13f2042b
commit
71a0528776
@ -0,0 +1,15 @@
|
||||
package com.example.flower.mapper;
|
||||
|
||||
import com.example.flower.entity.Comment;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Mapper
|
||||
@Repository
|
||||
public interface CommentMapper {
|
||||
List<Comment> commentList(int flower_id); //获取商品评论信息
|
||||
void commentAdd(Comment comment); //添加新评论
|
||||
List<Comment> findAllComment(); //查找所有评论
|
||||
}
|
||||
Loading…
Reference in new issue