|
@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
import org.springblade.core.tenant.annotation.TenantIgnore;
|
|
import org.springblade.core.tenant.annotation.TenantIgnore;
|
|
|
import org.springblade.salesPart.coupon.dto.CouponReportDto;
|
|
import org.springblade.salesPart.coupon.dto.CouponReportDto;
|
|
|
|
|
+import org.springblade.salesPart.coupon.dto.CouponReportOrderDto;
|
|
|
import org.springblade.salesPart.coupon.dto.CouponReturnsItemDto;
|
|
import org.springblade.salesPart.coupon.dto.CouponReturnsItemDto;
|
|
|
import org.springblade.salesPart.coupon.dto.TireUserCouponDto;
|
|
import org.springblade.salesPart.coupon.dto.TireUserCouponDto;
|
|
|
import org.springblade.salesPart.coupon.entity.TireUserCoupon;
|
|
import org.springblade.salesPart.coupon.entity.TireUserCoupon;
|
|
@@ -72,4 +73,14 @@ public interface TireUserCouponMapper extends BaseMapper<TireUserCoupon> {
|
|
|
* @return 结果
|
|
* @return 结果
|
|
|
*/
|
|
*/
|
|
|
List<CouponReturnsItemDto> getCouponReturnsItemDtoList(@Param("idList") List<Long> customerIds, @Param("tenantId") String tenantId);
|
|
List<CouponReturnsItemDto> getCouponReturnsItemDtoList(@Param("idList") List<Long> customerIds, @Param("tenantId") String tenantId);
|
|
|
|
|
+
|
|
|
|
|
+ /**
|
|
|
|
|
+ * 查询优惠券使用订单列表
|
|
|
|
|
+ *
|
|
|
|
|
+ * @param customerId 客户id
|
|
|
|
|
+ * @param tenantId 租户id
|
|
|
|
|
+ * @param checkType 查看类型
|
|
|
|
|
+ * @return 结果
|
|
|
|
|
+ */
|
|
|
|
|
+ List<CouponReportOrderDto> getCouponReportOrderList(@Param("customerId") Long customerId, @Param("tenantId") String tenantId, @Param("checkType") Integer checkType);
|
|
|
}
|
|
}
|