Commit e8e2dde7 authored by tianbo's avatar tianbo

通用业务字典接口过滤掉is_delete=true的值

parent 017deecf
......@@ -62,6 +62,7 @@ public class DataDictionaryServiceImpl extends BaseService<DataDictionaryDto, Da
public Object gwmcDataDictionary(String type) throws Exception {
QueryWrapper<DataDictionary> queryWrapper = new QueryWrapper<>();
queryWrapper.eq("type", type);
queryWrapper.eq("is_delete", false);
queryWrapper.orderByAsc("sort_num");
if (redisUtils.hasKey(RedisKey.DATA_DICTIONARY_CODE + type)) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment