|
|
|
@ -107,7 +107,7 @@ public class PmsPatientServiceImpl implements IPmsPatientService { |
|
|
|
String hash = Md5Utils.hash(param.getIdCard().substring(2, 14)); |
|
|
|
param.setIdCard(param.getIdCard().substring(0, 2) + hash + param.getIdCard().substring(14, 18)); |
|
|
|
} |
|
|
|
return patientDao.queryPatientList(param, dataScope, userId, userName); |
|
|
|
return patientDao.queryPatientList(param, dataScope, SecurityUtils.isAdmin(userId) ? null : userId, userName); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
@ -2150,7 +2150,7 @@ public class PmsPatientServiceImpl implements IPmsPatientService { |
|
|
|
|
|
|
|
@Override |
|
|
|
public List<PmsPatientVo.QueryPatientJz> queryPatientJzList(PmsPatientDto.QueryPatientJz param, String dataScope, Long userId, String userName) { |
|
|
|
List<PmsPatientVo.QueryPatientJz> queryPatientJzs = patientDao.queryPatientJzList(param, dataScope, userId, userName); |
|
|
|
List<PmsPatientVo.QueryPatientJz> queryPatientJzs = patientDao.queryPatientJzList(param, dataScope, SecurityUtils.isAdmin(userId) ? null : userId, userName); |
|
|
|
if (CollUtil.isNotEmpty(queryPatientJzs)) { |
|
|
|
for (PmsPatientVo.QueryPatientJz queryPatientJz : queryPatientJzs) { |
|
|
|
//查询就诊
|
|
|
|
|