@@ -0,0 +1,400 @@
+package com.lance.freemaker.mapper;%0A%0Aimport java.util.List;%0A%0Aimport com.lance.freemaker.domain.NewsInfo;%0A%0Apublic interface NewsMapper %7B%0A%0A%09/**%0A%09 * findAll%0A%09 * @param pageNo%0A%09 */%0A%09List%3CNewsInfo%3E findAll(int pageNo);%0A%09%0A%09/**%0A%09 * %E6%9F%A5%E8%AF%A2%E4%B8%80%E6%9D%A1%E8%AE%B0%E5%BD%95%0A%09 * @param id%0A%09 * @return%0A%09 */%0A%09NewsInfo findOne(int id);%0A%09%0A%09/**%0A%09 * save%0A%09 * @param info%0A%09 */%0A%09void save(NewsInfo info);%0A%09%0A%09/**%0A%09 * findCount%0A%09 */%0A%09int findCount();%0A%7D%0A

add resource