代码格式化修改
This commit is contained in:
parent
b3e543fe5d
commit
8738919289
@ -3,7 +3,6 @@ package com.xinelu.mobile.controller.appletpersoncenter;
|
||||
import com.xinelu.common.core.controller.BaseController;
|
||||
import com.xinelu.common.core.domain.AjaxResult;
|
||||
import com.xinelu.common.core.page.TableDataInfo;
|
||||
import com.xinelu.manage.service.patientinfo.IPatientInfoService;
|
||||
import com.xinelu.mobile.dto.appletpersoncenter.HealthRecordDTO;
|
||||
import com.xinelu.mobile.service.appletpersoncenter.AppletPersonCenterService;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
@ -27,8 +26,6 @@ public class AppletPersonCenterController extends BaseController {
|
||||
|
||||
@Resource
|
||||
private AppletPersonCenterService appletPersonCenterService;
|
||||
@Resource
|
||||
private IPatientInfoService patientInfoService;
|
||||
|
||||
/**
|
||||
* 院后微信小程序一键登录接口
|
||||
@ -62,8 +59,8 @@ public class AppletPersonCenterController extends BaseController {
|
||||
/**
|
||||
* 根据居民表id查询患者健康档案信息
|
||||
*
|
||||
* @param residentId
|
||||
* @return
|
||||
* @param residentId 居民患者id
|
||||
* @return 分页列表数据
|
||||
*/
|
||||
@GetMapping("/getHealthRecordListByResidentId")
|
||||
public TableDataInfo getHealthRecordListById(Long residentId) {
|
||||
@ -75,7 +72,7 @@ public class AppletPersonCenterController extends BaseController {
|
||||
/**
|
||||
* 根据id获取患者患者健康档案信息
|
||||
*
|
||||
* @param id
|
||||
* @param id 居民患者id
|
||||
* @return PatientInfo
|
||||
*/
|
||||
@GetMapping("/getHealthRecordInfoById")
|
||||
|
||||
@ -16,14 +16,15 @@ public interface AppletPersonCenterMapper {
|
||||
/**
|
||||
* 根据居民表id查询患者健康档案信息
|
||||
*
|
||||
* @param residentID
|
||||
* @return
|
||||
* @param residentId 居民患者id
|
||||
* @return 列表信息
|
||||
*/
|
||||
List<HealthRecordDTO> getHealthRecordListByResidentID(Long residentID);
|
||||
List<HealthRecordDTO> getHealthRecordListByResidentId(Long residentId);
|
||||
|
||||
/**
|
||||
* 根绝id获取患者蒋康档案详细信息
|
||||
* @param id
|
||||
*
|
||||
* @param id 居民患者id
|
||||
* @return 健康档案详细信息
|
||||
*/
|
||||
|
||||
|
||||
@ -32,18 +32,18 @@ public interface AppletPersonCenterService {
|
||||
AjaxResult getResidentInfoById(Long residentId);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 根据居民表id查询患者健康档案信息
|
||||
*
|
||||
* @param residentId
|
||||
* @param residentId 居民患者id
|
||||
* @return 列表信息
|
||||
*/
|
||||
List<HealthRecordDTO> getHealthRecordListByResidentId(Long residentId);
|
||||
|
||||
/**
|
||||
* 根绝id获取患者健康档案详细信息
|
||||
* @param id
|
||||
*
|
||||
* @param id 居民患者id
|
||||
* @return 监控档案详细信息
|
||||
*/
|
||||
|
||||
|
||||
@ -130,19 +130,19 @@ public class AppletPersonCenterServiceImpl implements AppletPersonCenterService
|
||||
/**
|
||||
* 根据居民表id查询患者健康档案信息
|
||||
*
|
||||
* @param residentId
|
||||
* @param residentId 居民患者id
|
||||
* @return 健康档案列表
|
||||
*/
|
||||
@Override
|
||||
public List<HealthRecordDTO> getHealthRecordListByResidentId(Long residentId) {
|
||||
return appletPersonCenterMapper.getHealthRecordListByResidentID(residentId);
|
||||
return appletPersonCenterMapper.getHealthRecordListByResidentId(residentId);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 根据id获取患者患者健康档案信息
|
||||
*
|
||||
* @param id
|
||||
* @param id 居民患者id
|
||||
* @return PatientInfo
|
||||
*/
|
||||
@Override
|
||||
@ -154,7 +154,6 @@ public class AppletPersonCenterServiceImpl implements AppletPersonCenterService
|
||||
} else if (StringUtils.equals(healthRecordInfoDTO.getSignStatus(), "IN_SIGN")) {
|
||||
healthRecordInfoDTO.setSignStatus("是");
|
||||
}
|
||||
|
||||
return healthRecordInfoDTO;
|
||||
}
|
||||
}
|
||||
|
||||
@ -27,10 +27,10 @@
|
||||
</resultMap>
|
||||
|
||||
|
||||
<select id="getHealthRecordListByResidentID" parameterType="long" resultMap="HealthRecordResult">
|
||||
<select id="getHealthRecordListByResidentId" parameterType="long" resultMap="HealthRecordResult">
|
||||
select id, hospital_agency_name, department_name, visit_date
|
||||
from patient_info
|
||||
where resident_id = #{residentID}
|
||||
where resident_id = #{residentId}
|
||||
</select>
|
||||
|
||||
<select id="getHealthRecordInfoById" parameterType="long" resultMap="HealthRecordInfo">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user