feat:加盟合同老店新开装修与开业直接完成
This commit is contained in:
@@ -612,13 +612,12 @@ public class DecorationServiceImpl implements DecorationService {
|
||||
if (decoration == null) {
|
||||
//查询测量阶段的设计组长
|
||||
DecorationMeasureDO measureDO = decorationMeasureDAO.getByShopId(shopId);
|
||||
if (measureDO == null) {
|
||||
throw new ServiceException(ErrorCodeEnum.SHOP_STAGE_NOT_OPERATE);
|
||||
}
|
||||
DecorationDesignVO decorationDesignVO = new DecorationDesignVO();
|
||||
decorationDesignVO.setDesignLeaderId(measureDO.getDesignUserId());
|
||||
String userName = enterpriseUserDAO.getUserName(measureDO.getDesignUserId().toString());
|
||||
decorationDesignVO.setDesignLeaderName(userName);
|
||||
if (measureDO!=null){
|
||||
decorationDesignVO.setDesignLeaderId(measureDO.getDesignUserId());
|
||||
String userName = enterpriseUserDAO.getUserName(measureDO.getDesignUserId().toString());
|
||||
decorationDesignVO.setDesignLeaderName(userName);
|
||||
}
|
||||
return decorationDesignVO;
|
||||
}
|
||||
DecorationDesignVO decorationDesignVO = BeanUtil.toBean(decoration, DecorationDesignVO.class);
|
||||
|
||||
Reference in New Issue
Block a user