package com.ruoyi.project.tool.cityCode.service;
|
|
import com.ruoyi.project.tool.cityCode.domain.CityCode;
|
|
import java.util.List;
|
|
/**
|
* 天气接口 城市记录Service接口
|
*
|
* @author wm
|
* @date 2020-07-09
|
*/
|
public interface ICityCodeService
|
{
|
/**
|
* 查询天气接口 城市记录
|
*
|
* @param id 天气接口 城市记录ID
|
* @return 天气接口 城市记录
|
*/
|
CityCode selectCityCodeById(Integer id);
|
|
/**
|
* 查询天气接口 城市记录列表
|
*
|
* @param cityCode 天气接口 城市记录
|
* @return 天气接口 城市记录集合
|
*/
|
List<CityCode> selectCityCodeList(CityCode cityCode);
|
|
/**
|
* 新增天气接口 城市记录
|
*
|
* @param cityCode 天气接口 城市记录
|
* @return 结果
|
*/
|
int insertCityCode(CityCode cityCode);
|
|
/**
|
* 修改天气接口 城市记录
|
*
|
* @param cityCode 天气接口 城市记录
|
* @return 结果
|
*/
|
int updateCityCode(CityCode cityCode);
|
|
/**
|
* 批量删除天气接口 城市记录
|
*
|
* @param ids 需要删除的数据ID
|
* @return 结果
|
*/
|
int deleteCityCodeByIds(String ids);
|
|
/**
|
* 删除天气接口 城市记录信息
|
*
|
* @param id 天气接口 城市记录ID
|
* @return 结果
|
*/
|
int deleteCityCodeById(Integer id);
|
}
|