|
|
@@ -52,12 +52,18 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="adminRemark" column="admin_remark"/>
|
|
|
<result property="applicantRemark" column="applicant_remark"/>
|
|
|
<result property="emergencyContact" column="emergency_contact"/>
|
|
|
+ <result property="attachmentIds" column="attachment_ids"/>
|
|
|
<result property="signature" column="signature"/>
|
|
|
<result property="stampedRegistrationFilePath" column="stamped_registration_file_path"/>
|
|
|
<result property="stampedRegistrationFileName" column="stamped_registration_file_name"/>
|
|
|
<result property="stampedFileOssId" column="stamped_file_oss_id"/>
|
|
|
<result property="stampedFileUploadTime" column="stamped_file_upload_time"/>
|
|
|
<result property="stampedFileUploadStatus" column="stamped_file_upload_status"/>
|
|
|
+ <result property="partyRetentionFilePath" column="party_retention_file_path"/>
|
|
|
+ <result property="partyRetentionFileName" column="party_retention_file_name"/>
|
|
|
+ <result property="partyRetentionUploadTime" column="party_retention_upload_time"/>
|
|
|
+ <result property="partyRetentionUploadStatus" column="party_retention_upload_status"/>
|
|
|
+ <result property="partyRetentionFileOssId" column="party_retention_file_oss_id"/>
|
|
|
<result property="tenantId" column="tenant_id"/>
|
|
|
<result property="createBy" column="create_by"/>
|
|
|
<result property="createTime" column="create_time"/>
|
|
|
@@ -89,9 +95,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
oa.start_date, oa.end_date, oa.duration, oa.invitation, oa.itinerary,
|
|
|
oa.accommodation_plan, oa.transportation_plan, oa.status, oa.approval_status, oa.current_approver, oa.approval_level,
|
|
|
oa.apply_time, oa.approval_time, oa.admin_remark, oa.applicant_remark,
|
|
|
- oa.emergency_contact, oa.signature,
|
|
|
+ oa.emergency_contact, oa.attachment_ids, oa.signature,
|
|
|
oa.stamped_registration_file_path, oa.stamped_registration_file_name,
|
|
|
oa.stamped_file_upload_time, oa.stamped_file_upload_status, oa.stamped_file_oss_id,
|
|
|
+ oa.party_retention_file_path, oa.party_retention_file_name,
|
|
|
+ oa.party_retention_upload_time, oa.party_retention_upload_status, oa.party_retention_file_oss_id,
|
|
|
oa.tenant_id, oa.create_by, oa.create_time, oa.update_by, oa.update_time, oa.deleted,
|
|
|
CASE
|
|
|
WHEN oa.status IS NULL OR oa.status = '' THEN '草稿'
|
|
|
@@ -199,6 +207,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="purpose != null and purpose != ''">
|
|
|
AND oa.purpose = #{purpose}
|
|
|
</if>
|
|
|
+ <if test="exitReason != null and exitReason != ''">
|
|
|
+ AND oa.exit_reason = #{exitReason}
|
|
|
+ </if>
|
|
|
<if test="destination != null and destination != ''">
|
|
|
AND oa.destination like concat('%', #{destination}, '%')
|
|
|
</if>
|
|
|
@@ -257,6 +268,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="purpose != null and purpose != ''">
|
|
|
AND oa.purpose = #{purpose}
|
|
|
</if>
|
|
|
+ <if test="exitReason != null and exitReason != ''">
|
|
|
+ AND oa.exit_reason = #{exitReason}
|
|
|
+ </if>
|
|
|
<if test="destination != null and destination != ''">
|
|
|
AND oa.destination like concat('%', #{destination}, '%')
|
|
|
</if>
|