xiaochen %!s(int64=2) %!d(string=hai) anos
pai
achega
b75b39748b

+ 3 - 3
src/main/java/com/tld/service/impl/QueryListServiceImpl.java

@@ -609,7 +609,7 @@ public class QueryListServiceImpl implements QueryListService {
                                             msg = map.get("FailReason").toString();
                                             error.setErrorInfo(msg);
                                             error.setUrl(errorVal.getUrl());
-                                            error.setDataVal(ReqOutStocks2.toString()).setType(errorVal.getType());
+                                            error.setDataVal(ReqOutStocks2.toJSONString()).setType(errorVal.getType());
                                             errorMapper.addError(error);
                                         }
                                     }
@@ -635,7 +635,7 @@ public class QueryListServiceImpl implements QueryListService {
                                                 msg = map.get("FailReason").toString();
                                                 error.setErrorInfo(msg);
                                                 error.setUrl(errorVal.getUrl());
-                                                error.setDataVal(ReqOutStocks2.toString()).setType(errorVal.getType());
+                                                error.setDataVal(ReqOutStocks2.toJSONString()).setType(errorVal.getType());
                                                 errorMapper.addError(error);
                                             }
                                         } else {
@@ -655,7 +655,7 @@ public class QueryListServiceImpl implements QueryListService {
                                                 //如果失败存入报错信息跟数据
                                                 error.setErrorInfo(msg);
                                                 error.setUrl(errorVal.getUrl());
-                                                error.setDataVal(ReqOutStocks2.toString()).setType(errorVal.getType());
+                                                error.setDataVal(ReqOutStocks2.toJSONString()).setType(errorVal.getType());
                                                 errorMapper.addError(error);
                                             }
                                         }