package com.nokia.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nokia.pojo.City;
import com.nokia.vo.flow.FlowOrgVo;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/*
 * 已弃用代码
 */
@Deprecated
@Mapper
public interface CityDao extends BaseMapper<City> {
    @Select("select * from sqmdb_rpt.acl_city where city_id = #{cityId}")
    City findByCityId(Integer cityId);

    @Select("select city_id as org_id, city_name_zh as org_name from sqmdb_rpt.acl_city where city_id = #{cityId}")
    FlowOrgVo findOrgByCityId(Integer cityId);
}
