30 lines
654 B
Plaintext
30 lines
654 B
Plaintext
package com.securityControl.task.mapper;
|
|
|
|
import com.securityControl.task.domain.vo.WeatherVo;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
/**
|
|
* 天气接口数据库访问层
|
|
*/
|
|
@Repository(value = "WeatherMapper")
|
|
public interface WeatherMapper {
|
|
|
|
/**
|
|
* @return void
|
|
* @author cw chen
|
|
* @description 删除前一天的天气数据
|
|
* @Param
|
|
* @date 2023-01-05 15:17
|
|
*/
|
|
void delLastDayData();
|
|
|
|
/**
|
|
* @return void
|
|
* @author cw chen
|
|
* @description 添加或修改天气数据
|
|
* @Param weatherVo
|
|
* @date 2023-01-05 15:17
|
|
*/
|
|
void addOrUpdateWeather(WeatherVo weatherVo);
|
|
}
|