package com.yeshi.fanli.service.inter.user;
|
|
import java.util.List;
|
|
import com.yeshi.fanli.entity.bus.user.UserSystemCouponRecord;
|
|
public interface UserSystemCouponRecordService {
|
|
public int insertSelective(UserSystemCouponRecord record);
|
|
public UserSystemCouponRecord selectByPrimaryKey(Long id);
|
|
public int updateByPrimaryKeySelective(UserSystemCouponRecord record);
|
|
public int updateByPrimaryKey(UserSystemCouponRecord record);
|
|
public UserSystemCouponRecord getRecordByOrderNo(String orderNo, Integer state);
|
|
public List<UserSystemCouponRecord> getRecordByOrderNoList(Integer source, List<String> list);
|
|
|
/**
|
* 查询状态
|
*
|
* @param uid
|
* @param state
|
* @return
|
*/
|
public List<UserSystemCouponRecord> getRecordByState(Long uid, Integer state);
|
|
/**
|
* 订单号是否成功免单
|
*
|
* @param orderId
|
* @return
|
*/
|
public boolean isSuccessMianDan(Integer source, String orderId);
|
|
|
/**
|
* 查询最近记录
|
* @param userCouponId
|
* @return
|
*/
|
public UserSystemCouponRecord getNearByUserCouponId(Long userCouponId);
|
|
}
|