|
@@ -119,7 +119,11 @@
|
|
|
<if test="safeUserName != null and position != ''">and t.safe_user_name = #{safeUserName}</if>
|
|
<if test="safeUserName != null and position != ''">and t.safe_user_name = #{safeUserName}</if>
|
|
|
<if test="position != null and position != ''">and t.position = #{position}</if>
|
|
<if test="position != null and position != ''">and t.position = #{position}</if>
|
|
|
<if test="college != null and college != ''">and t.college = #{college}</if>
|
|
<if test="college != null and college != ''">and t.college = #{college}</if>
|
|
|
- <if test="applyStatus != null ">and t.apply_status = #{applyStatus}</if>
|
|
|
|
|
|
|
+ <if test="applyStatus != null ">
|
|
|
|
|
+ <if test="applyStatus == 1 ">and t.creat_time > now() </if>
|
|
|
|
|
+
|
|
|
|
|
+ <if test="applyStatus == 2 ">and t.creat_time < now() </if>
|
|
|
|
|
+ </if>
|
|
|
<if test="applyNumber != null ">and t.apply_number = #{applyNumber}</if>
|
|
<if test="applyNumber != null ">and t.apply_number = #{applyNumber}</if>
|
|
|
<if test="illustrate != null ">and t.illustrate = #{illustrate}</if>
|
|
<if test="illustrate != null ">and t.illustrate = #{illustrate}</if>
|
|
|
<if test="approvalUser != null ">and t.approval_user = #{approvalUser}</if>
|
|
<if test="approvalUser != null ">and t.approval_user = #{approvalUser}</if>
|