Jelajahi Sumber

添加完善

yq 3 tahun lalu
induk
melakukan
4427c39139

+ 2 - 1
src/main/java/com/usky/dxtop/service/impl/CallApiLogServiceImpl.java

@@ -40,10 +40,11 @@ public class CallApiLogServiceImpl extends ServiceImpl<CallApiLogMapper, CallApi
             callApiLog.setOrderNumber(orderNumber);
             callApiLog.setName(apiName);
             callApiLog.setApiResultData(result);
+            this.save(callApiLog);
         }else {
             callApiLog.setApiResultData(result);
+            this.updateById(callApiLog);
         }
-        this.saveOrUpdate(callApiLog);
     }
 
     @Override