|
@@ -4,7 +4,7 @@ import java.util.Arrays;
|
|
import java.util.List;
|
|
import java.util.List;
|
|
|
|
|
|
import com.ruoyi.common.annotation.Anonymous;
|
|
import com.ruoyi.common.annotation.Anonymous;
|
|
-import com.ruoyi.web.work.domain.Obx;
|
|
|
|
|
|
+import io.swagger.annotations.Api;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import io.swagger.annotations.ApiOperation;
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
import org.springframework.security.access.prepost.PreAuthorize;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -22,6 +22,7 @@ import com.ruoyi.common.core.page.TableDataInfo;
|
|
* @author lsw
|
|
* @author lsw
|
|
* @date 2024-07-23
|
|
* @date 2024-07-23
|
|
*/
|
|
*/
|
|
|
|
+@Api(tags = "科室申请管理")
|
|
@Anonymous
|
|
@Anonymous
|
|
@RestController
|
|
@RestController
|
|
@RequestMapping("/work/obr")
|
|
@RequestMapping("/work/obr")
|
|
@@ -29,17 +30,7 @@ public class ObrController extends BaseController {
|
|
@Autowired
|
|
@Autowired
|
|
private IObrService obrService;
|
|
private IObrService obrService;
|
|
|
|
|
|
- @ApiOperation(value = "根据就诊卡号获取患者的全部检测报告",notes = "通过就诊卡号获取")
|
|
|
|
- @Anonymous
|
|
|
|
- //@PreAuthorize("@ss.hasPermi('work:obr:list')")
|
|
|
|
- @GetMapping("/patientObr")
|
|
|
|
- public TableDataInfo getPatientObrByCard(@RequestParam("card") String card){
|
|
|
|
- startPage();
|
|
|
|
- List<Obx> list = obrService.getPatientObrByCard(card);
|
|
|
|
- return getDataTable(list);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
|
|
+ @ApiOperation(value = "获取科室申请列表")
|
|
@PreAuthorize("@ss.hasPermi('work:obr:list')")
|
|
@PreAuthorize("@ss.hasPermi('work:obr:list')")
|
|
@GetMapping("/list")
|
|
@GetMapping("/list")
|
|
public TableDataInfo list(Obr obr){
|
|
public TableDataInfo list(Obr obr){
|
|
@@ -48,6 +39,7 @@ public class ObrController extends BaseController {
|
|
return getDataTable(list);
|
|
return getDataTable(list);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @ApiOperation(value = "根据Id获取科室申请列表")
|
|
@PreAuthorize("@ss.hasPermi('work:obr:query')")
|
|
@PreAuthorize("@ss.hasPermi('work:obr:query')")
|
|
@GetMapping(value = "/detail/{id}")
|
|
@GetMapping(value = "/detail/{id}")
|
|
public AjaxResult detail(@PathVariable("id") Long id){
|
|
public AjaxResult detail(@PathVariable("id") Long id){
|