|
|
@@ -37,6 +37,9 @@
|
|
|
<result property="updateBy" column="update_by" jdbcType="VARCHAR"/>
|
|
|
<result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/>
|
|
|
<result property="isDelete" column="is_delete" jdbcType="TINYINT"/>
|
|
|
+ <result property="jqEntranceFeeRatio" column="jq_entrance_fee_ratio" jdbcType="VARCHAR"/>
|
|
|
+ <result property="syEntranceFeeRatio" column="sy_entrance_fee_ratio" jdbcType="VARCHAR"/>
|
|
|
+ <result property="jyEntranceFeeRatio" column="jy_entrance_fee_ratio" jdbcType="VARCHAR"/>
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="Base_Column_List">
|
|
|
@@ -54,7 +57,7 @@
|
|
|
pa.update_time,pa.is_delete,paa.username,paa.user_abbr as userAbbr,
|
|
|
suji.name as managerName,sd.name as managerDeptName,suf.file_name as fileName,suf.file_size as fileSize,
|
|
|
eic.name_simple as company,sdd.name as deptName,
|
|
|
- pa.api_type
|
|
|
+ pa.api_type,pa.jq_entrance_fee_ratio,pa.sy_entrance_fee_ratio,pa.jy_entrance_fee_ratio
|
|
|
</sql>
|
|
|
<select id="queryPage" resultType="com.jzg.commons.entity.vo.AgreementVo">
|
|
|
select <include refid="Base_Column_List"/>
|
|
|
@@ -171,7 +174,7 @@
|
|
|
LEFT JOIN sys_dept sdd on pa.dept_id = sdd.id
|
|
|
LEFT JOIN sys_user_jzg_info suji on pa.custodian_id = suji.user_id
|
|
|
LEFT JOIN sys_dept sd on suji.dept_id = sd.id
|
|
|
- LEFT JOIN sys_upload_files suf on pa.file_id = suf.id
|
|
|
+ LEFT JOIN sys_upload_files suf on suf.id = pa.file_id
|
|
|
LEFT JOIN esm_ins_company eic on pa.company_id = eic.id
|
|
|
<where>
|
|
|
<if test="id != null and id != ''">
|