File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.takensoft.ai_lms.lms.file.dao.FileDAO">
<!--
작 성 자 : 박민혁
작 성 일 : 2024.07.25
내 용 : 경로 생성을 위해 만들어 놓은 xml,
CRUD를 이용하는데 삭제하거나 수정해서 사용해주세요
-->
<resultMap id="FileMap" type="FileVO">
<result property="fileId" column="file_id"/>
<result property="fileMngId" column="file_mng_id"/>
<result property="fileNm" column="file_nm"/>
<result property="fileEncptNm" column="file_encpt_nm"/>
<result property="fileApath" column="file_apath"/>
<result property="fileRpath" column="file_rpath"/>
<result property="fileExtn" column="file_extn"/>
<result property="fileSz" column="file_sz"/>
<result property="fileClsf" column="file_clsf"/>
<result property="reg" column="reg"/>
<result property="regDt" column="reg_dt"/>
</resultMap>
<!--
작성자 : 홍아랑
작성일 : 2024.07.26
내 용 : 파일 정보 조회
-->
<select id="findByFileId" parameterType="FileVO" resultMap="FileMap">
SELECT
file_id,
file_mng_id,
file_nm,
file_encpt_nm,
file_apath,
file_rpath,
file_extn,
file_sz,
file_clsf,
reg,
reg_dt
FROM cmmn_file
WHERE file_mng_id = #{file_mng_id}
</select>
</mapper>