value
2024-04-06 143982ce873b4e868d52cb5315f939386c0fb22c
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("提交失败,部分项目还未进行检验");
    }
}