| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.dao.BaseMapper; |
| | |
| | | * |
| | | * @return |
| | | */ |
| | | List<Config> listAll(); |
| | | List<Config> listAll(@Param("system") SystemEnum system); |
| | | |
| | | /** |
| | | * 通过名字搜索 |
| | |
| | | * @param key |
| | | * @return |
| | | */ |
| | | List<Config> listSearchByName(@Param("key") String key, @Param("start") int start, @Param("count") int count); |
| | | List<Config> listSearchByName(@Param("key") String key, @Param("start") int start, @Param("count") int count,@Param("system") SystemEnum system); |
| | | |
| | | /** |
| | | * 获取通过名字搜索得到的数量 |
| | |
| | | * @param key |
| | | * @return |
| | | */ |
| | | long countSearchByName(@Param("key") String key); |
| | | long countSearchByName(@Param("key") String key,@Param("system") SystemEnum system); |
| | | |
| | | /** |
| | | * 根据关键词获取 |
| | | * |
| | | * 根据关键词提取 |
| | | * @param key |
| | | * @param minAndroidVersion |
| | | * @param minIosVersion |
| | | * @param system |
| | | * @return |
| | | */ |
| | | List<Config> listByKey(String key); |
| | | List<Config> listByKey(@Param("key") String key, @Param("minAndroidVersion") Integer minAndroidVersion, |
| | | @Param("minIosVersion") Integer minIosVersion,@Param("system") SystemEnum system); |
| | | |
| | | } |