update 同步方法

This commit is contained in:
liao
2023-11-02 09:50:00 +08:00
parent 6d8b0a28f1
commit 4ad2bbc880
9 changed files with 99 additions and 10 deletions
@@ -462,12 +462,7 @@ public class LawsAsmsOpenApiServiceImpl extends ServiceImpl<LawsAsmsOpenApiMappe
// 发布日期
lawsDomesticStandard.setReleaseDate(getSimpleDate(lawsAsmsDomestic.getPublishDate()));
// 代替标准号
if (StringUtils.isNotBlank(lawsAsmsDomestic.getReplaceCode())) {
List<String> replaceCodeList = Arrays.asList(lawsAsmsDomestic.getReplaceCode().split(";"));
replaceCodeList.forEach(replaceCode -> {
lawsReplacedStandardService.addRelation(replaceCode, lawsAsmsDomestic.getCode(), 1);
});
}
lawsReplacedStandardService.addRelation(lawsAsmsDomestic.getReplaceCode(), lawsAsmsDomestic.getCode(), 1);
// 标准性质
itemValues = getItemValues(lawsAsmsDomestic.getStandardNature(),
"1695010513489833985", sysDictItemList);