whycxzp
2021-04-16 e73e6f2c1c9d3169fd1ae4041f1760c84ec03152
1
2
3
4
5
6
7
8
9
10
11
12
package com.whyc.mapper;
 
import com.whyc.pojo.Video;
import org.apache.ibatis.annotations.Select;
 
import java.util.List;
 
public interface VideoMapper extends CustomMapper<Video> {
 
    @Select("select distinct v.*,b.stationName from db_battinf.tb_battinf b,db_battinf.tb_video v where b.stationId=v.station_id")
    List<Video> getList();
}