diff --git a/pqs-system/system-api/src/main/java/com/njcn/system/pojo/vo/DictDataCache.java b/pqs-system/system-api/src/main/java/com/njcn/system/pojo/vo/DictDataCache.java index 0ab3520f0..79d1cb73e 100644 --- a/pqs-system/system-api/src/main/java/com/njcn/system/pojo/vo/DictDataCache.java +++ b/pqs-system/system-api/src/main/java/com/njcn/system/pojo/vo/DictDataCache.java @@ -18,6 +18,8 @@ public class DictDataCache implements Serializable { private String code; + private String value; + private int sort; private String typeId; diff --git a/pqs-system/system-boot/src/main/java/com/njcn/system/mapper/mapping/DictTypeMapper.xml b/pqs-system/system-boot/src/main/java/com/njcn/system/mapper/mapping/DictTypeMapper.xml index 6d72e0ba9..7405a5949 100644 --- a/pqs-system/system-boot/src/main/java/com/njcn/system/mapper/mapping/DictTypeMapper.xml +++ b/pqs-system/system-boot/src/main/java/com/njcn/system/mapper/mapping/DictTypeMapper.xml @@ -8,6 +8,7 @@ t1.name name, t1.code code, t1.sort sort, + t1.value, t2.id typeId, t2.name typeName, t2.code typeCode diff --git a/pqs-system/system-boot/src/main/java/com/njcn/system/service/impl/DictTypeServiceImpl.java b/pqs-system/system-boot/src/main/java/com/njcn/system/service/impl/DictTypeServiceImpl.java index fbc08523c..62ca49402 100644 --- a/pqs-system/system-boot/src/main/java/com/njcn/system/service/impl/DictTypeServiceImpl.java +++ b/pqs-system/system-boot/src/main/java/com/njcn/system/service/impl/DictTypeServiceImpl.java @@ -104,6 +104,7 @@ public class DictTypeServiceImpl extends ServiceImpl i simpleDTO.setId(dictDataCache.getId()); simpleDTO.setName(dictDataCache.getName()); simpleDTO.setSort(dictDataCache.getSort()); + simpleDTO.setValue(dictDataCache.getValue()); return simpleDTO; }).collect(Collectors.toList());