package com.xhkjedu.sapi.mapper.appversion;

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

import java.util.List;

public interface AppTeacherclientMapper extends TkMapper<TAppTeacherclient> {
    /**
     * 获取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
     **/
    TAppTeacherclient getNew();

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