新增功能

This commit is contained in:
2026-02-10 14:54:32 +08:00
parent f20694754f
commit 743bbc9e34
31 changed files with 590 additions and 6675 deletions

View File

@ -7,9 +7,11 @@ import com.fuint.common.param.BookableParam;
import com.fuint.framework.exception.BusinessCheckException;
import com.fuint.framework.pagination.PaginationResponse;
import com.fuint.repository.model.MtBook;
import com.fuint.repository.model.MtBookItem;
import java.text.ParseException;
import java.util.List;
import java.util.Map;
/**
* 预约业务接口
@ -64,6 +66,11 @@ public interface BookService extends IService<MtBook> {
* */
List<String> isBookable(BookableParam param) throws BusinessCheckException, ParseException;
/**
* 获取可预约时段剩余名额
*/
List<Map<String, Object>> getBookableRemain(BookableParam param) throws BusinessCheckException, ParseException;
/**
* 获取预约项目列表
*
@ -73,4 +80,12 @@ public interface BookService extends IService<MtBook> {
* */
List<MtBook> getBookList(Integer merchantId, Integer storeId);
/**
* 计算预约应付金额
*
* @param bookItem 预约记录
* @return
*/
java.math.BigDecimal calculateBookingPayAmount(MtBookItem bookItem) throws BusinessCheckException;
}