|
|
|
@ -2217,8 +2217,8 @@ 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, SecurityUtils.isAdmin(userId) ? null : userId, userName); |
|
|
|
public List<PmsPatientVo.QueryPatientJz> queryPatientJzList(PmsPatientDto.QueryPatientJz param, String dataScope, Long userId, String userName, List<Long> deptIdList) { |
|
|
|
List<PmsPatientVo.QueryPatientJz> queryPatientJzs = patientDao.queryPatientJzList(param, dataScope, SecurityUtils.isAdmin(userId) ? null : userId, userName, deptIdList); |
|
|
|
if (CollUtil.isNotEmpty(queryPatientJzs)) { |
|
|
|
for (PmsPatientVo.QueryPatientJz queryPatientJz : queryPatientJzs) { |
|
|
|
//查询就诊
|
|
|
|
@ -2273,7 +2273,7 @@ public class PmsPatientServiceImpl implements IPmsPatientService { |
|
|
|
|
|
|
|
@Override |
|
|
|
public void exportPatientJz(HttpServletResponse response, PmsPatientDto.QueryPatientJz param, String dataScope, Long userId, String userName) throws IOException { |
|
|
|
List<PmsPatientVo.QueryPatientJz> queryPatientJzs = queryPatientJzList(param, dataScope, userId, userName); |
|
|
|
List<PmsPatientVo.QueryPatientJz> queryPatientJzs = queryPatientJzList(param, dataScope, userId, userName, null); |
|
|
|
if (CollUtil.isEmpty(queryPatientJzs)) { |
|
|
|
throw new BaseException("没有数据"); |
|
|
|
} |
|
|
|
|