소스 검색

部门特批审核BUG修复

anderx 2 년 전
부모
커밋
d7bfc21c6c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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})