Преглед изворни кода

公出审核列表BUG修改

anderx пре 1 година
родитељ
комит
15a7cee91e
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/main/java/com/goafanti/common/mapper/PublicReleaseMapper.xml

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

@@ -431,7 +431,7 @@
             and a.public_type in (0,2)
             and a.assist in(0,1)
             and a.tech_start_process in (0,2)
-            and apr.reviewer_id = #{aid}
+            and apr.reviewer_id = #{aid} and apr.type=0
         </if>
         <if test="type==2">
             and a.public_type in (0,2)
@@ -463,7 +463,7 @@
         </if>
         <if test="type==6">
             and a.type=3 and a.assist=2
-            and apr.reviewer_id= #{aid}
+            and apr.reviewer_id= #{aid} and apr.type=1
         </if>
         <if test="clockIn !=null">
             and a.clock_in =#{clockIn}