調整抽樣計畫api url
This commit is contained in:
parent
9ff5d85ffa
commit
a46ead808a
@ -12,7 +12,7 @@ import org.springframework.web.bind.annotation.RequestBody;
|
|||||||
@FeignClient(contextId = "remoteQmsSamplePlanService", value = "iep-qms")
|
@FeignClient(contextId = "remoteQmsSamplePlanService", value = "iep-qms")
|
||||||
public interface RemoteQmsSamplePlanService {
|
public interface RemoteQmsSamplePlanService {
|
||||||
|
|
||||||
@GetMapping("/sample-plan/{handle}")
|
@GetMapping("/sample-plan/{handle}/info")
|
||||||
R<QmsSamplePlan> getById(@PathVariable("handle") String handle);
|
R<QmsSamplePlan> getById(@PathVariable("handle") String handle);
|
||||||
|
|
||||||
@PostMapping("/sample-plan/calculate")
|
@PostMapping("/sample-plan/calculate")
|
||||||
|
|||||||
@ -111,7 +111,7 @@ public class QmsSamplePlanController {
|
|||||||
return R.ok(qmsSampleRatioService.list());
|
return R.ok(qmsSampleRatioService.list());
|
||||||
}
|
}
|
||||||
|
|
||||||
@GetMapping("/{handle}")
|
@GetMapping("/{handle}/info")
|
||||||
public R getById(@PathVariable("handle") String handle) {
|
public R getById(@PathVariable("handle") String handle) {
|
||||||
return R.ok(qmsSamplePlanService.getById(handle));
|
return R.ok(qmsSamplePlanService.getById(handle));
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user