package com.cftech.base.org.service;

import com.cftech.base.org.model.Orgtype;
import com.cftech.core.generic.GenericService;

/**
 * orgtypeService
 * Created by Neil 12/02/2017.
 */
public interface OrgtypeService extends GenericService<Orgtype> {

    /**
     * 根据微信账号和职位的编码查找组织分类
     *
     * @param accountId 微信账号
     * @param number    组织分类编码
     * @return Position
     */
    Orgtype findByAccountIdAndNumber(Long accountId, String number);
}
