yj
2020-03-06 207dc8655711cddac2653e18b51e58a88dba2084
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/user/SpreadImgMapper.java
@@ -1,24 +1,25 @@
package com.yeshi.fanli.dao.mybatis.user;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.bus.invite.SpreadImg;
public interface SpreadImgMapper extends BaseMapper<SpreadImg> {
   /**
    * 获取所有推广图
    *
    * @return
    */
   List<SpreadImg> listAll();
   List<SpreadImg> listQuery(@Param("start") long start, @Param("count") int count, @Param("url") String url);
   long countQuery(@Param("url") String url);
package com.yeshi.fanli.dao.mybatis.user;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.bus.invite.SpreadImg;
public interface SpreadImgMapper extends BaseMapper<SpreadImg> {
   /**
    * 获取所有推广图
    *
    * @return
    */
   List<SpreadImg> listAll();
   long countAll();
   List<SpreadImg> listQuery(@Param("start") long start, @Param("count") int count, @Param("url") String url);
   long countQuery(@Param("url") String url);
}