yujian
2020-04-26 4a901a88c00c4c48d5b6f4fef55de2a2fd82749a
fanli/src/main/java/com/yeshi/fanli/dao/mybatis/activity/ActivityUserMapper.java
@@ -1,28 +1,28 @@
package com.yeshi.fanli.dao.mybatis.activity;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.bus.activity.ActivityUser;
public interface ActivityUserMapper extends BaseMapper<ActivityUser>{
   List<ActivityUser> selectList();
   /**
    * 随机抽取
    * @param count
    * @return
    */
   List<ActivityUser> listRand(@Param("count") int count);
   /**
    * 根据名称检索
    * @param name
    * @return
    */
   ActivityUser selectByName(String name);
package com.yeshi.fanli.dao.mybatis.activity;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.yeshi.fanli.dao.BaseMapper;
import com.yeshi.fanli.entity.bus.activity.ActivityUser;
public interface ActivityUserMapper extends BaseMapper<ActivityUser>{
   List<ActivityUser> selectList();
   /**
    * 随机抽取
    * @param count
    * @return
    */
   List<ActivityUser> listRand(@Param("count") int count);
   /**
    * 根据名称检索
    * @param name
    * @return
    */
   ActivityUser selectByName(String name);
}