1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| package com.yssh.mapper;
|
| import com.yssh.entity.Weather;
| import org.apache.ibatis.annotations.Mapper;
| import org.apache.ibatis.annotations.Param;
|
| import java.util.List;
|
| @Mapper
| public interface WeatherMapper {
| List<Weather> query(@Param("begin") String begin, @Param("end") String end);
| List<Weather> getAll();
| int insert(Weather weather);
| int delete(String id);
| }
|
|