| | |
| | | private final AiProductPointMapper aiProductPointMapper; |
| | | private final AiProductPointLinkService aiProductPointLinkService; |
| | | private final AiProductCategoryService aiProductCategoryService; |
| | | private final AiMemberRoleService aiMemberRoleService; |
| | | |
| | | @Override |
| | | public AiProductPoint getById(String id) { |
| | |
| | | @Override |
| | | public FebsResponse productPointList(ApiProductPointPageDto dto) { |
| | | |
| | | if(StrUtil.isEmpty(dto.getMemberRoleId())){ |
| | | String memberRoleId = aiMemberRoleService.getDefaultMemberRoleId(); |
| | | dto.setMemberRoleId(memberRoleId); |
| | | } |
| | | |
| | | if(StrUtil.isEmpty(dto.getCategoryId())){ |
| | | String categoryId = aiProductCategoryService.getDefaultProductCategoryId(); |
| | | dto.setCategoryId(categoryId); |