| | |
| | | import com.ruoyi.inspect.dto.InsOrderPlanDTO; |
| | | import com.ruoyi.inspect.dto.InsOrderPlanProductDto; |
| | | import com.ruoyi.inspect.dto.InsProductBindingDto; |
| | | import com.ruoyi.inspect.dto.SaveInsContextDto; |
| | | import com.ruoyi.inspect.pojo.InsOrder; |
| | | import com.ruoyi.inspect.pojo.InsOrderFactoryVerify; |
| | | import com.ruoyi.inspect.pojo.InsOrderFile; |
| | |
| | | return num == 1 ? Result.success() : Result.fail("æäº¤å¤±è´¥ï¼é¨å项ç®è¿æªè¿è¡æ£éª"); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * |
| | | * @param param 模æ¿å
容 |
| | | * @param currentTable å½å模æ¿id |
| | | * @param sampleId å½åæ ·åid |
| | | * @param orderId å½å订åid |
| | | * @param sonLaboratory åè¯éªå®¤ |
| | | * @return |
| | | */ |
| | | @ApiOperation(value = "ä¿åæ£éªå
容") |
| | | @PostMapping("/saveInsContext") |
| | | public Result<?> saveInsContext(String param, Integer currentTable, Integer sampleId, Integer orderId, String sonLaboratory) { |
| | | Map<String, Object> param2 = JSON.parseObject(param, Map.class); |
| | | insOrderPlanService.saveInsContext(param2, currentTable, sampleId, orderId, sonLaboratory); |
| | | 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()); |
| | | return Result.success(); |
| | | } |
| | | |