更新
This commit is contained in:
@@ -39,19 +39,19 @@
|
|||||||
<include refid="getVOSQL"/>
|
<include refid="getVOSQL"/>
|
||||||
<where>
|
<where>
|
||||||
<if test="query.keywords != null and query.keywords != ''">
|
<if test="query.keywords != null and query.keywords != ''">
|
||||||
AND case_name LIKE CONCAT('%', #{keywords}, '%')
|
AND case_name LIKE CONCAT('%', #{query.keywords}, '%')
|
||||||
</if>
|
</if>
|
||||||
<if test="query.applicant != null and query.applicant != ''">
|
<if test="query.applicant != null and query.applicant != ''">
|
||||||
AND applicant_id = #{applicant}
|
AND applicant_id = #{query.applicant}
|
||||||
</if>
|
</if>
|
||||||
<if test="query.startDate != null">
|
<if test="query.startDate != null">
|
||||||
AND apply_date >= #{startDate}
|
AND apply_date >= #{query.startDate}
|
||||||
</if>
|
</if>
|
||||||
<if test="query.endDate != null">
|
<if test="query.endDate != null">
|
||||||
AND apply_date <= #{endDate}
|
AND apply_date <= #{query.endDate}
|
||||||
</if>
|
</if>
|
||||||
<if test="query.status != null">
|
<if test="query.status != null">
|
||||||
AND status <= #{status}
|
AND status <= #{query.status}
|
||||||
</if>
|
</if>
|
||||||
<if test="query.isStaff != null and !query.isStaff and query.clientOrgId != null and query.clientOrgId != ''">
|
<if test="query.isStaff != null and !query.isStaff and query.clientOrgId != null and query.clientOrgId != ''">
|
||||||
AND apply_org_id = #{query.clientOrgId}
|
AND apply_org_id = #{query.clientOrgId}
|
||||||
|
|||||||
Reference in New Issue
Block a user