|
|
@ -12,7 +12,7 @@
|
|
|
|
<result property="docTransferStatus" column="doc_transfer_status" />
|
|
|
|
<result property="docTransferStatus" column="doc_transfer_status" />
|
|
|
|
<result property="documentId" column="document_id" />
|
|
|
|
<result property="documentId" column="document_id" />
|
|
|
|
<result property="documentName" column="document_name" />
|
|
|
|
<result property="documentName" column="document_name" />
|
|
|
|
|
|
|
|
<result property="transferDept" column="transfer_dept" />
|
|
|
|
<result property="createBy" column="create_by" />
|
|
|
|
<result property="createBy" column="create_by" />
|
|
|
|
<result property="createTime" column="create_time" />
|
|
|
|
<result property="createTime" column="create_time" />
|
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
|
<result property="updateBy" column="update_by" />
|
|
|
@ -24,7 +24,9 @@
|
|
|
|
</resultMap>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<sql id="selectEhsDocTransferVo">
|
|
|
|
<sql id="selectEhsDocTransferVo">
|
|
|
|
select id, transfer_user_id, transfer_name, transfer_time, doc_transfer_status, document_id, document_name, create_by, create_time, update_by, update_time, remark, dept_id, create_user_id, update_user_id from ehs_doc_transfer
|
|
|
|
select id, transfer_user_id, transfer_name, transfer_time, doc_transfer_status,
|
|
|
|
|
|
|
|
document_id, document_name, create_by, create_time, update_by, update_time,
|
|
|
|
|
|
|
|
remark, dept_id, create_user_id, update_user_id,transfer_dept from ehs_doc_transfer
|
|
|
|
</sql>
|
|
|
|
</sql>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -38,6 +40,7 @@
|
|
|
|
<if test="documentId != null "> and document_id = #{documentId}</if>
|
|
|
|
<if test="documentId != null "> and document_id = #{documentId}</if>
|
|
|
|
<if test="documentName != null and documentName != ''"> and document_name = #{documentName}</if>
|
|
|
|
<if test="documentName != null and documentName != ''"> and document_name = #{documentName}</if>
|
|
|
|
</where>
|
|
|
|
</where>
|
|
|
|
|
|
|
|
order by transfer_time desc
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectEhsDocTransferById" parameterType="Long" resultMap="EhsDocTransferResult">
|
|
|
|
<select id="selectEhsDocTransferById" parameterType="Long" resultMap="EhsDocTransferResult">
|
|
|
|