|
...
|
...
|
@@ -24,6 +24,68 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
<result property="updateBy" column="update_by"/>
|
|
|
|
<result property="updateTime" column="update_time"/>
|
|
|
|
</resultMap>
|
|
|
|
|
|
|
|
|
|
|
|
<resultMap type="com.ruoyi.compliancemanagement.model.TblComplianceReviewModel" id="TblComplianceReviewModelResult">
|
|
|
|
<result property="id" column="id"/>
|
|
|
|
<result property="contractno" column="contractno"/>
|
|
|
|
<result property="contractName" column="contract_name"/>
|
|
|
|
<result property="contractType" column="contract_type"/>
|
|
|
|
<result property="effectiveDate" column="effective_date"/>
|
|
|
|
<result property="expirationDate" column="expiration_date"/>
|
|
|
|
<result property="partyA" column="party_a"/>
|
|
|
|
<result property="partyAAddress" column="party_a_address"/>
|
|
|
|
<result property="partyB" column="party_b"/>
|
|
|
|
<result property="partyBAddress" column="party_b_address"/>
|
|
|
|
<result property="signingDate" column="signing_date"/>
|
|
|
|
<result property="subjectInformation" column="subject_information"/>
|
|
|
|
<result property="attachments" column="attachments"/>
|
|
|
|
<result property="status" column="status"/>
|
|
|
|
<result property="createBy" column="create_by"/>
|
|
|
|
<result property="createTime" column="create_time"/>
|
|
|
|
<result property="updateBy" column="update_by"/>
|
|
|
|
<result property="updateTime" column="update_time"/>
|
|
|
|
<result property="procInsId" column="proc_ins_id"/>
|
|
|
|
<result property="procDefId" column="proc_def_id"/>
|
|
|
|
<result property="deployId" column="deploy_id"/>
|
|
|
|
</resultMap>
|
|
|
|
<select id="selectList" resultMap="TblComplianceReviewModelResult">
|
|
|
|
SELECT
|
|
|
|
a.id,
|
|
|
|
a.contractno,
|
|
|
|
a.contract_name,
|
|
|
|
a.contract_type,
|
|
|
|
a.effective_date,
|
|
|
|
a.expiration_date,
|
|
|
|
a.party_a,
|
|
|
|
a.party_a_address,
|
|
|
|
a.party_b,
|
|
|
|
a.party_b_address,
|
|
|
|
a.signing_date,
|
|
|
|
a.subject_information,
|
|
|
|
a.attachments,
|
|
|
|
a.STATUS,
|
|
|
|
a.create_by,
|
|
|
|
a.create_time,
|
|
|
|
a.update_by,
|
|
|
|
a.update_time,
|
|
|
|
b.proc_ins_id,
|
|
|
|
b.proc_def_id,
|
|
|
|
b.deploy_id
|
|
|
|
FROM
|
|
|
|
tbl_compliance_review a
|
|
|
|
LEFT JOIN tbl_business_workflow b ON a.id = b.business_id
|
|
|
|
where 1=1
|
|
|
|
<if test="qc.contractno!=null and qc.contractno !=''">
|
|
|
|
and a.contractno like concat('%',#{qc.contractno},'%')
|
|
|
|
</if>
|
|
|
|
<if test="qc.contractName!=null and qc.contractName !=''">
|
|
|
|
and a.contract_name like concat('%',#{qc.contractName},'%')
|
|
|
|
</if>
|
|
|
|
<if test="qc.partyA!=null and qc.partyA !=''">
|
|
|
|
and a.party_a like concat('%',#{qc.partyA},'%')
|
|
|
|
</if>
|
|
|
|
<if test="qc.partyB!=null and qc.partyB !=''">
|
|
|
|
and a.party_b like concat('%',#{qc.partyB},'%')
|
|
|
|
</if>
|
|
|
|
order by a.create_time desc
|
|
|
|
</select>
|
|
|
|
</mapper> |
...
|
...
|
|