From 1ab698e0f6c8d246691b3523e7f8498c4832d5c7 Mon Sep 17 00:00:00 2001 From: wenjy Date: Tue, 22 Feb 2022 15:03:59 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E4=BB=BB=E5=8A=A1=E8=AE=B0?= =?UTF-8?q?=E5=BD=95=E6=9F=A5=E8=AF=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-admin/src/main/resources/application-druid.yml | 10 +++++----- ruoyi-admin/src/main/resources/application.yml | 2 +- .../mapper/system/PrepareOutstoreInfoMapper.xml | 5 +++-- .../main/resources/mapper/system/RecordTaskMapper.xml | 4 ++-- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application-druid.yml b/ruoyi-admin/src/main/resources/application-druid.yml index 7ff8dfc..ab2b29d 100644 --- a/ruoyi-admin/src/main/resources/application-druid.yml +++ b/ruoyi-admin/src/main/resources/application-druid.yml @@ -6,12 +6,12 @@ spring: druid: # 主库数据源 master: - url: jdbc:oracle:thin:@124.70.0.226:1521:ORCL - username: system - password: 123456 -# url: jdbc:oracle:thin:@10.100.71.119:1521:ORCL +# url: jdbc:oracle:thin:@124.70.0.226:1521:ORCL # username: system -# password: aucma +# password: 123456 + url: jdbc:oracle:thin:@10.100.71.119:1521:ORCL + username: system + password: aucma # 从库数据源 slave: # 从数据源开关/默认关闭 diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index a059fa2..f24fd94 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -140,4 +140,4 @@ swagger: #可视化看板服务器地址 scadavisual: - address: http://10.100.71.119:8012 + address: http://127.0.0.1:8012 diff --git a/ruoyi-system/src/main/resources/mapper/system/PrepareOutstoreInfoMapper.xml b/ruoyi-system/src/main/resources/mapper/system/PrepareOutstoreInfoMapper.xml index 8c29d86..f231b31 100644 --- a/ruoyi-system/src/main/resources/mapper/system/PrepareOutstoreInfoMapper.xml +++ b/ruoyi-system/src/main/resources/mapper/system/PrepareOutstoreInfoMapper.xml @@ -25,7 +25,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - order by record_time desc + order by begin_time desc @@ -38,7 +38,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and task_status like concat(concat('%', #{taskStatus}), '%') and operation_type = #{operationType} and task_type = #{taskType} - and TO_CHAR(record_time,'yyyy-MM-dd HH24:mm:ss') between #{params.beginRecordTime} and #{params.endRecordTime} + and TO_CHAR(begin_time,'yyyy-MM-dd HH24:mm:ss') between #{params.beginRecordTime} and #{params.endRecordTime}