package com.xhkjedu.sapi.mapper.appversion;

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

import java.util.List;

public interface AppTeacherappMapper extends TkMapper<TAppTeacherapp> {
    /**
     * 获取app版本列表
     * @Param []
     * @Author ywx
     * @Date 2020/6/17 13:43
     * @return java.util.List<com.xhkjedu.vo.appversion.AppteacherVo>
     **/
    List<AppteacherVo> listAll();

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

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