feat(pricing): 新增打印小票和查询券码批次配置功能

- 新增 AppClaimController 控制器处理移动设备端的领券请求
- 实现 ClaimReq 和 ClaimResp 模型类用于领券请求和响应
- 在 VoucherPrintService 接口中新增打印小票方法
- 在VoucherPrintServiceImpl 中实现打印小票和查询券码批次配置的逻辑
- 更新 PriceVoucherBatchConfigMapper 接口和 XML 文件,添加查询券码批次配置的方法
This commit is contained in:
2025-08-30 11:41:37 +08:00
parent 1ac375e491
commit b1deabc7c1
9 changed files with 337 additions and 13 deletions

View File

@@ -44,4 +44,11 @@ public interface PriceVoucherBatchConfigMapper extends BaseMapper<PriceVoucherBa
* @return 统计信息
*/
PriceVoucherBatchConfig selectBatchStats(@Param("batchId") Long batchId);
/**
* 根据券码查询对应的券码批次配置
* @param voucherCode 券码
* @return 券码批次配置
*/
PriceVoucherBatchConfig selectByVoucherCode(@Param("voucherCode") String voucherCode);
}