master
王皓雯 6 years ago
parent e7f7dcfe92
commit 1855d254ec

@ -0,0 +1,18 @@
package com.macro.mall.service;
import com.macro.mall.model.SmsCouponHistory;
import java.util.List;
/**
* Service
*/
public interface SmsCouponHistoryService {
/**
*
* @param couponId id
* @param useStatus 使
* @param orderSn 使
*/
List<SmsCouponHistory> list(Long couponId, Integer useStatus, String orderSn, Integer pageSize, Integer pageNum);
}

@ -0,0 +1,41 @@
package com.macro.mall.service;
import com.macro.mall.dto.SmsCouponParam;
import com.macro.mall.model.SmsCoupon;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Service
*/
public interface SmsCouponService {
/**
*
*/
@Transactional
int create(SmsCouponParam couponParam);
/**
* id
*/
@Transactional
int delete(Long id);
/**
* id
*/
@Transactional
int update(Long id, SmsCouponParam couponParam);
/**
*
*/
List<SmsCoupon> list(String name, Integer type, Integer pageSize, Integer pageNum);
/**
*
* @param id id
*/
SmsCouponParam getItem(Long id);
}

@ -0,0 +1,49 @@
package com.macro.mall.service;
import com.macro.mall.dto.SmsFlashPromotionProduct;
import com.macro.mall.model.SmsFlashPromotionProductRelation;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Service
*/
public interface SmsFlashPromotionProductRelationService {
/**
*
*/
@Transactional
int create(List<SmsFlashPromotionProductRelation> relationList);
/**
*
*/
int update(Long id, SmsFlashPromotionProductRelation relation);
/**
*
*/
int delete(Long id);
/**
*
*/
SmsFlashPromotionProductRelation getItem(Long id);
/**
*
*
* @param flashPromotionId id
* @param flashPromotionSessionId id
*/
List<SmsFlashPromotionProduct> list(Long flashPromotionId, Long flashPromotionSessionId, Integer pageSize, Integer pageNum);
/**
* id
* @param flashPromotionId
* @param flashPromotionSessionId
* @return
*/
int getCount(Long flashPromotionId,Long flashPromotionSessionId);
}

@ -0,0 +1,40 @@
package com.macro.mall.service;
import com.macro.mall.model.SmsFlashPromotion;
import java.util.List;
/**
* Service
*/
public interface SmsFlashPromotionService {
/**
*
*/
int create(SmsFlashPromotion flashPromotion);
/**
*
*/
int update(Long id, SmsFlashPromotion flashPromotion);
/**
*
*/
int delete(Long id);
/**
* 线
*/
int updateStatus(Long id, Integer status);
/**
*
*/
SmsFlashPromotion getItem(Long id);
/**
*
*/
List<SmsFlashPromotion> list(String keyword, Integer pageSize, Integer pageNum);
}

@ -0,0 +1,46 @@
package com.macro.mall.service;
import com.macro.mall.dto.SmsFlashPromotionSessionDetail;
import com.macro.mall.model.SmsFlashPromotionSession;
import java.util.List;
/**
* Service
*/
public interface SmsFlashPromotionSessionService {
/**
*
*/
int create(SmsFlashPromotionSession promotionSession);
/**
*
*/
int update(Long id, SmsFlashPromotionSession promotionSession);
/**
*
*/
int updateStatus(Long id, Integer status);
/**
*
*/
int delete(Long id);
/**
*
*/
SmsFlashPromotionSession getItem(Long id);
/**
*
*/
List<SmsFlashPromotionSession> list();
/**
*
*/
List<SmsFlashPromotionSessionDetail> selectList(Long flashPromotionId);
}

@ -0,0 +1,40 @@
package com.macro.mall.service;
import com.macro.mall.model.SmsHomeAdvertise;
import java.util.List;
/**
* 广Service
*/
public interface SmsHomeAdvertiseService {
/**
* 广
*/
int create(SmsHomeAdvertise advertise);
/**
* 广
*/
int delete(List<Long> ids);
/**
* 线
*/
int updateStatus(Long id, Integer status);
/**
* 广
*/
SmsHomeAdvertise getItem(Long id);
/**
* 广
*/
int update(Long id, SmsHomeAdvertise advertise);
/**
* 广
*/
List<SmsHomeAdvertise> list(String name, Integer type, String endTime, Integer pageSize, Integer pageNum);
}

@ -0,0 +1,37 @@
package com.macro.mall.service;
import com.macro.mall.model.SmsHomeBrand;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Service
*/
public interface SmsHomeBrandService {
/**
*
*/
@Transactional
int create(List<SmsHomeBrand> homeBrandList);
/**
*
*/
int updateSort(Long id, Integer sort);
/**
* <EFBFBD>
*/
int delete(List<Long> ids);
/**
*
*/
int updateRecommendStatus(List<Long> ids, Integer recommendStatus);
/**
*
*/
List<SmsHomeBrand> list(String brandName, Integer recommendStatus, Integer pageSize, Integer pageNum);
}

@ -0,0 +1,37 @@
package com.macro.mall.service;
import com.macro.mall.model.SmsHomeNewProduct;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Service
*/
public interface SmsHomeNewProductService {
/**
*
*/
@Transactional
int create(List<SmsHomeNewProduct> homeNewProductList);
/**
*
*/
int updateSort(Long id, Integer sort);
/**
* <EFBFBD>
*/
int delete(List<Long> ids);
/**
*
*/
int updateRecommendStatus(List<Long> ids, Integer recommendStatus);
/**
*
*/
List<SmsHomeNewProduct> list(String productName, Integer recommendStatus, Integer pageSize, Integer pageNum);
}

@ -0,0 +1,37 @@
package com.macro.mall.service;
import com.macro.mall.model.SmsHomeRecommendProduct;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Service
*/
public interface SmsHomeRecommendProductService {
/**
*
*/
@Transactional
int create(List<SmsHomeRecommendProduct> homeRecommendProductList);
/**
*
*/
int updateSort(Long id, Integer sort);
/**
* <EFBFBD>
*/
int delete(List<Long> ids);
/**
*
*/
int updateRecommendStatus(List<Long> ids, Integer recommendStatus);
/**
*
*/
List<SmsHomeRecommendProduct> list(String productName, Integer recommendStatus, Integer pageSize, Integer pageNum);
}

@ -0,0 +1,37 @@
package com.macro.mall.service;
import com.macro.mall.model.SmsHomeRecommendSubject;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;
/**
* Service
*/
public interface SmsHomeRecommendSubjectService {
/**
*
*/
@Transactional
int create(List<SmsHomeRecommendSubject> recommendSubjectList);
/**
*
*/
int updateSort(Long id, Integer sort);
/**
* <EFBFBD>
*/
int delete(List<Long> ids);
/**
*
*/
int updateRecommendStatus(List<Long> ids, Integer recommendStatus);
/**
*
*/
List<SmsHomeRecommendSubject> list(String subjectName, Integer recommendStatus, Integer pageSize, Integer pageNum);
}
Loading…
Cancel
Save