| | |
| | | import com.mzl.flower.entity.film.CommentPo; |
| | | import com.mzl.flower.entity.film.CommentPoExample; |
| | | import org.apache.ibatis.annotations.Param; |
| | | import org.apache.ibatis.annotations.Select; |
| | | |
| | | import java.time.LocalDate; |
| | | import java.util.List; |
| | | |
| | | |
| | |
| | | int updateByPrimaryKey(CommentPo record); |
| | | |
| | | List<CommentPo> selectByArticleId(Integer articleId); |
| | | |
| | | |
| | | @Select("SELECT COUNT(*) FROM film_comments WHERE film_id = #{filmId} AND DATE(create_time) = #{date} and deleted = '0' ") |
| | | int countByFilmIdAndDate(Long id, LocalDate yesterday); |
| | | } |