|
@@ -104,7 +104,7 @@
|
|
<if test="sCode != null"> and w.s_code LIKE CONCAT('%', #{sCode}, '%')</if>
|
|
<if test="sCode != null"> and w.s_code LIKE CONCAT('%', #{sCode}, '%')</if>
|
|
<if test="sName != null"> and w.s_name LIKE CONCAT('%', #{sName}, '%')</if>
|
|
<if test="sName != null"> and w.s_name LIKE CONCAT('%', #{sName}, '%')</if>
|
|
<if test="examine != null"> and a.examine = #{examine}</if>
|
|
<if test="examine != null"> and a.examine = #{examine}</if>
|
|
- <if test="examine == 4"> and w.status = 3</if>
|
|
|
|
|
|
+ <if test="examine == 4"> and (w.status = 3 or w.status = 1)</if>
|
|
<if test="examine != 4"> and(w.status = 2 or w.status = 1)</if>
|
|
<if test="examine != 4"> and(w.status = 2 or w.status = 1)</if>
|
|
and r.gs_approve_state = 3
|
|
and r.gs_approve_state = 3
|
|
and r.gs_state = 1
|
|
and r.gs_state = 1
|