Files
msh-system/models-integration/target/classes/com/integration/api/mapper/CommunityCommentMapper.class

19 lines
2.8 KiB
Plaintext
Raw Normal View History

<EFBFBD><EFBFBD><EFBFBD><EFBFBD>43012 selectByUid$(Ljava/lang/String;)Ljava/util/List; SignatureR(Ljava/lang/String;)Ljava/util/List<Lcom/integration/api/model/CommunityComment;>;RuntimeVisibleAnnotations&Lorg/apache/ibatis/annotations/Select;value`SELECT * FROM v2_community_comments WHERE uid = #{uid} AND status != 2 ORDER BY create_time DESC'Lcom/integration/api/config/DataSource;nameshop_msh"RuntimeVisibleParameterAnnotations%Lorg/apache/ibatis/annotations/Param;uidselectByPostId%(Ljava/lang/Integer;)Ljava/util/List;S(Ljava/lang/Integer;)Ljava/util/List<Lcom/integration/api/model/CommunityComment;>;xSELECT * FROM v2_community_comments WHERE post_id = #{postId} AND status != 2 AND parent_id = 0 ORDER BY create_time ASCpostId selectRepliesByPostIdAndParentId8(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/List;f(Ljava/lang/Integer;Ljava/lang/Integer;)Ljava/util/List<Lcom/integration/api/model/CommunityComment;>;<00>SELECT * FROM v2_community_comments WHERE post_id = #{postId} AND parent_id = #{parentId} AND status != 2 ORDER BY create_time ASCparentId
selectByIdA(Ljava/lang/Integer;)Lcom/integration/api/model/CommunityComment;DSELECT * FROM v2_community_comments WHERE id = #{id} AND status != 2id insertComment/(Lcom/integration/api/model/CommunityComment;)I&Lorg/apache/ibatis/annotations/Insert;<00>INSERT INTO v2_community_comments(uid, post_id, parent_id, content, like_count, status, create_time, update_time) VALUES(#{uid}, #{postId}, #{parentId}, #{content}, #{likeCount}, #{status}, #{createTime}, #{updateTime}) updateComment&Lorg/apache/ibatis/annotations/Update;<00>UPDATE v2_community_comments SET content = #{content}, like_count = #{likeCount}, status = #{status}, update_time = #{updateTime} WHERE id = #{id}
deleteById(Ljava/lang/Integer;)IQUPDATE v2_community_comments SET status = 2, update_time = NOW() WHERE id = #{id}deleteByPostIdZUPDATE v2_community_comments SET status = 2, update_time = NOW() WHERE post_id = #{postId}qLjava/lang/Object;Lcom/baomidou/mybatisplus/core/mapper/BaseMapper<Lcom/integration/api/model/CommunityComment;>;
SourceFileCommunityCommentMapper.java&Lorg/apache/ibatis/annotations/Mapper;1com/integration/api/mapper/CommunityCommentMapperjava/lang/Object/com/baomidou/mybatisplus/core/mapper/BaseMapper 
[s  s 
s 
[s  s 
s 
[s  s
s
s 
[s  s 
s !"
[s#  s$!%
[s&  s'(%
[s)  s 
s*(%
[s+  s 
s,-./