調整抽樣計畫api url

This commit is contained in:
YiLiLin 2023-05-30 15:18:27 +08:00
parent 9ff5d85ffa
commit a46ead808a
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestBody;
@FeignClient(contextId = "remoteQmsSamplePlanService", value = "iep-qms")
public interface RemoteQmsSamplePlanService {
@GetMapping("/sample-plan/{handle}")
@GetMapping("/sample-plan/{handle}/info")
R<QmsSamplePlan> getById(@PathVariable("handle") String handle);
@PostMapping("/sample-plan/calculate")

View File

@ -111,7 +111,7 @@ public class QmsSamplePlanController {
return R.ok(qmsSampleRatioService.list());
}
@GetMapping("/{handle}")
@GetMapping("/{handle}/info")
public R getById(@PathVariable("handle") String handle) {
return R.ok(qmsSamplePlanService.getById(handle));
}