package com.xhkjedu.sapi.mapper.appversion;

import com.xhkjedu.sapi.base.TkMapper;
import com.xhkjedu.sapi.model.appversion.TAppRecord;
import com.xhkjedu.sapi.vo.appversion.AppversionVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *功能描述  微课
 * @author WN
 * @date 2020/9/8
 * @param  * @param null
 * @return
 */
public interface AppRecordMapper extends TkMapper<TAppRecord> {
    /**
     * 获取app版本列表
     * @Param []
     * @Author ywx
     * @Date 2020/6/17 13:43
     * @return java.util.List<com.xhkjedu.vo.appversion.AppversionVo>
     **/
    List<AppversionVo> listAll();

    /**
     * 获取最新app版本
     * @Param []
     * @Author ywx
     * @Date 2020/6/17 13:45
     * @return com.xhkjedu.model.appversion.TAppclient
     **/
    TAppRecord getNew();

    /**
     * 获取详情
     * @Param [versionid]
     * @Author ywx
     * @Date 2020/6/17 13:46
     * @return com.xhkjedu.model.appversion.TAppclient
     **/
    TAppRecord findById(@Param("versionid") Integer versionid);

    /**
     * 获取APP文件
     * @Param [versionid]
     * @Author ywx
     * @Date 2021/10/26 15:58
     * @return java.util.List<java.lang.String>
     **/
    List<String> listApppath(Integer versionid);
}
