fix
This commit is contained in:
@@ -840,7 +840,13 @@ public class DecorationServiceImpl implements DecorationService {
|
||||
&& !shopSubStageInfo.getShopSubStageStatus().equals(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_901.getShopSubStageStatus())) {
|
||||
throw new ServiceException(ErrorCodeEnum.UPDATE_DESIGN_LEADER);
|
||||
}
|
||||
decorationDesignInfoDAO.updateDesignLeaderIdAndDesignUserIdInteger(shopId, userId);
|
||||
DecorationMeasureDO measure = decorationMeasureDAO.getByShopId(shopId);
|
||||
measure.setDesignUserId(userId);
|
||||
decorationMeasureDAO.updateByPrimaryKeySelective(measure,userId);
|
||||
DecorationDesignInfoDO design = decorationDesignInfoDAO.getByShopId(shopId);
|
||||
if (Objects.nonNull(design)){
|
||||
decorationDesignInfoDAO.updateDesignLeaderIdAndDesignUserIdInteger(shopId, userId);
|
||||
}
|
||||
shopStageInfoDAO.updateShopStageInfo(shopId, ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_90);
|
||||
ShopInfoDO shopInfo = shopInfoDAO.getShopInfo(shopId);
|
||||
LineInfoDO lineInfo = lineInfoMapper.getByLineId(shopInfo.getLineId());
|
||||
|
||||
Reference in New Issue
Block a user