Jelajahi Sumber

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

szjbdgzl 1 tahun lalu
induk
melakukan
cd8c9c96f2

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

@@ -110,7 +110,12 @@ public class RabbitSnapshotMessageQueueConsumer   {
                     "    d.bao_biao_lu_jing_ is not null " +
                     "    and d.bao_biao_lu_jing_ <> '' " +
                     "    and h.id_ ='"+instId+"'";
-            commonDao.execute(sql);
+            try{
+                commonDao.execute(sql);
+            }catch (Exception e2){
+                LOGGER.error("插入补充快照表t_bckzsjb数据异常,异常SQL" +sql);
+                e2.printStackTrace();
+            }
             LOGGER.error("MQ消费生成快照异常. instId=" +instId);
             e.printStackTrace();
         }