预约单统计功能
This commit is contained in:
@@ -3,6 +3,7 @@ package com.czg.account.service;
|
||||
import com.czg.account.dto.BkOrderDTO;
|
||||
import com.czg.account.entity.BkOrderTable;
|
||||
import com.czg.account.vo.BkTableVO;
|
||||
import com.czg.account.vo.BookingOrderStatisticsVO;
|
||||
import com.mybatisflex.core.service.IService;
|
||||
import com.czg.account.entity.BkOrder;
|
||||
|
||||
@@ -17,6 +18,11 @@ import java.util.List;
|
||||
*/
|
||||
public interface BkOrderService extends IService<BkOrder> {
|
||||
|
||||
/**
|
||||
* 查询预约单统计信息
|
||||
*/
|
||||
BookingOrderStatisticsVO bookingOrderStatistics(Long shopId, String search, LocalDate start, LocalDate end, String status);
|
||||
|
||||
/**
|
||||
* 查询预约单列表
|
||||
* @param shopId 店铺id
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
package com.czg.account.vo;
|
||||
|
||||
import lombok.Data;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* @author ww
|
||||
* @description
|
||||
*/
|
||||
@Data
|
||||
public class BookingOrderStatisticsVO {
|
||||
/**
|
||||
* 今日预约
|
||||
*/
|
||||
private Long todayBookingCount;
|
||||
/**
|
||||
* 本月预约
|
||||
*/
|
||||
private Long thisMonthBookingCount;
|
||||
/**
|
||||
* 待到店数
|
||||
*/
|
||||
private Long arrivedCount;
|
||||
/**
|
||||
* 预约到店率
|
||||
*/
|
||||
private BigDecimal arrivalRate;
|
||||
}
|
||||
Reference in New Issue
Block a user