package com.xhkjedu.sapi.mapper.appversion;

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

import java.util.List;

public interface AppTeacherliveMapper extends TkMapper<TAppTeacherlive> {
    /**
     * 获取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.TApppc
     **/
    TAppTeacherlive getNew();

    /**
     * 获取详情
     * @Param [versionid]
     * @Author ywx
     * @Date 2020/6/17 13:46
     * @return com.xhkjedu.model.appversion.TApppc
     **/
    TAppTeacherlive 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);
}
