1.排队取号 取消排号接口
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user