package cn.gtmap.estateplat.config.core.mapper.config;

import cn.gtmap.estateplat.model.server.core.GdDy;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.List;

/**
 * @version 1.0, 2017/6/29.
 * @auto <a href="mailto:zhouwanqing@gtmap.cn">zhouwanqing</a>
 * @description
 */
@Component
public interface GdDyMapper {
    /**
     * @param
     * @return
     * @auto <a href="mailto:zhouwanqing@gtmap.cn">zhouwanqing</a>
     * @description gd_dy和gd_bdc_ql_rel关联，通过相应参数获取gd_dy数据
     * @Table gd_dy gd_bdc_ql_rel
     **/
    List<GdDy> getGdDyListByGdBdcQlRel(HashMap hashMap);

    /**
     * @author <a href="mailto:liujie@gtmap.cn">liujie</a>
     * @param gdDy
     * @return
     * @description 同步GdDy冗余字段信息
     */
    void updateGdDyRedundantField(GdDy gdDy);
}
