|
@@ -1414,6 +1414,9 @@ public R<Object> batchTask(@RequestBody StartTaskVO startTaskVO) {
|
|
|
List<InformationQuery> queryTempList = new ArrayList<>();
|
|
|
Map<String, InformationQuery> queryTempMap = new HashMap<>();
|
|
|
queryList.forEach(query -> {
|
|
|
+ if (query.getType() == 3) {
|
|
|
+ startTaskVO.setTrialSelfInspectionRecordId(3L);
|
|
|
+ }
|
|
|
InformationQuery temp = queryTempMap.get(query.getWbsId() + "," + query.getContractId() + "," + query.getClassify());
|
|
|
if (temp != null) {
|
|
|
return;
|
|
@@ -1436,6 +1439,7 @@ public R<Object> batchTask(@RequestBody StartTaskVO startTaskVO) {
|
|
|
if (queryList.isEmpty()) {
|
|
|
return R.fail( "已上报,无需重复上报");
|
|
|
}
|
|
|
+ appType = startTaskVO.getTrialSelfInspectionRecordId();
|
|
|
if (!saveQueryList.isEmpty()) {
|
|
|
this.informationQueryService.saveBatch(saveQueryList);
|
|
|
}
|