feat: 数据字典相关接口提交

This commit is contained in:
2025-12-05 09:53:18 +08:00
parent 3d471121d0
commit 4199fd623c

View File

@ -62,9 +62,7 @@ public class DictionaryServiceImpl implements DictionaryService {
if (Strings.isNotBlank(dictionary.getType())) {
dictionary.setType(dictionary.getType());
}
if (Strings.isNotBlank(dictionary.getDescription())) {
dictionary.setDescription(dictionary.getDescription());
}
dictionary.setDescription(dictionary.getDescription());
dictionary.setUpdateTime(Timestamp.from(Instant.now()));
return dictionaryMapper.updateById(dictionary) == 1;
}