Update SmsHomeRecommendProductService.java

This commit is contained in:
macro
2025-03-24 16:38:21 +08:00
parent 9176504425
commit cb6c595484

View File

@@ -11,28 +11,28 @@ import java.util.List;
*/ */
public interface SmsHomeRecommendProductService { public interface SmsHomeRecommendProductService {
/** /**
* 添加首页推荐 * 添加人气推荐
*/ */
@Transactional @Transactional
int create(List<SmsHomeRecommendProduct> homeRecommendProductList); int create(List<SmsHomeRecommendProduct> homeRecommendProductList);
/** /**
* 修改推荐排序 * 修改人气推荐排序
*/ */
int updateSort(Long id, Integer sort); int updateSort(Long id, Integer sort);
/** /**
* 批量删除推荐 * 批量删除人气推荐
*/ */
int delete(List<Long> ids); int delete(List<Long> ids);
/** /**
* 批量更新推荐状态 * 批量更新人气推荐状态
*/ */
int updateRecommendStatus(List<Long> ids, Integer recommendStatus); int updateRecommendStatus(List<Long> ids, Integer recommendStatus);
/** /**
* 分页查询推荐 * 分页查询人气推荐
*/ */
List<SmsHomeRecommendProduct> list(String productName, Integer recommendStatus, Integer pageSize, Integer pageNum); List<SmsHomeRecommendProduct> list(String productName, Integer recommendStatus, Integer pageSize, Integer pageNum);
} }