| | |
| | | @ApiOperation(value = "保存检验内容") |
| | | @PostMapping("/saveInsContext") |
| | | public Result<?> saveInsContext(@RequestBody SaveInsContextDto saveInsContextDto) { |
| | | Map<String, Object> param2 = JSON.parseObject(saveInsContextDto.getParam(), Map.class); |
| | | insOrderPlanService.saveInsContext(param2, saveInsContextDto.getCurrentTable(), saveInsContextDto.getSampleId(), saveInsContextDto.getOrderId(), saveInsContextDto.getSonLaboratory()); |
| | | insOrderPlanService.saveInsContext(saveInsContextDto); |
| | | return Result.success(); |
| | | } |
| | | |
| | |
| | | @GetMapping("/getBindingProductByProductId") |
| | | public Result<List<InsProduct>> getBindingProductByProductId(Integer productId) { |
| | | return Result.success(insProductService.list(Wrappers.<InsProduct>lambdaQuery() |
| | | .eq(InsProduct::getBindingProductId, productId))); |
| | | .eq(InsProduct::getBindingProductId, productId) |
| | | .orderByAsc(InsProduct::getSort))); |
| | | } |
| | | |
| | | |