1.修改分页接口查询参数在xml文件中的引用
2.处理申请未审核,审核人为空导致数据报错问题
This commit is contained in:
杨海航
2024-11-01 16:27:18 +08:00
parent 51cc237b89
commit f98db13300
7 changed files with 32 additions and 18 deletions

View File

@@ -39,25 +39,25 @@
<include refid="getVOSQL"/>
<where>
<if test="query.keywords != null and query.keywords != ''">
AND case_name LIKE CONCAT('%', #{query.keywords}, '%')
AND ce.case_name LIKE CONCAT('%', #{query.keywords}, '%')
</if>
<if test="query.applicant != null and query.applicant != ''">
AND applicant_id = #{query.applicant}
AND eaa.applicant_id = #{query.applicant}
</if>
<if test="query.startDate != null">
AND apply_date &gt;= #{query.startDate}
AND eaa.apply_date &gt;= #{query.startDate}
</if>
<if test="query.endDate != null">
AND apply_date &lt;= #{query.endDate}
AND eaa.apply_date &lt;= #{query.endDate}
</if>
<if test="query.status != null">
AND status &lt;= #{query.status}
AND eaa.status = #{query.status}
</if>
<if test="query.isStaff != null and !query.isStaff and query.clientOrgId != null and query.clientOrgId != ''">
AND apply_org_id = #{query.clientOrgId}
AND eaa.apply_org_id = #{query.clientOrgId}
</if>
</where>
ORDER BY apply_date DESC
ORDER BY eaa.apply_date DESC
</select>
<select id="getEntrustAlterApplyVOOne"