| | |
| | | |
| | | import java.util.List; |
| | | |
| | | import com.ks.lijin.query.BaseDaoQuery; |
| | | import com.yeshi.fanli.entity.SystemEnum; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import com.yeshi.fanli.entity.common.JumpDetailV2; |
| | | |
| | | public interface JumpDetailV2Mapper { |
| | | |
| | | int deleteByPrimaryKey(Long id); |
| | | int deleteByPrimaryKey(Long id); |
| | | |
| | | int insert(JumpDetailV2 record); |
| | | int insert(JumpDetailV2 record); |
| | | |
| | | int insertSelective(JumpDetailV2 record); |
| | | int insertSelective(JumpDetailV2 record); |
| | | |
| | | JumpDetailV2 selectByPrimaryKey(Long id); |
| | | JumpDetailV2 selectByPrimaryKey(Long id); |
| | | |
| | | int updateByPrimaryKeySelective(JumpDetailV2 record); |
| | | int updateByPrimaryKeySelective(JumpDetailV2 record); |
| | | |
| | | int updateByPrimaryKey(JumpDetailV2 record); |
| | | int updateByPrimaryKey(JumpDetailV2 record); |
| | | |
| | | /** |
| | | * 根据类型取值 |
| | | * |
| | | * @param type |
| | | * @return |
| | | */ |
| | | List<JumpDetailV2> listByType(String type); |
| | | /** |
| | | * 根据类型取值 |
| | | * |
| | | * @param type |
| | | * @return |
| | | */ |
| | | List<JumpDetailV2> listByType(String type); |
| | | |
| | | /** |
| | | * 所有方式 |
| | | * |
| | | * @return |
| | | */ |
| | | List<JumpDetailV2> listJump(); |
| | | /** |
| | | * 所有方式 |
| | | * |
| | | * @return |
| | | */ |
| | | List<JumpDetailV2> listJump(); |
| | | |
| | | /** |
| | | * 根据主键批量删除 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | int deleteBatchByPrimaryKey(List<Long> list); |
| | | /** |
| | | * 根据主键批量删除 |
| | | * |
| | | * @param list |
| | | * @return |
| | | */ |
| | | int deleteBatchByPrimaryKey(List<Long> list); |
| | | |
| | | /** |
| | | * 后端列表查询 |
| | | * |
| | | * @param start |
| | | * @param count |
| | | * @param key |
| | | * @return |
| | | */ |
| | | List<JumpDetailV2> listQuery(@Param("start") long start, @Param("count") int count, @Param("key") String key); |
| | | |
| | | long countListQuery(@Param("key") String key); |
| | | List<JumpDetailV2> list(@Param("query") DaoQuery daoQuery); |
| | | |
| | | /** |
| | | * 根据Android版本获取最近的跳转值 |
| | | * @param type |
| | | * @param version |
| | | * @return |
| | | */ |
| | | JumpDetailV2 selectAndroidByTypeAndVersion(String type, int version); |
| | | |
| | | /** |
| | | * 根据IOS版本获取最近的跳转值 |
| | | * @param type |
| | | * @param version |
| | | * @return |
| | | */ |
| | | JumpDetailV2 selectIOSByTypeAndVersion(String type, int version); |
| | | long count(@Param("query") DaoQuery daoQuery); |
| | | |
| | | |
| | | public class DaoQuery extends BaseDaoQuery { |
| | | public String type; |
| | | public Integer maxAndroidVersion; |
| | | public Integer maxIOSVersion; |
| | | public SystemEnum system; |
| | | } |
| | | |
| | | } |