From bf12db1f5a59731bcc452449296f876f4b9a0a9a Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Wed, 22 May 2024 13:44:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/xml/KcEvaluationsStatMapper.xml | 9 +++++++-- .../modules/kc/wjxWjxx/mapper/xml/WjxWjxxMapper.xml | 2 +- .../controller/ZyInfoStudentController.java | 9 ++++++++- .../modules/kc/zyInfoStudent/entity/ZyInfoStudent.java | 1 + .../kc/zyInfoStudent/service/IZyInfoStudentService.java | 2 ++ .../service/impl/ZyInfoStudentServiceImpl.java | 5 +++++ 6 files changed, 24 insertions(+), 4 deletions(-) diff --git a/jeecg-module-main/src/main/java/org/jeecg/modules/kc/kcEvaluationsStat/mapper/xml/KcEvaluationsStatMapper.xml b/jeecg-module-main/src/main/java/org/jeecg/modules/kc/kcEvaluationsStat/mapper/xml/KcEvaluationsStatMapper.xml index 966686c0..8c110a7f 100644 --- a/jeecg-module-main/src/main/java/org/jeecg/modules/kc/kcEvaluationsStat/mapper/xml/KcEvaluationsStatMapper.xml +++ b/jeecg-module-main/src/main/java/org/jeecg/modules/kc/kcEvaluationsStat/mapper/xml/KcEvaluationsStatMapper.xml @@ -8,7 +8,10 @@ FROM kc_evaluation EV, KC_EVALUATIONS EVS WHERE ev.id = evs.evaluationid AND ev.evaluationver = '3' - and ev.source != '2' + + and ev.id not in (SELECT col00 from kc_evaluations_stat where col15 = '一般听课表') + + @@ -17,7 +20,9 @@ FROM kc_evaluation EV, KC_EVALUATIONS EVS WHERE ev.id = evs.evaluationid AND ev.evaluationver = '3' - and ev.source = '2' + + and ev.id not in (SELECT col00 from kc_evaluations_stat where col15 = '一般听课表') + diff --git a/jeecg-module-main/src/main/java/org/jeecg/modules/kc/wjxWjxx/mapper/xml/WjxWjxxMapper.xml b/jeecg-module-main/src/main/java/org/jeecg/modules/kc/wjxWjxx/mapper/xml/WjxWjxxMapper.xml index 03c6505b..11e4f965 100644 --- a/jeecg-module-main/src/main/java/org/jeecg/modules/kc/wjxWjxx/mapper/xml/WjxWjxxMapper.xml +++ b/jeecg-module-main/src/main/java/org/jeecg/modules/kc/wjxWjxx/mapper/xml/WjxWjxxMapper.xml @@ -36,7 +36,7 @@ and a.qpublish = #{param.qpublish} - order by create_time desc,start_time asc + order by end_time desc