package com.ruoyi.user.service;
|
|
import java.util.List;
|
import com.ruoyi.user.domain.AccountCity;
|
|
/**
|
* 城市主数据 业务层
|
*
|
* @author ruoyi
|
*/
|
public interface IAccountCityService
|
{
|
/**
|
* 查询城市列表(后台城市管理页,含禁用城市)
|
*/
|
public List<AccountCity> selectCityList(AccountCity city);
|
|
/**
|
* 查询启用中的城市(下拉数据源)
|
*/
|
public List<AccountCity> selectEnabledCityList();
|
|
/**
|
* 新增城市(校验同名未删除城市已存在)
|
*/
|
public int insertCity(AccountCity city);
|
|
/**
|
* 修改城市(校验同名未删除城市已存在)
|
*/
|
public int updateCity(AccountCity city);
|
|
/**
|
* 修改城市状态(仅正常/禁用两态)
|
*/
|
public int changeStatus(AccountCity city);
|
|
/**
|
* 批量删除城市(逻辑删除;被公司档案引用的城市不允许删除)
|
*/
|
public int deleteCityByIds(Long[] ids);
|
}
|