| | |
| | | // + " order by d.is_topping desc, d.create_at desc " + "</script>") |
| | | IPage<ComActDynVO> pageDynamicByAdmin(Page page, @Param("comActDynVO") ComActDynVO comActDynVO); |
| | | |
| | | |
| | | String getContent(@Param("id") String id); |
| | | |
| | | int getReadNum(@Param("dynId") String dynId); |
| | | |
| | | |
| | | @Select("SELECT " + " count( cad.id ) AS dynTotal, " |
| | | + " (select count(id) from com_act_dyn where community_id = ${communityId} and create_at LIKE CONCAT(#{nowDate},'%')) as currentNum " |
| | | + "FROM " + " com_act_dyn AS cad " + "WHERE " + " community_id = ${communityId}") |