From aab0d15d5d47da45143c23710b17f637d9abe7a8 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Wed, 28 Jan 2026 21:16:12 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A[=E8=AF=95=E9=AA=8C=E7=AE=A1?= =?UTF-8?q?=E7=90=86]=E8=A1=A8=E5=8D=95bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hxhq/business/form/study/StudyFormPreSearchForm.java | 11 +++++++++++ .../hxhq/business/service/impl/StudyFormApplyServiceImpl.java | 6 ++---- .../hxhq/business/service/impl/StudyFormFillServiceImpl.java | 6 ++---- .../hxhq/business/service/impl/StudyFormPlanServiceImpl.java | 7 ++----- .../hxhq/business/service/impl/StudyFormPreServiceImpl.java | 7 ++++--- 5 files changed, 21 insertions(+), 16 deletions(-) diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/form/study/StudyFormPreSearchForm.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/form/study/StudyFormPreSearchForm.java index eb85597..315e954 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/form/study/StudyFormPreSearchForm.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/form/study/StudyFormPreSearchForm.java @@ -30,6 +30,17 @@ public class StudyFormPreSearchForm { /** 创建时间开始 */ private String endDate; + /** 表单状态:1:填报中;3:已提交;5:已通过;7:未通过 ;9:待关闭;11:已关闭*/ + private Integer bdzt; + + public Integer getBdzt() { + return bdzt; + } + + public void setBdzt(Integer bdzt) { + this.bdzt = bdzt; + } + public Long getStudySubjectId() { return studySubjectId; } diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyFormApplyServiceImpl.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyFormApplyServiceImpl.java index 2976710..2da9376 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyFormApplyServiceImpl.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyFormApplyServiceImpl.java @@ -71,9 +71,7 @@ public class StudyFormApplyServiceImpl extends ServiceImpl 0) { queryWrapper.eq("t.user_id", form.getUserId()); } - if (form.getStudyId() != null && form.getStudyId().longValue() > 0) { - queryWrapper.eq("t.study_id", form.getStudyId()); - } + queryWrapper.eq("t.study_id", form.getStudyId()); if (form.getStudySubjectId() != null && form.getStudySubjectId().longValue() > 0) { queryWrapper.eq("t.study_subject_id", form.getStudySubjectId()); } @@ -602,7 +600,7 @@ public class StudyFormApplyServiceImpl extends ServiceImpl 0) { queryWrapper.eq("t.user_id", form.getUserId()); } - if (form.getStudyId() != null && form.getStudyId().longValue() > 0) { - queryWrapper.eq("t.study_id", form.getStudyId()); - } + queryWrapper.eq("t.study_id", form.getStudyId()); if (form.getStudySubjectId() != null && form.getStudySubjectId().longValue() > 0) { queryWrapper.eq("t.study_subject_id", form.getStudySubjectId()); } @@ -669,7 +667,7 @@ public class StudyFormFillServiceImpl extends ServiceImpl 0) { queryWrapper.eq("t.user_id", form.getUserId()); } - if (form.getStudyId() != null && form.getStudyId().longValue() > 0) { - queryWrapper.eq("t.study_id", form.getStudyId()); - } - + queryWrapper.eq("t.study_id", form.getStudyId()); if (StringUtils.isNoneBlank(form.getBdbh())) { queryWrapper.and(p -> p.like("t.`bdbh`", form.getBdbh())); } @@ -411,7 +408,7 @@ public class StudyFormPlanServiceImpl extends ServiceImpl 0) { queryWrapper.eq("t.user_id", form.getUserId()); } - if (form.getStudyId() != null && form.getStudyId().longValue() > 0) { - queryWrapper.eq("t.study_id", form.getStudyId()); + queryWrapper.eq("t.study_id", form.getStudyId()); + if (form.getBdzt() != null && form.getBdzt().intValue() > 0) { + queryWrapper.eq("t.bdzt", form.getBdzt()); } if (form.getStudySubjectId() != null && form.getStudySubjectId().longValue() > 0) { queryWrapper.eq("t.study_subject_id", form.getStudySubjectId()); @@ -526,7 +527,7 @@ public class StudyFormPreServiceImpl extends ServiceImpl