|
|
@@ -156,7 +156,9 @@ public class DataManageServiceImpl implements DataManageService {
|
|
|
public DataManageVO getStudyDetail(String studyId) {
|
|
|
// 查询检查信息
|
|
|
StudyInfo study = studyInfoMapper.selectOne(
|
|
|
- new LambdaQueryWrapper<StudyInfo>().eq(StudyInfo::getStudyId, studyId)
|
|
|
+ new LambdaQueryWrapper<StudyInfo>()
|
|
|
+ .eq(StudyInfo::getStudyId, studyId)
|
|
|
+ .eq(StudyInfo::getIsDeleted, 0) // 只查询未删除的数据
|
|
|
);
|
|
|
|
|
|
if (study == null) {
|
|
|
@@ -217,7 +219,9 @@ public class DataManageServiceImpl implements DataManageService {
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public boolean saveGovernResults(String studyId, java.util.List<com.zskk.qcns.modules.dicom.vo.GovernResultVO> governResults) {
|
|
|
StudyInfo study = studyInfoMapper.selectOne(
|
|
|
- new LambdaQueryWrapper<StudyInfo>().eq(StudyInfo::getStudyId, studyId)
|
|
|
+ new LambdaQueryWrapper<StudyInfo>()
|
|
|
+ .eq(StudyInfo::getStudyId, studyId)
|
|
|
+ .eq(StudyInfo::getIsDeleted, 0) // 只查询未删除的数据
|
|
|
);
|
|
|
|
|
|
if (study == null) {
|
|
|
@@ -268,7 +272,9 @@ public class DataManageServiceImpl implements DataManageService {
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public boolean confirmStudy(String studyId, Integer confirmStatus) {
|
|
|
StudyInfo studyInfo = studyInfoMapper.selectOne(
|
|
|
- new LambdaQueryWrapper<StudyInfo>().eq(StudyInfo::getStudyId, studyId)
|
|
|
+ new LambdaQueryWrapper<StudyInfo>()
|
|
|
+ .eq(StudyInfo::getStudyId, studyId)
|
|
|
+ .eq(StudyInfo::getIsDeleted, 0) // 只查询未删除的数据
|
|
|
);
|
|
|
|
|
|
if (studyInfo == null) {
|
|
|
@@ -288,7 +294,9 @@ public class DataManageServiceImpl implements DataManageService {
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public boolean governStudy(String studyId) {
|
|
|
StudyInfo studyInfo = studyInfoMapper.selectOne(
|
|
|
- new LambdaQueryWrapper<StudyInfo>().eq(StudyInfo::getStudyId, studyId)
|
|
|
+ new LambdaQueryWrapper<StudyInfo>()
|
|
|
+ .eq(StudyInfo::getStudyId, studyId)
|
|
|
+ .eq(StudyInfo::getIsDeleted, 0) // 只查询未删除的数据
|
|
|
);
|
|
|
|
|
|
if (studyInfo == null) {
|
|
|
@@ -312,7 +320,9 @@ public class DataManageServiceImpl implements DataManageService {
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public boolean updateSeriesAndImageCount(String studyId, Integer seriesCount, Integer imageCount) {
|
|
|
StudyInfo studyInfo = studyInfoMapper.selectOne(
|
|
|
- new LambdaQueryWrapper<StudyInfo>().eq(StudyInfo::getStudyId, studyId)
|
|
|
+ new LambdaQueryWrapper<StudyInfo>()
|
|
|
+ .eq(StudyInfo::getStudyId, studyId)
|
|
|
+ .eq(StudyInfo::getIsDeleted, 0) // 只查询未删除的数据
|
|
|
);
|
|
|
|
|
|
if (studyInfo == null) {
|
|
|
@@ -335,7 +345,9 @@ public class DataManageServiceImpl implements DataManageService {
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public boolean updateExamItemName(String studyId, String examItemName) {
|
|
|
StudyInfo studyInfo = studyInfoMapper.selectOne(
|
|
|
- new LambdaQueryWrapper<StudyInfo>().eq(StudyInfo::getStudyId, studyId)
|
|
|
+ new LambdaQueryWrapper<StudyInfo>()
|
|
|
+ .eq(StudyInfo::getStudyId, studyId)
|
|
|
+ .eq(StudyInfo::getIsDeleted, 0) // 只查询未删除的数据
|
|
|
);
|
|
|
|
|
|
if (studyInfo == null) {
|