package com.sooka.mybatis.mapper;

import com.sooka.mybatis.model.TSysAttachment;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

public interface TSysAttachmentMapper extends Mapper<TSysAttachment> {
    @Select("select a.original_file_name AS fileName from t_sys_attachment a where file_key = #{file}")
    TSysAttachment selectFileName(String file);
}