<?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="jnpf.dmsMapper.DmsWenjianXiazaiShenqingDetailMapper">
|
<resultMap id="BaseResultMap" type="jnpf.dmsEntity.download.entity.DmsWenjianXiazaiShenqingDetailEntity">
|
<id column="f_id" property="id"/>
|
<result column="f_foreign_id" property="requestId"/>
|
<result column="f_tenant_id" property="tenantId"/>
|
<result column="f_delete_mark" property="deleteMark"/>
|
<result column="wenjian_id" property="fileReferenceId"/>
|
<result column="wenjian_bianhao" property="fileNumber"/>
|
<result column="wenjian_mingcheng" property="fileName"/>
|
<result column="banbenhao" property="versionLabel"/>
|
<result column="xiazai_shixian" property="xiazaiShixian"/>
|
</resultMap>
|
|
<select id="selectByRequestForUpdate" resultMap="BaseResultMap">
|
SELECT f_id, f_foreign_id, f_tenant_id, f_delete_mark, wenjian_id,
|
wenjian_bianhao, wenjian_mingcheng, banbenhao, xiazai_shixian
|
FROM dms_wenjian_xiazai_shenqing_zixiang
|
WHERE f_tenant_id = #{tenantId}
|
AND f_foreign_id = #{requestId}
|
AND f_delete_mark IS NULL
|
ORDER BY f_id
|
FOR UPDATE
|
</select>
|
</mapper>
|