| | |
| | | import com.alibaba.fastjson.JSON; |
| | | import com.alibaba.fastjson.JSONArray; |
| | | import com.yuanchu.mom.annotation.ValueAuth; |
| | | import com.yuanchu.mom.pojo.InsSample; |
| | | import com.yuanchu.mom.pojo.StandardProductList; |
| | | import com.yuanchu.mom.pojo.StandardTree; |
| | | import com.yuanchu.mom.service.InsOrderService; |
| | |
| | | return Result.success(standardTreeService.delStandardTree(tree)); |
| | | } |
| | | |
| | | @ApiOperation(value = "外部获取检测数据") |
| | | @GetMapping("/getOrderThing") |
| | | @ApiOperation(value = "通过标准树查询对应的检验项目") |
| | | @PostMapping("/selectStandardProductList") |
| | | @ValueAuth |
| | | public Result getOrderThing(){ |
| | | return Result.success(insOrderService.getOrderThing()); |
| | | public Result selectStandardProductList(@RequestBody InsSample insSample){ |
| | | return Result.success(standardProductListService.selectStandardProductList(insSample)); |
| | | } |
| | | |
| | | } |