yeguodong 2 months ago
parent
commit
b9b321067a
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/main/java/cn/hnthyy/thmz/service/yb/YbService.java

+ 2 - 1
src/main/java/cn/hnthyy/thmz/service/yb/YbService.java

@@ -168,7 +168,8 @@ public class YbService {
                         }
                     }
                 } catch (Exception e) {
-                    throw new RuntimeException(e);
+                    e.printStackTrace();
+                    log.error("医保接口调用失败 - 关联键: {}, 错误: {}", associationKey, e.getMessage());
                 }
                 selinfoSoldMapper.insertSelinfoSoldDrugtrac(itemId, id, codg.getDrugTracCodg(), successFlag);
             }