Commit 01fdac3a authored by wdy's avatar wdy

Merge branch 'wangdingyi' into 'dev'

检验内容库查询车型试验(科恩)条件查询

See merge request !308
parents 89b6b7d3 fa9ad64b
...@@ -204,7 +204,7 @@ public class ReviewStandardServiceImpl extends ServiceImpl<ReviewStandardMapper, ...@@ -204,7 +204,7 @@ public class ReviewStandardServiceImpl extends ServiceImpl<ReviewStandardMapper,
MediaType mediaType = MediaType.parse("application/json"); MediaType mediaType = MediaType.parse("application/json");
// 创建请求体 // 创建请求体
RequestBody body = RequestBody.create(mediaType, "{\"query\":\"query regulationItems($name:String!$offset:OffsetConnectionInput$orderBy:OrderByInput){regulationByName(name:$name){items(offset:$offset orderBy:$orderBy){totalCount nodes{id serialNumber requirements testMethod}}}}\",\"variables\":" + request+ "}"); RequestBody body = RequestBody.create(mediaType, "{\"query\":\"query regulationItems($name:String!$offset:OffsetConnectionInput$orderBy:OrderByInput$searchFields:Map){regulationByName(name:$name){items(offset:$offset orderBy:$orderBy searchFields:$searchFields){totalCount nodes{id serialNumber requirements testMethod}}}}\",\"variables\":" + request+ "}");
Request requestKE = new Request.Builder() Request requestKE = new Request.Builder()
.url("http://10.12.48.80:8089/api/query") .url("http://10.12.48.80:8089/api/query")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment