修改字段值
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
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:
parent
2e889a77d4
commit
e193d526d7
@ -65,6 +65,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表对应的数据
|
// 根据Series的SeriesInst集合查询Dicomiamge表对应的数据
|
||||||
List<DicomImagesDO> GetDicomImageListData(@Param("seriesInstList") List<String> seriesInstList, @Param("orgId") String orgId);
|
List<DicomImagesDO> GetDicomImageListData(@Param("seriesInstList") List<String> seriesInstList, @Param("orgId") String orgId);
|
||||||
|
|
||||||
@ -77,6 +78,17 @@ public interface DicomworklistMapper extends BaseMapperX<DicomworklistDO> {
|
|||||||
@Select(" SELECT t1.* FROM dicomseries t1 WHERE t1.StudyInsta=#{studyInsta} ")
|
@Select(" SELECT t1.* FROM dicomseries t1 WHERE t1.StudyInsta=#{studyInsta} ")
|
||||||
List<DicomSeriesDO> GetDicomSeriesByStudyInsta(@Param("studyInsta") String studyInsta);
|
List<DicomSeriesDO> GetDicomSeriesByStudyInsta(@Param("studyInsta") String studyInsta);
|
||||||
|
|
||||||
|
@Select(" SELECT CONCAT(\n" +
|
||||||
|
"(SELECT CAST(COUNT(*) AS CHAR) FROM dicomstudies t1\n" +
|
||||||
|
" LEFT JOIN dicomseries t2 ON t1.StudyInsta=t2.StudyInsta\n" +
|
||||||
|
" WHERE t1.PatientID=#{patientID} AND t1.StudyInsta=#{studyInsta})\n" +
|
||||||
|
",'/',\n" +
|
||||||
|
"(SELECT CAST(COUNT(*) AS CHAR) FROM dicomstudies t1\n" +
|
||||||
|
" LEFT JOIN dicomseries t2 ON t1.StudyInsta=t2.StudyInsta\n" +
|
||||||
|
" LEFT JOIN dicomimages t3 ON t2.SeriesInst=t3.SeriesInst\n" +
|
||||||
|
" WHERE t1.PatientID=#{patientID} AND t1.StudyInsta=#{studyInsta})) ")
|
||||||
|
String GetSeDcByPatientIDAndStudyInsta(@Param("patientID") String patientID, @Param("studyInsta") String studyInsta);
|
||||||
|
|
||||||
@Update(" UPDATE dicompatients t1 SET t1.dataSync='1' WHERE t1.PatientID=#{patientID} ")
|
@Update(" UPDATE dicompatients t1 SET t1.dataSync='1' WHERE t1.PatientID=#{patientID} ")
|
||||||
int UpdateDataSyncOfDicompatientsByPatientID(@Param("patientID") String patientID);
|
int UpdateDataSyncOfDicompatientsByPatientID(@Param("patientID") String patientID);
|
||||||
}
|
}
|
@ -143,11 +143,11 @@ public class PatientexamlistServiceImpl implements PatientexamlistService {
|
|||||||
patientexamlist.setReportstatus("待分析");
|
patientexamlist.setReportstatus("待分析");
|
||||||
patientexamlist.setApplicationDate(dateTime);
|
patientexamlist.setApplicationDate(dateTime);
|
||||||
patientexamlist.setBillDoctorDepartment("影像科");
|
patientexamlist.setBillDoctorDepartment("影像科");
|
||||||
|
patientexamlist.setSeDc(dicomworklistMapper.GetSeDcByPatientIDAndStudyInsta(dicomStudie.getPatientID(),dicomStudie.getStudyInsta()));
|
||||||
patientexamlist.setCreateDate(dateTime);
|
patientexamlist.setCreateDate(dateTime);
|
||||||
patientexamlist.setOrgId(dicomStudie.getOrgId());
|
patientexamlist.setOrgId(dicomStudie.getOrgId());
|
||||||
if (dicomSeries != null && dicomSeries.size() > 0) {
|
if (dicomSeries != null && dicomSeries.size() > 0) {
|
||||||
patientexamlist.setOrgName(dicomSeries.get(0).getInstitutio());
|
patientexamlist.setOrgName(dicomSeries.get(0).getInstitutio());
|
||||||
//patientexamlist.setSeDc(null);
|
|
||||||
}
|
}
|
||||||
//框架需要
|
//框架需要
|
||||||
//patientexamlist.setExamId(null);
|
//patientexamlist.setExamId(null);
|
||||||
|
Loading…
Reference in New Issue
Block a user