Ver Fonte

bug mapper selectPackageStatusByPackageIds

baiying há 4 dias atrás
pai
commit
f84b818acd

+ 1 - 1
yaoyi-bi/src/main/resources/mapper/WmScorePackageMapper.xml

@@ -615,7 +615,7 @@
         select t1.id,t1.user_id,t1.package_id,t1.db_source_id
         from wm_score_package_status t1
             inner join <foreach collection="packageIds" item="item" separator="union all" open="(" close=")">select #{item.id} id</foreach> t2
-                on t1.package_id=t2.id and t1.db_source_id=#{dbSourceId}
+                on t1.package_id=t2.id
         where t1.status=2 and t1.db_source_id=#{dbSourceId}
     </select>
     <select id="selectReceiverNames" resultType="string">