具体如下例:
@Select("select count(*) from hy_stock where name like '%${keyword}%' or code like '%${keyword}%' ") int getPagedSearchCount(@Param("keyword") String keyword);
--2020-04-30--
具体如下例:
@Select("select count(*) from hy_stock where name like '%${keyword}%' or code like '%${keyword}%' ") int getPagedSearchCount(@Param("keyword") String keyword);
--2020-04-30--