Kaynağa Gözat

[bug-1604]【七院】platform 模块流程结束消费报错

szjbdgzl 1 yıl önce
ebeveyn
işleme
1dca66eddd

+ 2 - 1
ibps-provider-root/modules/provider-platform/src/main/java/com/lc/ibps/mq/consumer/rabbit/RabbitSnapshotMessageQueueConsumer.java

@@ -109,7 +109,8 @@ public class RabbitSnapshotMessageQueueConsumer   {
                     " where " +
                     "    d.bao_biao_lu_jing_ is not null " +
                     "    and d.bao_biao_lu_jing_ <> '' " +
-                    "    and h.id_ ='"+instId+"'";
+                    "    and h.id_ ='"+instId+"' " +
+                    "    and not exists (select 1 from t_bckzsjb where id_ ='"+instId+"') ";
             try{
                 commonDao.execute(sql);
             }catch (Exception e2){