|
|
@@ -124,18 +124,18 @@ public class KwmAddressService {
|
|
|
kwmAddresses.forEach(item -> {
|
|
|
AddressQueryResVo addressQueryResVo = new AddressQueryResVo();
|
|
|
BeanUtils.copyProperties(item, addressQueryResVo);
|
|
|
- addressQueryResVo.setTypeCode(item.getType());
|
|
|
+ addressQueryResVo.setType(item.getType());
|
|
|
UserCacheResDto userCacheResDto = userCacheResDtoMap.get(item.getCreateBy());
|
|
|
SysDictResDto sysDictResDto = stringSysDictResDtoMap.get(DictTypeEnum.ADDRESS_TYPE.getType() + Global.POUND + item.getType());
|
|
|
if (Objects.nonNull(sysDictResDto)) {
|
|
|
- addressQueryResVo.setType(sysDictResDto.getLabel());
|
|
|
+ addressQueryResVo.setTypeName(sysDictResDto.getLabel());
|
|
|
}
|
|
|
|
|
|
if (Objects.nonNull(userCacheResDto)) {
|
|
|
addressQueryResVo.setCreateByName(userCacheResDto.getName());
|
|
|
}
|
|
|
if (Objects.nonNull(sysDictResDto)) {
|
|
|
- addressQueryResVo.setType(sysDictResDto.getLabel());
|
|
|
+ addressQueryResVo.setTypeName(sysDictResDto.getLabel());
|
|
|
}
|
|
|
|
|
|
if (Objects.nonNull(item.getDefaultType())) {
|