|
|
@ -200,11 +200,13 @@ public class CustomerFootBarServiceImpl extends BaseServiceImpl<CustomerFootBarD |
|
|
|
} |
|
|
|
CustomerFootBarResultDTO dto = ConvertUtils.sourceToTarget(entity, CustomerFootBarResultDTO.class); |
|
|
|
CustomerFootBarEntity defaultBar = baseDao.getByAppTypeAndBarKeyOfCustomer("default", entity.getAppType(), entity.getBarKey()); |
|
|
|
dto.setDefaultBarName(defaultBar.getBarName()); |
|
|
|
dto.setDefaultIconPath(defaultBar.getIconPath()); |
|
|
|
dto.setDefaultSelectedIconPath(defaultBar.getSelectedIconPath()); |
|
|
|
dto.setDefaultPageTitle(defaultBar.getPageTitle()); |
|
|
|
dto.setDefaultFloatIconPath(defaultBar.getFloatIconPath()); |
|
|
|
if (null != defaultBar) { |
|
|
|
dto.setDefaultBarName(defaultBar.getBarName()); |
|
|
|
dto.setDefaultIconPath(defaultBar.getIconPath()); |
|
|
|
dto.setDefaultSelectedIconPath(defaultBar.getSelectedIconPath()); |
|
|
|
dto.setDefaultPageTitle(defaultBar.getPageTitle()); |
|
|
|
dto.setDefaultFloatIconPath(defaultBar.getFloatIconPath()); |
|
|
|
} |
|
|
|
return dto; |
|
|
|
} |
|
|
|
|
|
|
|