| | |
| | | |
| | | @ApiOperation(value = "交接按钮") |
| | | @PostMapping("/upPlanUser") |
| | | public Result<?> upPlanUser(Integer userId, Integer orderId, String sonLaboratory) { |
| | | return Result.success(insOrderPlanService.upPlanUser(userId, orderId, sonLaboratory)); |
| | | public Result<?> upPlanUser(@RequestBody UpInsOrderDTO upInsOrderDTO) { |
| | | return Result.success(insOrderPlanService.upPlanUser(upInsOrderDTO.getUserId(), upInsOrderDTO.getOrderId(), upInsOrderDTO.getSonLaboratory())); |
| | | } |
| | | |
| | | @ApiOperation(value = "判断交接的试验室") |
| | |
| | | } |
| | | |
| | | /** |
| | | * @param param 模板内容 |
| | | * @param currentTable 当前模板id |
| | | * @param sampleId 当前样品id |
| | | * @param orderId 当前订单id |
| | | * @param sonLaboratory 子试验室 |
| | | * @param inspectionOrderDTO 检验数据 |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "保存检验内容") |
| | | @PostMapping("/saveInsContext") |
| | | public Result<?> saveInsContext(String param, Integer currentTable, Integer sampleId, Integer orderId, String sonLaboratory,Boolean isDelete) { |
| | | Map<String, Object> param2 = JSON.parseObject(param, Map.class); |
| | | insOrderPlanService.saveInsContext(param2, currentTable, sampleId, orderId, sonLaboratory,isDelete); |
| | | public Result<?> saveInsContext(@RequestBody InspectionOrderDTO inspectionOrderDTO) { |
| | | insOrderPlanService.saveInsContext(inspectionOrderDTO.getParam(), |
| | | inspectionOrderDTO.getCurrentTable(), |
| | | inspectionOrderDTO.getSampleId(), |
| | | inspectionOrderDTO.getOrderId(), |
| | | inspectionOrderDTO.getSonLaboratory(), |
| | | inspectionOrderDTO.getIsDelete()); |
| | | return Result.success(); |
| | | } |
| | | |