feat:CISD配置初始化
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?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.cisd.tms.modules.file.mapper.FileRecordMapper">
|
||||
|
||||
<resultMap id="FileRecordResultMap" type="com.cisd.tms.modules.file.entity.FileRecordEntity">
|
||||
<id property="id" column="id"/>
|
||||
<result property="fileId" column="file_id"/>
|
||||
<result property="originalFilename" column="original_filename"/>
|
||||
<result property="storagePath" column="storage_path"/>
|
||||
<result property="status" column="status"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
<result property="updateTime" column="update_time"/>
|
||||
</resultMap>
|
||||
|
||||
<select id="selectByFileId" parameterType="string" resultMap="FileRecordResultMap">
|
||||
SELECT id, file_id, original_filename, storage_path, status, create_time, update_time
|
||||
FROM tms_file_record
|
||||
WHERE file_id = #{fileId}
|
||||
LIMIT 1
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user