|
|
|
@ -413,11 +413,12 @@ |
|
|
|
<if test="code != null and code != ''"> |
|
|
|
and aircode like CONCAT('%', #{code}, '%') |
|
|
|
</if> |
|
|
|
|
|
|
|
<if test="startDate != null and startDate != ''"> |
|
|
|
and applicant_time >= #{startDate} |
|
|
|
and applicant_time <![CDATA[ >= ]]> #{startDate} |
|
|
|
</if> |
|
|
|
<if test="endDate != null and endDate != ''"> |
|
|
|
and applicant_time <= #{endDate} |
|
|
|
and applicant_time <![CDATA[ <= ]]> #{endDate} |
|
|
|
</if> |
|
|
|
and airtoGroupId is null |
|
|
|
|
|
|
|
@ -466,10 +467,10 @@ |
|
|
|
and aircode like CONCAT('%', #{code}, '%') |
|
|
|
</if> |
|
|
|
<if test="startDate != null and startDate != ''"> |
|
|
|
and applicant_time >= #{startDate} |
|
|
|
and applicant_time <![CDATA[ >= ]]> #{startDate} |
|
|
|
</if> |
|
|
|
<if test="endDate != null and endDate != ''"> |
|
|
|
and applicant_time <= #{endDate} |
|
|
|
and applicant_time <![CDATA[ <= ]]> #{endDate} |
|
|
|
</if> |
|
|
|
and airtoGroupId is null |
|
|
|
</select> |
|
|
|
@ -502,6 +503,12 @@ |
|
|
|
<if test="applicantTime != null and applicantTime != ''"> |
|
|
|
and applicant_time >= #{applicantTime} |
|
|
|
</if> |
|
|
|
<if test="startDate != null and startDate != ''"> |
|
|
|
and applicant_time <![CDATA[ >= ]]> #{startDate} |
|
|
|
</if> |
|
|
|
<if test="endDate != null and endDate != ''"> |
|
|
|
and applicant_time <![CDATA[ <= ]]> #{endDate} |
|
|
|
</if> |
|
|
|
<if test="version != null and version != ''"> |
|
|
|
and mversion = #{version} |
|
|
|
</if> |
|
|
|
@ -554,14 +561,20 @@ |
|
|
|
<if test="applicantTime != null and applicantTime != ''"> |
|
|
|
and applicantTime >= #{applicantTime} |
|
|
|
</if> |
|
|
|
<if test="startDate != null and startDate != ''"> |
|
|
|
and applicantTime <![CDATA[ >= ]]> #{startDate} |
|
|
|
</if> |
|
|
|
<if test="endDate != null and endDate != ''"> |
|
|
|
and applicantTime <![CDATA[ <= ]]> #{endDate} |
|
|
|
</if> |
|
|
|
<if test="state != null and state != ''"> |
|
|
|
AND aorstate LIKE CONCAT('%', #{state}, '%') |
|
|
|
</if> |
|
|
|
<if test="applyRemark != null and applyRemark != null"> |
|
|
|
and applyRemark like CONCAT('%', #{applyRemark}, '%') |
|
|
|
</if> |
|
|
|
<if test="aorcode != null and aorcode != null"> |
|
|
|
and aorcode = #{aorcode} |
|
|
|
<if test="code != null and code != null"> |
|
|
|
and aorcode = #{code} |
|
|
|
</if> |
|
|
|
<if test="departmenthead != null and departmenthead != null"> |
|
|
|
and departmenthead = #{departmenthead} |
|
|
|
@ -596,8 +609,8 @@ |
|
|
|
<if test="version != null and version != ''"> |
|
|
|
and mversion = #{version} |
|
|
|
</if> |
|
|
|
<if test="code != null and code != ''"> |
|
|
|
and mcode = #{code} |
|
|
|
<if test="mcode != null and mcode != ''"> |
|
|
|
and mcode = #{mcode} |
|
|
|
</if> |
|
|
|
<if test="placeId != null"> |
|
|
|
and placeId = #{placeId} |
|
|
|
@ -659,10 +672,10 @@ |
|
|
|
and aorcode = #{code} |
|
|
|
</if> |
|
|
|
<if test="startDate != null and startDate != ''"> |
|
|
|
and applicantTime >= #{startDate} |
|
|
|
and applicantTime <![CDATA[ >= ]]> #{startDate} |
|
|
|
</if> |
|
|
|
<if test="endDate != null and endDate != ''"> |
|
|
|
and applicantTime <= #{endDate} |
|
|
|
and applicantTime <![CDATA[ <= ]]> #{endDate} |
|
|
|
</if> |
|
|
|
<if test="adminorgid != null and adminorgid != ''"> |
|
|
|
and adminorgid = #{adminorgid} |
|
|
|
@ -711,10 +724,10 @@ |
|
|
|
and aorcode = #{code} |
|
|
|
</if> |
|
|
|
<if test="startDate != null and startDate != ''"> |
|
|
|
and applicantTime >= #{startDate} |
|
|
|
and applicantTime <![CDATA[ >= ]]> #{startDate} |
|
|
|
</if> |
|
|
|
<if test="endDate != null and endDate != ''"> |
|
|
|
and applicantTime <= #{endDate} |
|
|
|
and applicantTime <![CDATA[ <= ]]> #{endDate} |
|
|
|
</if> |
|
|
|
<if test="adminorgid != null and adminorgid != ''"> |
|
|
|
and adminorgid = #{adminorgid} |
|
|
|
@ -874,6 +887,12 @@ |
|
|
|
<if test="applicantTime != null and applicantTime != ''"> |
|
|
|
and applicant_time >= #{applicantTime} |
|
|
|
</if> |
|
|
|
<if test="startDate != null and startDate != ''"> |
|
|
|
and applicant_time <![CDATA[ >= ]]> #{startDate} |
|
|
|
</if> |
|
|
|
<if test="endDate != null and endDate != ''"> |
|
|
|
and applicant_time <![CDATA[ <= ]]> #{endDate} |
|
|
|
</if> |
|
|
|
and airtoGroupId is null |
|
|
|
</select> |
|
|
|
|
|
|
|
@ -909,13 +928,19 @@ |
|
|
|
<if test="applicantTime != null and applicantTime != ''"> |
|
|
|
and applicantTime >= #{applicantTime} |
|
|
|
</if> |
|
|
|
<if test="startDate != null and startDate != ''"> |
|
|
|
and applicantTime <![CDATA[ >= ]]> #{startDate} |
|
|
|
</if> |
|
|
|
<if test="endDate != null and endDate != ''"> |
|
|
|
and applicantTime <![CDATA[ <= ]]> #{endDate} |
|
|
|
</if> |
|
|
|
<if test="state != null and state != ''"> |
|
|
|
AND aorstate LIKE CONCAT('%', #{state}, '%') |
|
|
|
</if> |
|
|
|
<if test="applyRemark != null and applyRemark != null"> |
|
|
|
and applyRemark like CONCAT('%', #{applyRemark}, '%') |
|
|
|
</if> |
|
|
|
<if test="aorcode != null and aorcode != null"> |
|
|
|
<if test="code != null and code != null"> |
|
|
|
and aorcode = #{code} |
|
|
|
</if> |
|
|
|
<if test="departmenthead != null and departmenthead != null"> |
|
|
|
@ -951,8 +976,8 @@ |
|
|
|
<if test="version != null and version != ''"> |
|
|
|
and mversion = #{version} |
|
|
|
</if> |
|
|
|
<if test="code != null and code != ''"> |
|
|
|
and mcode = #{code} |
|
|
|
<if test="mcode != null and mcode != ''"> |
|
|
|
and mcode = #{mcode} |
|
|
|
</if> |
|
|
|
<if test="placeId != null"> |
|
|
|
and placeId = #{placeId} |
|
|
|
@ -963,6 +988,7 @@ |
|
|
|
<if test="constructionunitid != null and constructionunitid != ''"> |
|
|
|
and constructionunitid = #{constructionunitid} |
|
|
|
</if> |
|
|
|
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
|