修改问题。
This commit is contained in:
parent
6f76ab1e63
commit
491229fc0f
@ -56,7 +56,7 @@ public class PatientPreHospitalizationController extends BaseController {
|
|||||||
* 查询预住院患者信息列表
|
* 查询预住院患者信息列表
|
||||||
*/
|
*/
|
||||||
@ApiOperation("查询预住院患者信息列表")
|
@ApiOperation("查询预住院患者信息列表")
|
||||||
@PreAuthorize("@ss.hasPermi('manage:patientInfo:list')")
|
@PreAuthorize("@ss.hasPermi('manage:preHospitalized:list')")
|
||||||
@GetMapping("/list")
|
@GetMapping("/list")
|
||||||
public TableDataInfo list(PatientInfoDto patientInfo) {
|
public TableDataInfo list(PatientInfoDto patientInfo) {
|
||||||
startPage();
|
startPage();
|
||||||
@ -67,7 +67,7 @@ public class PatientPreHospitalizationController extends BaseController {
|
|||||||
/**
|
/**
|
||||||
* 获取住院患者信息详细信息
|
* 获取住院患者信息详细信息
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('manage:patientInfo:query')")
|
@PreAuthorize("@ss.hasPermi('manage:preHospitalized:query')")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
public AjaxResult getInfo(@PathVariable("id") Long id) {
|
||||||
return AjaxResult.success(preHospitalizationService.getById(id));
|
return AjaxResult.success(preHospitalizationService.getById(id));
|
||||||
@ -76,7 +76,7 @@ public class PatientPreHospitalizationController extends BaseController {
|
|||||||
/**
|
/**
|
||||||
* 修改预住院患者信息
|
* 修改预住院患者信息
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('manage:patientInfo:edit')")
|
@PreAuthorize("@ss.hasPermi('manage:preHospitalized:edit')")
|
||||||
@Log(title = "预住院患者", businessType = BusinessType.UPDATE)
|
@Log(title = "预住院患者", businessType = BusinessType.UPDATE)
|
||||||
@PutMapping
|
@PutMapping
|
||||||
public R<String> edit(@RequestBody PatientPreHospitalization preHospitalization) {
|
public R<String> edit(@RequestBody PatientPreHospitalization preHospitalization) {
|
||||||
@ -87,7 +87,7 @@ public class PatientPreHospitalizationController extends BaseController {
|
|||||||
/**
|
/**
|
||||||
* 删除预住院患者信息
|
* 删除预住院患者信息
|
||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('manage:patientInfo:remove')")
|
@PreAuthorize("@ss.hasPermi('manage:preHospitalized:remove')")
|
||||||
@Log(title = "患者信息", businessType = BusinessType.DELETE)
|
@Log(title = "患者信息", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
public AjaxResult remove(@PathVariable Long[] ids) {
|
||||||
|
|||||||
@ -347,7 +347,8 @@ public class PatientVisitRecordServiceImpl implements IPatientVisitRecordService
|
|||||||
}
|
}
|
||||||
// 查询院区id
|
// 查询院区id
|
||||||
if (StringUtils.isNotBlank(item.getCampusAgencyName())) {
|
if (StringUtils.isNotBlank(item.getCampusAgencyName())) {
|
||||||
agency.setAgencyName(item.getWardName());
|
agency.setParentId(patientVisitRecord.getHospitalAgencyId());
|
||||||
|
agency.setAgencyName(item.getCampusAgencyName());
|
||||||
agency.setNodeType(NodeTypeConstants.CAMPUS);
|
agency.setNodeType(NodeTypeConstants.CAMPUS);
|
||||||
List<Agency> campusList = agencyMapper.selectAgencyList(agency);
|
List<Agency> campusList = agencyMapper.selectAgencyList(agency);
|
||||||
if (CollectionUtils.isNotEmpty(campusList)) {
|
if (CollectionUtils.isNotEmpty(campusList)) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user