|
@@ -154,6 +154,13 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
//huangjn 填报的类型,施工或监理
|
|
|
tableInfo.setClassify(dataInfo2.getString("classify"));
|
|
|
//huangjn 填报的类型,施工或监理
|
|
|
+
|
|
|
+ //huangjn 判断是否是首件
|
|
|
+ if(dataInfo2.containsKey("isFirst")){
|
|
|
+ tableInfo.setIsFirst(dataInfo2.getString("isFirst"));
|
|
|
+ }
|
|
|
+ //huangjn 判断是否是首件
|
|
|
+
|
|
|
dataInfo2.fluentRemove("contractId")
|
|
|
.fluentRemove("pkeyId")
|
|
|
.fluentRemove("p_key_id")
|
|
@@ -161,6 +168,7 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
.fluentRemove("classify")
|
|
|
.fluentRemove("pickerKey")
|
|
|
.fluentRemove("id")
|
|
|
+ .fluentRemove("isFirst")
|
|
|
.fluentRemove("");
|
|
|
// 计算数据
|
|
|
LinkedHashMap<String,List<String>> dataMap =dataInfo2.keySet().stream().filter(e->e.contains("__")).collect(Collectors.groupingBy(e->e.split("__")[0], LinkedHashMap<String,List<String>>::new,Collectors.toList()));
|
|
@@ -267,7 +275,7 @@ public class ExcelTabServiceImpl extends BaseServiceImpl<ExcelTabMapper, ExcelTa
|
|
|
fileName = StringUtils.isNotEmpty(fileName) ? fileName : "缺少文件提名配置";
|
|
|
|
|
|
//huangjn 保存成功后调用生成资料查询列表数据
|
|
|
- this.informationQueryClient.saveOrUpdateInformationQueryData(wbsTreeContractByP.getPKeyId()+"", fileName, Integer.parseInt(tableInfo.getClassify()), 2);
|
|
|
+ this.informationQueryClient.saveOrUpdateInformationQueryData(wbsTreeContractByP.getPKeyId()+"", "业务ID(主要将来给首件使用)", fileName, Integer.parseInt(tableInfo.getClassify()), 2,"是否是首件(临时,暂时没用到)");
|
|
|
|
|
|
UpdateWrapper<WbsTreeContract> updateWrapper = new UpdateWrapper<>();
|
|
|
updateWrapper.in("p_key_id",tableInfo.getPkeyId());
|