ggbocoder 2 лет назад
Родитель
Сommit
113c092e40

+ 1 - 3
src/main/java/cn/seecoder/fdroidrepository/Mapper/CommentMapper.java

@@ -10,8 +10,7 @@ import org.springframework.web.bind.annotation.*;
 
 import java.util.List;
 
-// CommentController.java
-// CommentMapper.java
+
 @Mapper
 public interface CommentMapper {
 
@@ -22,7 +21,6 @@ public interface CommentMapper {
         @Result(property = "userId", column = "user_id"),
         @Result(property = "content", column = "content"),
         @Result(property = "createdAt", column = "created_at")
-        // 添加其他属性映射关系
     })
     List<Comment> findByPostId(Long postId);