|
|
@@ -72,6 +72,7 @@ public class FsPrescribeController extends BaseController
|
|
|
/**
|
|
|
* 查询处方列表
|
|
|
*/
|
|
|
+ @PreAuthorize("@ss.hasPermi('his:prescribe:list')")
|
|
|
@GetMapping("/list")
|
|
|
public TableDataInfo list(FsPrescribeParam fsPrescribe)
|
|
|
{
|
|
|
@@ -153,6 +154,7 @@ public class FsPrescribeController extends BaseController
|
|
|
* 获取处方详细信息
|
|
|
*/
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
+ @PreAuthorize("@ss.hasPermi('his:prescribe:query')")
|
|
|
@GetMapping(value = "/{prescribeId}")
|
|
|
public AjaxResult getInfo(@PathVariable("prescribeId") Long prescribeId)
|
|
|
{
|
|
|
@@ -170,6 +172,7 @@ public class FsPrescribeController extends BaseController
|
|
|
|
|
|
//获取审核记录数据
|
|
|
@GetMapping(value = "/recordList/{prescribeId}")
|
|
|
+ @PreAuthorize("@ss.hasPermi('his:prescribe:recordList')")
|
|
|
public AjaxResult selectRecordListByPrescribeId(@PathVariable("prescribeId") Long prescribeId){
|
|
|
return AjaxResult.success(prescribeRecordService.selectRecordListByPrescribeId(prescribeId));
|
|
|
}
|
|
|
@@ -190,6 +193,7 @@ public class FsPrescribeController extends BaseController
|
|
|
*/
|
|
|
|
|
|
@GetMapping("/Drug/{prescribeId}")
|
|
|
+ @PreAuthorize("@ss.hasPermi('his:prescribe:drug')")
|
|
|
public AjaxResult getDrugInfo(@PathVariable("prescribeId") Long prescribeId)
|
|
|
{
|
|
|
return AjaxResult.success(fsPrescribeService.selectFsPrescribeDrugByPrescribeIdVO(prescribeId));
|