Sfoglia il codice sorgente

财务管理员变更审核列表BUG修复

anderx 2 anni fa
parent
commit
cbaed968c1

+ 4 - 4
src/main/java/com/goafanti/common/mapper/NewOrderChangeMapper.xml

@@ -580,7 +580,7 @@ select
       and ((a.process_state >= #{processState} or a.back_status >= #{processState}))
     </if>
     <if test="complete ==0 and (processState == 5 or processState == 7)">
-      and ((a.process_state &gt;= 1 and  a.process_state &lt; 10)or a.back_status &gt;= #{processState})
+      and ((a.process_state &gt;= #{processState} and  a.process_state &lt; 10)or a.back_status &gt;= #{processState})
     </if>
     <if test="complete ==0 and processState == 8">
       and ((a.process_state &gt;= 8 and  a.process_state &lt; 10)or a.back_status &gt;= #{processState}) and e.province !=11
@@ -597,7 +597,7 @@ select
 	<if test="complete ==1 and processState == 6">
 	 and (a.process_state in(6)  and a.status in (0,1,2,3,5,6))
 	</if>
-	<if test="complete ==1 and processState > 7">
+	<if test="complete ==1 and processState > 6">
       and (a.process_state = #{processState}  and a.status =1)
     </if>
 
@@ -715,7 +715,7 @@ select
       and ((a.process_state &gt;= #{processState} or a.back_status &gt;= #{processState}))
     </if>
     <if test="complete ==0 and (processState == 5 or processState == 7)">
-      and ((a.process_state &gt;= 1 and  a.process_state &lt; 10)or a.back_status &gt;= #{processState})
+      and ((a.process_state &gt;= #{processState} and  a.process_state &lt; 10)or a.back_status &gt;= #{processState})
     </if>
     <if test="complete ==0 and processState == 8">
       and ((a.process_state &gt;= 8 and  a.process_state &lt; 10)or a.back_status &gt;= #{processState}) and e.province !=11
@@ -732,7 +732,7 @@ select
     <if test="complete ==1 and processState == 6">
       and (a.process_state in(6)  and a.status in (0,1,2,3,5,6))
     </if>
-    <if test="complete ==1 and processState > 7">
+    <if test="complete ==1 and processState > 6">
       and (a.process_state = #{processState}  and a.status =1)
     </if>