From 620675ac7f376aec41b96a825d36d974a7327543 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E5=BA=8F=E6=8C=AF?= Date: Mon, 26 Aug 2024 14:54:30 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mapper/standby/SpqPollingInfoMapper.xml | 40 ++++++++++++++----- god-ui/vue.config.js | 2 +- 2 files changed, 31 insertions(+), 11 deletions(-) diff --git a/God-Vue-master/god-system/src/main/resources/mapper/standby/SpqPollingInfoMapper.xml b/God-Vue-master/god-system/src/main/resources/mapper/standby/SpqPollingInfoMapper.xml index 7032cbef..fb7d44ad 100644 --- a/God-Vue-master/god-system/src/main/resources/mapper/standby/SpqPollingInfoMapper.xml +++ b/God-Vue-master/god-system/src/main/resources/mapper/standby/SpqPollingInfoMapper.xml @@ -43,19 +43,39 @@ resultMap="SpqPollingInfoResult"> - and p.img_url = #{imgUrl} - and p.audit_type = #{auditType} - and p.inspection_site = #{inspectionSite} - and p.inspection_time = #{inspectionTime} - and #{endTimeA} >= p.inspection_time - and #{startTimeA} <= p.inspection_time - and p.user_id = #{userId} - and p.user_name like concat('%', #{userName}, '%') - and p.rule_id = #{ruleId} + and p.img_url = + #{imgUrl} + and p.audit_type = + #{auditType} + and p.inspection_site = + #{inspectionSite} + and p.inspection_time = + #{inspectionTime} + and + #{endTimeA} + >= + p + . + inspection_time + and + #{startTimeA} + <= + p + . + inspection_time + and p.user_id = + #{userId} + and p.user_name like concat('%', + #{userName}, + '%' + ) + and p.rule_id = + #{ruleId} and p.abnormal_behavior = - #{abnormalBehavior} + #{abnormalBehavior} + ORDER BY inspection_time desc