SheetServerFeign.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. package com.dk.common.feign;
  2. import com.dk.common.infrastructure.constant.Constant;
  3. import com.dk.common.response.ResponseResultVO;
  4. import io.swagger.annotations.ApiOperation;
  5. import org.springframework.cloud.openfeign.FeignClient;
  6. import org.springframework.web.bind.annotation.PostMapping;
  7. import org.springframework.web.bind.annotation.RequestBody;
  8. import java.util.List;
  9. import java.util.Map;
  10. /**
  11. * @desc : SheetServerFeign
  12. * @author : 洪旭东
  13. * @date : 2024-01-03 09:41
  14. */
  15. @FeignClient(name = Constant.SHEET_PREFIX + Constant.SERVER, contextId = "sheet")
  16. public interface SheetServerFeign {
  17. /**
  18. * @desc : 新建报工
  19. * @author : 洪旭东
  20. * @date : 2024-01-03 09:38
  21. */
  22. @ApiOperation(
  23. value = "新建报工",
  24. notes = "新建报工"
  25. )
  26. @PostMapping(Constant.SHEET_REPORT + "/insert")
  27. ResponseResultVO<?> insert(@RequestBody List<Map<String, Object>> sheetDispatchVOList);
  28. /**
  29. * @desc : 撤销报工
  30. * @author : 洪旭东
  31. * @date : 2024-01-03 15:35
  32. */
  33. @ApiOperation(
  34. value = "撤销报工",
  35. notes = "撤销报工"
  36. )
  37. @PostMapping(Constant.SHEET_REPORT + "/report_undo")
  38. ResponseResultVO<?> reportUndo(@RequestBody List<Long> pdtUniqueIdList);
  39. }