Kaynağa Gözat

协单列表修改

anderx 1 yıl önce
ebeveyn
işleme
fa67b9ff6e

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

@@ -137,12 +137,12 @@ create_time = values(create_time)
         from  public_assist_advice a
         <if test="type ==0">
        left join public_release b on a.prid=b.id
-        where b.type=3 and b.id = #{id}
+        where  b.id = #{id}
         </if>
         <if test="type ==1">
         left  join public_release b on a.prid=b.id
         left join public_release c on  b.main_id=c.id
-        where b.type=3 and c.id = #{id}
+        where  c.id = #{id}
         </if>
     </select>