| | |
| | | /** |
| | | * 查询体检记录列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:order:list')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:order:list')") |
| | | @GetMapping("/list") |
| | | @ApiOperation(value = "查询体检记录列表(默认)") |
| | | public TableDataInfo list(TjOrder tjOrder) { |
| | |
| | | /** |
| | | * 导出体检记录列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:order:export')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:order:export')") |
| | | @Log(title = "体检记录", businessType = BusinessType.EXPORT) |
| | | @PostMapping("/export") |
| | | @ApiOperation(value = "导出体检记录列表") |
| | |
| | | /** |
| | | * 获取体检记录详细信息 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:order:query')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:order:query')") |
| | | @GetMapping(value = "/{orderId}") |
| | | @ApiOperation(value = "获取体检记录详细信息") |
| | | public AjaxResult getInfo(@PathVariable("orderId") Long orderId) { |
| | |
| | | |
| | | //个人 |
| | | if ("2".equals(tjOrder.getTjType())) { |
| | | asyncService.extracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); |
| | | // asyncService.extracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); |
| | | |
| | | asyncService.newSaveextracted(tjOrder, tjCustomer, discount, sysUser, tjReservation, tjFlowingWater); |
| | | } |
| | | return AjaxResult.success(tjNumber); |
| | | } |
| | |
| | | /** |
| | | * 修改体检记录 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:order:edit')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:order:edit')") |
| | | @Log(title = "体检记录", businessType = BusinessType.UPDATE) |
| | | @PutMapping |
| | | @ApiOperation(value = "修改体检记录") |
| | |
| | | /** |
| | | * 删除体检记录 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('hosp:order:remove')") |
| | | // @PreAuthorize("@ss.hasPermi('hosp:order:remove')") |
| | | @Log(title = "体检记录", businessType = BusinessType.DELETE) |
| | | @DeleteMapping("/{orderIds}") |
| | | @ApiOperation(value = "删除体检记录") |