value
2024-04-02 4c563cb7274be53e15f8ce5537ef6e57e15b6458
inspect-server/src/main/java/com/yuanchu/mom/controller/InsOrderPlanController.java
@@ -57,4 +57,11 @@
    public Result<?> verifyPlan(Integer orderId, String laboratory, Integer type, String tell) {
        return Result.success(insOrderPlanService.verifyPlan(orderId, laboratory, type, tell));
    }
    @ApiOperation(value = "检验任务提交")
    @PostMapping("/submitPlan")
    public Result<?> submitPlan(Integer orderId, String laboratory) {
        int num = insOrderPlanService.submitPlan(orderId, laboratory);
        return num==1?Result.success():Result.fail("提交失败,部分项目还未进行检验");
    }
}