package com.kmall.admin.dao;

import com.kmall.admin.entity.SysCusUnitCodeEntity;
import com.kmall.common.dao.BaseDao;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 计量单位代码Dao
 *
 * @author emato
 * @email admin@qhdswl.com
 * @date 2018-11-10 15:34:36
 */
public interface SysCusUnitCodeDao extends BaseDao<SysCusUnitCodeEntity> {

    SysCusUnitCodeEntity queryObjectByName(@Param("unitName")String unitName);

    SysCusUnitCodeEntity queryObjectByCode(@Param("code")String code);
}
