update 同步方法
This commit is contained in:
+1
-6
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user