feat: 增加其他文件的标准解读
This commit is contained in:
@@ -175,6 +175,7 @@ public class FieldCommon {
|
||||
public static final String FILE_DRAFT_FOR_COMMENT = "draft_for_comment";
|
||||
// 草案
|
||||
public static final String FILE_DRAFT = "draft";
|
||||
public static final String FILE_OTHER_FILE = "other_file";
|
||||
public static final String DEL_FLAG = "del_flag";
|
||||
public static final String TRY_FLAG = "try_flag";
|
||||
public static final String RELEASE_DATE = "release_date";
|
||||
|
||||
+2
-20
@@ -364,6 +364,8 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
||||
flagMap.get(FieldCommon.FILE_DRAFT_FOR_COMMENT));
|
||||
map.put(FieldCommon.FILE_DRAFT + FieldCommon._STANDARD_SPLIT,
|
||||
flagMap.get(FieldCommon.FILE_DRAFT));
|
||||
map.put(FieldCommon.FILE_OTHER_FILE + FieldCommon._STANDARD_SPLIT,
|
||||
flagMap.get(FieldCommon.FILE_OTHER_FILE));
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -1371,26 +1373,6 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
||||
}
|
||||
}
|
||||
stringObjectMap.put("checkList", list);
|
||||
// // 设置企标独有的标准适用范围
|
||||
// // 查询标准拆分表
|
||||
// LambdaQueryWrapper<SarFileSplitInfoEO> queryWrapper = new LambdaQueryWrapper<>();
|
||||
// // 标准id
|
||||
// queryWrapper.eq(SarFileSplitInfoEO::getStandardId, id);
|
||||
// // 拆分表发布标识
|
||||
// queryWrapper.isNotNull(SarFileSplitInfoEO::getPublishBeforeId);
|
||||
// // 文件字段标识
|
||||
// queryWrapper.eq(SarFileSplitInfoEO::getFileType, FieldCommon.FILE_PUBLISH_OF_ORIGINAL);
|
||||
// List<SarFileSplitInfoEO> sarFileSplitInfoEOList = sarFileSplitInfoService.list(queryWrapper);
|
||||
// if (!sarFileSplitInfoEOList.isEmpty()) {
|
||||
// // 按照创建时间倒序排序
|
||||
// sarFileSplitInfoEOList.sort(Comparator.comparing(SarFileSplitInfoEO::getCreateTime).reversed());
|
||||
// List<Map<String, Object>> maps =
|
||||
// documentSplitMapper.queryLawsDocumentSplitByInfoId(sarFileSplitInfoEOList.get(0).getId());
|
||||
// // 获取item_num等于1的Map
|
||||
// maps.stream().filter(m -> m.get("item_num").equals("1"))
|
||||
// .findFirst()
|
||||
// .ifPresent(map -> stringObjectMap.put("standard_scope", map.get("item_content")));
|
||||
// }
|
||||
}
|
||||
// 标准拆分标识
|
||||
splitFlag(stringObjectMap);
|
||||
|
||||
Reference in New Issue
Block a user