|
|
@@ -9,6 +9,7 @@ import com.cyksj.model.views.CouponActiveView;
|
|
|
import com.cyksj.model.views.CouponUserView;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
+import java.math.BigDecimal;
|
|
|
import java.util.List;
|
|
|
import java.util.Map;
|
|
|
|
|
|
@@ -19,7 +20,7 @@ import java.util.Map;
|
|
|
*创建时间:2022/11/18 11:43
|
|
|
*/
|
|
|
public interface CouponUserMapper extends BaseMapper<CouponUser> {
|
|
|
- Page<CouponUserView> getAvailableCouponList(@Param("skuId") Long skuId, @Param("couponId") Long couponId, @Param("goodsId") Long goodsId, @Param("userId") Long userId, @Param("isRenew") Boolean isRenew, @Param("page") IPage<CouponUserView> page);
|
|
|
+ Page<CouponUserView> getAvailableCouponList(@Param("skuId") Long skuId, @Param("skuMoney") BigDecimal skuMoney, @Param("couponId") Long couponId, @Param("goodsId") Long goodsId, @Param("userId") Long userId, @Param("isRenew") Boolean isRenew, @Param("page") IPage<CouponUserView> page);
|
|
|
|
|
|
List<CouponUserView> countAvailableCouponList(@Param("goodsId") Long goodsId, @Param("skuId") Long skuId, @Param("userId") Long userId, @Param("isRenew") Boolean isRenew);
|
|
|
|