|
@@ -94,11 +94,11 @@ public class AssoTaskPersonelService extends ServiceImpl<AssoTaskPersonelMapper,
|
|
|
patentNumber = reportFieldService.getPatentNo1(patentVO.getFiledOptions(), patentVO.getReportId(), patentVO.getTaskId(), patentVO.getTaskStatus());
|
|
|
}
|
|
|
|
|
|
- patentVO.setPatentNos(patentNumber);
|
|
|
- String resNum = outInterfaceService.getConPantents(patentVO, 1);
|
|
|
+ patentVO.setPatentNos(patentNumber);
|
|
|
+ patentVO.setReportId(null);
|
|
|
+ String resNum = outInterfaceService.getConPantentsCount(patentVO, 1);
|
|
|
JSONObject jsonObjectNum = JSONObject.parseObject(resNum);
|
|
|
- List<JSONObject> jsonObjectNums = JSONArray.parseArray(jsonObjectNum.get("data").toString(), JSONObject.class);
|
|
|
- Integer totalNumber = jsonObjectNums.size();
|
|
|
+ Integer totalNumber = Integer.parseInt(jsonObjectNum.get("data").toString());
|
|
|
if (patentVO.getLocPosition() == 1) {
|
|
|
patentVO.setStartNumber(patentVO.getLocPosition() - 1);
|
|
|
patentVO.setEndNumber(patentVO.getLocPosition());
|
|
@@ -109,7 +109,6 @@ 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);
|