mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-13 05:12:07 +08:00
打包接口,工序加工-板材类型查询修改
This commit is contained in:
+29
@@ -0,0 +1,29 @@
|
||||
package com.cf.imes.module.system.api.process;
|
||||
|
||||
|
||||
import com.cf.imes.module.system.enums.ApiConstants;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.springframework.cloud.openfeign.FeignClient;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
@FeignClient(name = ApiConstants.NAME) // TODO 晨丰:fallbackFactory =
|
||||
@Tag(name = "RPC 服务 - 工序")
|
||||
public interface ProcessApi {
|
||||
|
||||
|
||||
String PREFIX = ApiConstants.PREFIX + "/process";
|
||||
|
||||
|
||||
@GetMapping(PREFIX + "/getProcess")
|
||||
@Operation(summary = "查看当前工序的信息")
|
||||
// @Parameter(name = "processId", description = "工序ID", required = true, example = "1024")
|
||||
BigDecimal getProcess(/*@RequestParam("processId") Long processId*/);
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user