Browse Source

非公出协单列表BUG修复

anderx 1 week ago
parent
commit
82dd2a1c41

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

@@ -738,7 +738,7 @@
         </if>
         </if>
     </select>
     </select>
     <sql id="listPublicReleaseSql">
     <sql id="listPublicReleaseSql">
-        <if test="type==0 or type==8 or type==9">
+        <if test="type==0 or type>7">
             <if test="type==8">
             <if test="type==8">
                 and a.type=0
                 and a.type=0
                 and a.assist =1
                 and a.assist =1
@@ -759,14 +759,13 @@
                 <if test="type==0">
                 <if test="type==0">
                     and a.type = 3
                     and a.type = 3
                 </if>
                 </if>
-
                 and a.assist    in (2,4)
                 and a.assist    in (2,4)
             </if>
             </if>
             <if test="assist == 3">
             <if test="assist == 3">
                 and a.assist    =3
                 and a.assist    =3
             </if>
             </if>
-            <if test="assist ==4">
-                and a.assist in (2,3,4)
+            <if test="assist == 4">
+                and a.assist    in (2,3,4)
             </if>
             </if>
             <if test="assistType ==1">
             <if test="assistType ==1">
                 and a.assist in(0,1,2)
                 and a.assist in(0,1,2)