| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- package com.dk.common.feign;
- import com.dk.common.infrastructure.constant.Constant;
- import com.dk.common.response.ResponseResultVO;
- import io.swagger.annotations.ApiOperation;
- import org.springframework.cloud.openfeign.FeignClient;
- import org.springframework.web.bind.annotation.PostMapping;
- import org.springframework.web.bind.annotation.RequestBody;
- import java.util.List;
- import java.util.Map;
- /**
- * @desc : SheetServerFeign
- * @author : 洪旭东
- * @date : 2024-01-03 09:41
- */
- @FeignClient(name = Constant.SHEET_PREFIX + Constant.SERVER, contextId = "sheet")
- public interface SheetServerFeign {
- /**
- * @desc : 新建报工
- * @author : 洪旭东
- * @date : 2024-01-03 09:38
- */
- @ApiOperation(
- value = "新建报工",
- notes = "新建报工"
- )
- @PostMapping(Constant.SHEET_REPORT + "/insert")
- ResponseResultVO<?> insert(@RequestBody List<Map<String, Object>> sheetDispatchVOList);
- /**
- * @desc : 撤销报工
- * @author : 洪旭东
- * @date : 2024-01-03 15:35
- */
- @ApiOperation(
- value = "撤销报工",
- notes = "撤销报工"
- )
- @PostMapping(Constant.SHEET_REPORT + "/report_undo")
- ResponseResultVO<?> reportUndo(@RequestBody List<Long> pdtUniqueIdList);
- }
|