设计阶段bug

This commit is contained in:
苏竹红
2024-06-26 10:42:10 +08:00
parent bcc40243fa
commit a2b1fc3873
4 changed files with 13 additions and 6 deletions

View File

@@ -540,7 +540,7 @@ public class DecorationServiceImpl implements DecorationService {
DecorationDesignInfoDO decoration = decorationDesignInfoDAO.getByShopId(request.getShopId());
if (Objects.nonNull(decoration)){
decorationDesignInfoDO.setId(decoration.getId());
decorationDesignInfoDAO.updateByPrimaryKey(decorationDesignInfoDO);
decorationDesignInfoDAO.updateByPrimaryKeySelective(decorationDesignInfoDO);
}else {
decorationDesignInfoDAO.insertSelective(decorationDesignInfoDO);
}
@@ -580,7 +580,7 @@ public class DecorationServiceImpl implements DecorationService {
DecorationDesignInfoDO decoration = decorationDesignInfoDAO.getByShopId(request.getShopId());
if (Objects.nonNull(decoration)){
decorationDesignInfoDO.setId(decoration.getId());
decorationDesignInfoDAO.updateByPrimaryKey(decorationDesignInfoDO);
decorationDesignInfoDAO.updateByPrimaryKeySelective(decorationDesignInfoDO);
}
//更新装修设计状态
shopStageInfoDAO.batchUpdateShopStageStatus(request.getShopId(), Arrays.asList(ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_91, ShopSubStageStatusEnum.SHOP_SUB_STAGE_STATUS_111));