超声和影像增加收藏方法
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-09-03 15:27:01 +08:00
parent 515e2261af
commit 557667c78f
3 changed files with 7 additions and 1 deletions

View File

@ -175,4 +175,9 @@ public class PatientexamlistDO extends BaseDO {
@TableField(value = "StudyInsta")
private String StudyInsta;
@TableField(value = "isFavourite")
private String isFavourite;
@TableField(value = "FavouriteTime",updateStrategy = FieldStrategy.IGNORED)
private LocalDateTime FavouriteTime;
}

View File

@ -73,6 +73,7 @@ public interface PatientexamlistMapper extends BaseMapperX<PatientexamlistDO> {
.eqIfPresent(PatientexamlistDO::getDiagDoctor, reqVO.getDiagDoctor())
.betweenIfPresent(PatientexamlistDO::getCreateTime, reqVO.getCreateTime())
.eqIfPresent(PatientexamlistDO::getOrgId, reqVO.getHighLevelOrgId())
.eqIfPresent(PatientexamlistDO::getIsFavourite,reqVO.getIsFavourite())
.orderByDesc(PatientexamlistDO::getId));
}

View File

@ -119,7 +119,7 @@ public class ultrasonicController {
{
// 筛选条件
filteredList = filteredList.stream()
.filter(ultrasonicDO -> ultrasonicDO.getPrivateDoctorId().isEmpty())
.filter(ultrasonicDO -> (ultrasonicDO.getPrivateDoctorId() == null || ultrasonicDO.getPrivateDoctorId().isEmpty()))
.collect(Collectors.toList());
// 定义一个比较器先按pid是否为"0"排序然后按pid的自然顺序排序