|
@@ -153,17 +153,6 @@ public class FsPrescribeController extends BaseController
|
|
|
return AjaxResult.success(fsPrescribe);
|
|
return AjaxResult.success(fsPrescribe);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
- @GetMapping(value = "/queryIdCard/{orderId}")
|
|
|
|
|
- @Log(title = "查看身份证", businessType = BusinessType.GRANT)
|
|
|
|
|
- @PreAuthorize("@ss.hasPermi('his:prescribe:queryIdCard')")
|
|
|
|
|
- public R getPhone(@PathVariable("orderId") Long orderId)
|
|
|
|
|
- {
|
|
|
|
|
- FsPatient fsPatient = fsPatientMapper.selectFsPatientByPatientId(orderId);
|
|
|
|
|
- String idCard = fsPatient.getIdCard();
|
|
|
|
|
- return R.ok().put("data",idCard);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
/**
|
|
/**
|
|
|
* 获取处方详细信息
|
|
* 获取处方详细信息
|
|
|
*/
|
|
*/
|
|
@@ -177,7 +166,7 @@ public class FsPrescribeController extends BaseController
|
|
|
/**
|
|
/**
|
|
|
* 新增处方
|
|
* 新增处方
|
|
|
*/
|
|
*/
|
|
|
- @Log(title = "处方", businessType = BusinessType.INSERT)
|
|
|
|
|
|
|
+ @Log(title = "新增处方", businessType = BusinessType.INSERT)
|
|
|
@PostMapping
|
|
@PostMapping
|
|
|
public AjaxResult add(@RequestBody FsPrescribe fsPrescribe)
|
|
public AjaxResult add(@RequestBody FsPrescribe fsPrescribe)
|
|
|
{
|
|
{
|
|
@@ -187,7 +176,7 @@ public class FsPrescribeController extends BaseController
|
|
|
/**
|
|
/**
|
|
|
* 修改处方
|
|
* 修改处方
|
|
|
*/
|
|
*/
|
|
|
- @Log(title = "处方", businessType = BusinessType.UPDATE)
|
|
|
|
|
|
|
+ @Log(title = "修改处方", businessType = BusinessType.UPDATE)
|
|
|
@PutMapping
|
|
@PutMapping
|
|
|
public AjaxResult edit(@RequestBody FsPrescribe fsPrescribe)
|
|
public AjaxResult edit(@RequestBody FsPrescribe fsPrescribe)
|
|
|
{
|
|
{
|
|
@@ -197,7 +186,7 @@ public class FsPrescribeController extends BaseController
|
|
|
/**
|
|
/**
|
|
|
* 删除处方
|
|
* 删除处方
|
|
|
*/
|
|
*/
|
|
|
- @Log(title = "处方", businessType = BusinessType.DELETE)
|
|
|
|
|
|
|
+ @Log(title = "删除处方", businessType = BusinessType.DELETE)
|
|
|
@DeleteMapping("/{prescribeIds}")
|
|
@DeleteMapping("/{prescribeIds}")
|
|
|
public AjaxResult remove(@PathVariable Long[] prescribeIds)
|
|
public AjaxResult remove(@PathVariable Long[] prescribeIds)
|
|
|
{
|
|
{
|