@Insert({"insert into ", TABLE_NAME, "(", INSERT_FIELDS,
") values(#{userId},#{content},#{createdDate},#{entityId},#{entityType},#{status})"})
int addComment(Comment comment);
@Select({"select ", SELECT_FIELDS," from ", TABLE_NAME, " where entityId=#{entityId} and entityType=#{entityType} order by createdDate desc"})
List<Comment> selectCommentByEntity**(@Param**("entityId") int entityId,
**@Param**("entityType") int entityType);
请问 这个param 的注解到底什么时候要加,,很懵逼,,,看视频 写代码那兄弟也没说为啥用,,,