修改病案室质控终审updateFile方法查询master表多条问题

master
zengwh 3 years ago
parent b2fe310318
commit cf650ab7b1

@ -108,5 +108,5 @@ public interface Archive_MasterMapper {
int insertCommonlyUsed(CommomVo commomVo);
Archive_Master selectCommonlyUsed(Archive_Master record);
List<Archive_Master> selectCommonlyUsed(Archive_Master record);
}

@ -1229,7 +1229,11 @@ public class Archive_MasterServiceImpl implements Archive_MasterService {
String ids = master.getId();
String[] idList = ids.split(",");
List<ArchiveFlowRole> archiveFlowRoles = flowRoleMapper.selectAll();
Archive_Master archive_master_vos = archive_masterMapper.selectCommonlyUsed(master);
List<Archive_Master> archive_masterVos = archive_masterMapper.selectCommonlyUsed(master);
if(CollectionUtils.isEmpty(archive_masterVos)){
return;
}
Archive_Master archive_master_vos = archive_masterVos.get(0);
CommomVo commomVo=new CommomVo();
commomVo.setPatientId(archive_master_vos.getPatientId());
commomVo.setAdmissTimes(archive_master_vos.getVisitId());

Loading…
Cancel
Save