Browse Source

部门特批审核BUG修复

anderx 2 years ago
parent
commit
d7bfc21c6c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/goafanti/common/mapper/NewOrderChangeMapper.xml

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

@@ -666,7 +666,7 @@ from new_order_change a where 1 = 1 and status in (0,1,2,3)
       and ((a.process_state >= #{processState} and  a.process_state < 10)or a.back_status >= #{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 ((a.process_state &gt;= 8 and  a.process_state &lt; 10)or a.back_status &gt;= #{processState})
     </if>
     <if test="complete ==0 and processState == 9">
       and ((a.process_state = 9 )or a.back_status &gt;= #{processState})
@@ -801,7 +801,7 @@ from new_order_change a where 1 = 1 and status in (0,1,2,3)
       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 ((a.process_state &gt;= 8 and  a.process_state &lt; 10)or a.back_status &gt;= #{processState})
     </if>
     <if test="complete ==0 and processState == 9">
       and ((a.process_state = 9 )or a.back_status &gt;= #{processState})