Browse Source

修改限定项目列表

anderx 1 year ago
parent
commit
d370fa0b9b
1 changed files with 4 additions and 4 deletions
  1. 4 4
      src/main/java/com/goafanti/common/mapper/NewOrderChangeMapper.xml

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

@@ -688,11 +688,11 @@ from new_order_change a where 1 = 1 and status in (0,1,2,3)
     <if test="complete ==1 and processState > 6 and processState &lt; 8">
       and (a.process_state = #{processState}  and a.status =1)
     </if>
-    <if test="complete ==1 and processState > 6 and processState = 9">
-      and (a.process_state = #{processState}  and a.status =1)
+    <if test="complete ==1  and processState == 9">
+      and a.process_state = 9  and a.status =1
     </if>
-    <if test="complete ==1 and processState > 6 and processState = 10">
-      and (a.process_state = #{processState}  and a.status =1)
+    <if test="complete ==1 and processState == 10">
+      and a.process_state = 10  and a.status =1
     </if>
     <if test="complete ==2 and processState != 6 and processState != 8 and processState != 9 and processState !=3 and processState !=4">
       and a.process_state &gt; #{processState}