1.排队取号 取消排号接口

This commit is contained in:
2024-09-13 15:22:00 +08:00
parent a82e723237
commit 970971cde9
4 changed files with 36 additions and 0 deletions

View File

@@ -1,5 +1,7 @@
package com.chaozhanggui.system.cashierservice.controller;
import com.chaozhanggui.system.cashierservice.entity.dto.BaseCallTableDTO;
import com.chaozhanggui.system.cashierservice.entity.dto.CancelCallQueueDTO;
import com.chaozhanggui.system.cashierservice.entity.dto.TakeNumberDTO;
import com.chaozhanggui.system.cashierservice.service.TbCallService;
import com.chaozhanggui.system.cashierservice.sign.Result;
@@ -46,4 +48,11 @@ public class TbCallTableController {
return Result.successWithData(tbCallService.getAllInfo(shopId));
}
@PutMapping("/cancel")
public Result cancel(
@Validated @RequestParam CancelCallQueueDTO cancelCallQueueDTO
) {
return Result.successWithData(tbCallService.cancel(cancelCallQueueDTO));
}
}