修改影像逻辑

This commit is contained in:
lxd 2024-08-15 13:59:01 +08:00
parent 6f0e433a2f
commit 2e889a77d4
2 changed files with 3 additions and 3 deletions
yudao-module-system/yudao-module-system-biz/src/main/resources/mapper/dicomworklist
yudao-module-tblist/yudao-module-tblist-biz/src/main/java/cn/iocoder/yudao/module/tblist/controller/admin/patientexamlist

View File

@ -10,7 +10,7 @@
-->
<select id="GetPatientIdData" resultType="cn.iocoder.yudao.module.system.dal.dataobject.dicomworklist.DicompatientDO">
select * from dicompatients where PatientID=#{patientId} and dataSync='0' and orgId=#{orgId}
select * from dicompatients where PatientID=#{patientId} and dataSync='1' and orgId=#{orgId}
</select>
<select id="GetPatientData" resultType="cn.iocoder.yudao.module.system.dal.dataobject.dicomworklist.DicompatientDO">
select * from dicompatients where dataSync='0' and orgId=#{orgId}

View File

@ -103,7 +103,7 @@ public class PatientexamlistController {
PageResult<PatientexamlistDO> pageResult = patientexamlistService.getPatientexamlistPage(pageReqVO);
List<PatientexamlistDO> doList=new ArrayList<>();
String devicetype=pageReqVO.getDeviceType();
if(devicetype!=null&&devicetype.equals("US"))//表示只查询超声的数据
if(devicetype!=null&&devicetype.contains("US"))//表示只查询超声的数据
{
// 筛选条件
doList = pageResult.getList().stream()
@ -114,7 +114,7 @@ public class PatientexamlistController {
{
// 筛选条件
doList = pageResult.getList().stream()
.filter(PatientexamlistDO -> !(PatientexamlistDO.getDeviceType().equals("US")))
.filter(PatientexamlistDO -> !(PatientexamlistDO.getDeviceType().contains("US")))
.collect(Collectors.toList());
}
else //devicetype为空查询全部数据