|
@ -770,15 +770,16 @@ public class CustomerGridServiceImpl extends BaseServiceImpl<CustomerGridDao, Cu |
|
|
return gridInfo; |
|
|
return gridInfo; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
CustomerGridDTO gridInfo = ConvertUtils.sourceToTarget(baseDao.selectById(customerGridFormDTO.getGridId()), CustomerGridDTO.class); |
|
|
CustomerGridDTO gridInfo = baseDao.gridAgencyByGrid(customerGridFormDTO.getGridId()); |
|
|
|
|
|
/*CustomerGridDTO gridInfo = ConvertUtils.sourceToTarget(baseDao.selectById(customerGridFormDTO.getGridId()), CustomerGridDTO.class); |
|
|
if (null != gridInfo) { |
|
|
if (null != gridInfo) { |
|
|
CustomerAgencyEntity agency = customerAgencyService.selectById(gridInfo.getPid()); |
|
|
CustomerAgencyEntity agency = customerAgencyService.selectById(gridInfo.getPid()); |
|
|
gridInfo.setAgencyName(null != agency ? agency.getOrganizationName() : ""); |
|
|
gridInfo.setAgencyName(null != agency ? agency.getOrganizationName() : ""); |
|
|
gridInfo.setGridNamePath(null != agency ? agency.getOrganizationName().concat("-").concat(gridInfo.getGridName()) : gridInfo.getGridName()); |
|
|
gridInfo.setGridNamePath(null != agency ? agency.getOrganizationName().concat("-").concat(gridInfo.getGridName()) : gridInfo.getGridName()); |
|
|
|
|
|
|
|
|
redisUtils.hMSet(redisKey, BeanUtil.beanToMap(gridInfo)); |
|
|
redisUtils.hMSet(redisKey, BeanUtil.beanToMap(gridInfo)); |
|
|
} |
|
|
}*/ |
|
|
|
|
|
redisUtils.hMSet(redisKey, BeanUtil.beanToMap(gridInfo)); |
|
|
return gridInfo; |
|
|
return gridInfo; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|