update 国内标准
This commit is contained in:
+1
-1
@@ -486,7 +486,7 @@ public class LawsAsmsOpenApiServiceImpl extends ServiceImpl<LawsAsmsOpenApiMappe
|
||||
lawsDomesticStandard.setCreateTime(getSimpleDate2(lawsAsmsDomestic.getCreateTimeString()));
|
||||
// 更新时间
|
||||
lawsDomesticStandard.setUpdateTime(getSimpleDate2(lawsAsmsDomestic.getUpdateTimeString()));
|
||||
lawsDomesticStandardService.save(lawsDomesticStandard);
|
||||
lawsDomesticStandardService.saveOrUpdate(lawsDomesticStandard);
|
||||
});
|
||||
// 状态设置为已同步
|
||||
lawsAsmsOpenApi.setStatus("1");
|
||||
|
||||
+2
-1
@@ -859,7 +859,8 @@ public class LawsCommonServiceImpl implements ILawsCommonService {
|
||||
oldValue = (String) oldDataMap.get(key + FieldCommon._DICT_TEXT);
|
||||
if (StringUtils.isNotBlank(value)) {
|
||||
LambdaQueryWrapper<SysDictItem> queryWrapper = new LambdaQueryWrapper<>();
|
||||
queryWrapper.eq(SysDictItem::getId, value);
|
||||
queryWrapper.eq(SysDictItem::getDictId, lawsTag.getDictId());
|
||||
queryWrapper.eq(SysDictItem::getItemValue, value);
|
||||
SysDictItem dictItem = sysDictItemService.getOne(queryWrapper);
|
||||
value = dictItem.getItemText();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user