zjk
9 小时以前 a4afcfdb179e62a498b62cc6860d8cd46701a08f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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);
}