创建订单保存sendType
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
package com.chaozhanggui.system.cashierservice.controller;
|
||||
|
||||
|
||||
import com.chaozhanggui.system.cashierservice.entity.dto.ClearTableDTO;
|
||||
import com.chaozhanggui.system.cashierservice.service.ShopInfoService;
|
||||
import com.chaozhanggui.system.cashierservice.sign.CodeEnum;
|
||||
import com.chaozhanggui.system.cashierservice.sign.Result;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
@@ -47,6 +49,13 @@ public class ShopInfoController {
|
||||
return shopInfoService.queryShopTable(shopId, areaId, status, page, pageSize);
|
||||
}
|
||||
|
||||
@PutMapping("clearTable")
|
||||
public Result queryShopTable(
|
||||
@RequestBody ClearTableDTO clearTableDTO
|
||||
) {
|
||||
return Result.success(CodeEnum.SUCCESS, shopInfoService.cleatTable(clearTableDTO));
|
||||
}
|
||||
|
||||
@GetMapping("queryDuty")
|
||||
public Result queryDuty(@RequestHeader("token") String token,
|
||||
@RequestParam("page") int page,
|
||||
|
||||
Reference in New Issue
Block a user