| | |
| | |
|
| | | import java.util.List;
|
| | |
|
| | | import com.yeshi.fanli.entity.SystemEnum;
|
| | | import org.apache.ibatis.annotations.Param;
|
| | |
|
| | | import com.yeshi.fanli.entity.AppVersionInfo;
|
| | |
| | | * @param platform
|
| | | * @return
|
| | | */
|
| | | List<AppVersionInfo> selectByPlatform(String platform);
|
| | | List<AppVersionInfo> selectByPlatform(@Param("platform")String platform, @Param("system") SystemEnum system);
|
| | |
|
| | |
|
| | | /**
|
| | | * 根据平台和版本获取版本信息
|
| | | * |
| | | * @param platform
|
| | | * @param versionCode
|
| | | * @param version
|
| | | * @param system
|
| | | * @return
|
| | | */
|
| | | AppVersionInfo selectByPlatformAndVersion(@Param("platform") String platform, @Param("version") String version);
|
| | | AppVersionInfo selectByPlatformAndVersion(@Param("platform") String platform, @Param("version") String version, @Param("system") SystemEnum system);
|
| | |
|
| | | /**
|
| | | * 根据平台和版本号获取版本信息
|
| | |
| | | * @return
|
| | | */
|
| | | AppVersionInfo selectByPlatformAndVersionCode(@Param("platform") String platform,
|
| | | @Param("versionCode") int versionCode);
|
| | | @Param("versionCode") int versionCode, @Param("system") SystemEnum system);
|
| | |
|
| | | int updateByPrimaryKeySelective(AppVersionInfo record);
|
| | |
|
| | |
| | | * @return
|
| | | */
|
| | | List<AppVersionInfo> listByPlatformAndMinVersionCode(@Param("platform") String platform,
|
| | | @Param("minVersionCode") int minVersionCode);
|
| | | @Param("minVersionCode") int minVersionCode, @Param("system") SystemEnum system);
|
| | |
|
| | | /**
|
| | | * 根据平台和最大版本号获取版本列表
|
| | | * |
| | | * @param platform
|
| | | * @param minVersionCode
|
| | | * @param maxVersionCode
|
| | | * @param system
|
| | | * @return
|
| | | */
|
| | | List<AppVersionInfo> listByPlatformAndMaxVersionCode(@Param("platform") String platform,
|
| | | @Param("maxVersionCode") int maxVersionCode);
|
| | | @Param("maxVersionCode") int maxVersionCode, @Param("system") SystemEnum system);
|
| | |
|
| | | /**
|
| | | * 根据版本检索
|
| | |
| | | * @param version
|
| | | * @return
|
| | | */
|
| | | List<AppVersionInfo> listByVersion(@Param("version") String version);
|
| | | List<AppVersionInfo> listByVersion(@Param("version") String version, @Param("system") SystemEnum system);
|
| | | } |