增加查询设备传输相关表查询方法
Some checks are pending
Java CI with Maven / build (11) (push) Waiting to run
Java CI with Maven / build (17) (push) Waiting to run
Java CI with Maven / build (8) (push) Waiting to run
yudao-ui-admin CI / build (14.x) (push) Waiting to run
yudao-ui-admin CI / build (16.x) (push) Waiting to run

This commit is contained in:
lxd 2024-08-15 09:47:52 +08:00
parent 5a6995e357
commit 5086973d12
5 changed files with 27 additions and 2 deletions

View File

@ -178,4 +178,11 @@ public class DicomImagesDO {
@TableField("orgId") @TableField("orgId")
private String orgId; private String orgId;
/**
*dicom 访问前缀
*/
@TableField("urlPrefix")
private String urlPrefix;
} }

View File

@ -66,5 +66,7 @@ public interface DicomworklistMapper extends BaseMapperX<DicomworklistDO> {
// 根据Series的SeriesInst查询Dicomiamge表对应的数据 // 根据Series的SeriesInst查询Dicomiamge表对应的数据
List<DicomImagesDO> GetDicomImageData(@Param("SeriesInst") String SeriesInst, @Param("orgId") String orgId); List<DicomImagesDO> GetDicomImageData(@Param("SeriesInst") String SeriesInst, @Param("orgId") String orgId);
// 根据Series的SeriesInst集合查询Dicomiamge表对应的数据
List<DicomImagesDO> GetDicomImageListData(@Param("seriesInstList") List<String> seriesInstList, @Param("orgId") String orgId);
} }

View File

@ -77,4 +77,6 @@ public interface DicomworklistService {
* 根据Series的SeriesInst查询Dicomiamge表对应的数据 * 根据Series的SeriesInst查询Dicomiamge表对应的数据
*/ */
List<DicomImagesDO> GetDicomImageData(String SeriesInst, String orgId); List<DicomImagesDO> GetDicomImageData(String SeriesInst, String orgId);
List<DicomImagesDO> GetDicomImageListData(List<String> seriesInstList,String orgId);
} }

View File

@ -103,4 +103,9 @@ public class DicomworklistServiceImpl implements DicomworklistService {
return dicomworklistMapper.GetDicomImageData(SeriesInst,orgId); return dicomworklistMapper.GetDicomImageData(SeriesInst,orgId);
} }
@Override
public List<DicomImagesDO> GetDicomImageListData(List<String> seriesInstList, String orgId) {
return dicomworklistMapper.GetDicomImageListData(seriesInstList,orgId);
}
} }

View File

@ -21,12 +21,21 @@
</select> </select>
<select id="GetDicomSeriesData" <select id="GetDicomSeriesData"
resultType="cn.iocoder.yudao.module.system.dal.dataobject.dicomworklist.DicomSeriesDO"> resultType="cn.iocoder.yudao.module.system.dal.dataobject.dicomworklist.DicomSeriesDO">
select * from dicomseries where StudyInsta=#{StudyInsta} and orgId=${orgId} select * from dicomseries where StudyInsta=#{StudyInsta} and orgId=#{orgId} and BodyPartEx is not null and BodyPartEx!='' ORDER BY SeriesNumb
</select> </select>
<select id="GetDicomImageData" <select id="GetDicomImageData"
resultType="cn.iocoder.yudao.module.system.dal.dataobject.dicomworklist.DicomImagesDO"> resultType="cn.iocoder.yudao.module.system.dal.dataobject.dicomworklist.DicomImagesDO">
select * from dicomimages where SeriesInst=#{SeriesInst} and orgId=${orgId} select * from dicomimages where SeriesInst=#{SeriesInst} and orgId=#{orgId}
</select>
<select id="GetDicomImageListData"
resultType="cn.iocoder.yudao.module.system.dal.dataobject.dicomworklist.DicomImagesDO">
SELECT * FROM dicomimages
WHERE orgId=#{orgId} and SeriesInst IN
<foreach item="seriesInst" collection="seriesInstList" open="(" separator="," close=")">
#{seriesInst}
</foreach>
</select> </select>
</mapper> </mapper>