feat:加盟合同老店新开装修与开业直接完成

This commit is contained in:
苏竹红
2025-05-14 14:37:34 +08:00
parent 3b88a482c5
commit 9103d10ddf

View File

@@ -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);