|
@@ -95,10 +95,8 @@ public class AssoTaskPersonelService extends ServiceImpl<AssoTaskPersonelMapper,
|
|
|
}
|
|
|
|
|
|
patentVO.setPatentNos(patentNumber);
|
|
|
- String resNum = outInterfaceService.getConPantents(patentVO, 1);
|
|
|
- JSONObject jsonObjectNum = JSONObject.parseObject(resNum);
|
|
|
- List<JSONObject> jsonObjectNums = JSONArray.parseArray(jsonObjectNum.get("data").toString(), JSONObject.class);
|
|
|
- Integer totalNumber = jsonObjectNums.size();
|
|
|
+
|
|
|
+ Integer totalNumber = patentVO.getPatentNos().size();
|
|
|
if (patentVO.getLocPosition() == 1) {
|
|
|
patentVO.setStartNumber(patentVO.getLocPosition() - 1);
|
|
|
patentVO.setEndNumber(patentVO.getLocPosition());
|
|
@@ -109,6 +107,7 @@ public class AssoTaskPersonelService extends ServiceImpl<AssoTaskPersonelMapper,
|
|
|
patentVO.setStartNumber(patentVO.getLocPosition() - 2);
|
|
|
patentVO.setEndNumber(patentVO.getLocPosition());
|
|
|
}
|
|
|
+ patentVO.setReportId(null);
|
|
|
String res = outInterfaceService.getConPantents(patentVO, 1);
|
|
|
JSONObject jsonObject = JSONObject.parseObject(res);
|
|
|
List<JSONObject> jsonObjects = JSONArray.parseArray(jsonObject.get("data").toString(), JSONObject.class);
|