From bc4c05de4f91c2b5039109f9c5828891933c81bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E7=8E=89=E7=90=A6?= <7507756+jiang_yuqi@user.noreply.gitee.com> Date: Mon, 14 Aug 2023 22:51:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application.yml | 2 + .../com/ruoyi/common/utils/DateUtils.java | 2 + .../views/project/surProjectSpecial/index.vue | 10 +- .../service/WxProjectInfoServiceImpl.java | 12 +-- .../pshManage/controller/PshController.java | 12 ++- .../web/pshManage/service/PshServiceImpl.java | 3 + .../sspManage/controller/SspController.java | 12 ++- .../web/sspManage/service/SspServiceImpl.java | 6 +- .../service/WxUserLoginServiceImpl.java | 98 ++++++++++++++++++- .../resources/mapper/ProjectInfoMapper.xml | 1 + .../src/main/resources/mapper/PshMapper.xml | 24 ++++- .../src/main/resources/mapper/SspMapper.xml | 34 +++++-- .../resources/static/js/ssp/jquery.date.js | 2 +- .../templates/pshManage/myChanges.html | 8 +- .../templates/pshManage/sspChange.html | 28 +++++- .../templates/pshManage/sspListPage.html | 26 ++--- .../templates/pshManage/sspListPage2.html | 2 +- .../templates/pshManage/sspListPageMy.html | 24 ++--- .../templates/pshManage/sspListPageMy2.html | 2 +- .../templates/pshManage/sspStayCheck.html | 6 +- .../templates/sspManage/myChanges.html | 6 +- .../templates/sspManage/sspChange.html | 30 +++++- .../templates/sspManage/sspListPage.html | 26 ++--- .../templates/sspManage/sspListPage2.html | 2 +- .../templates/sspManage/sspListPageMy.html | 24 ++--- .../templates/sspManage/sspListPageMy2.html | 2 +- .../templates/sspManage/sspStayCheck.html | 8 +- .../project/domain/SurProjectWorkSpecial.java | 26 +++++ .../project/SurProjectWorkSpecialMapper.xml | 13 ++- .../resources/mapper/work/WorkTrainMapper.xml | 2 +- 30 files changed, 340 insertions(+), 113 deletions(-) diff --git a/ruoyi-admin/src/main/resources/application.yml b/ruoyi-admin/src/main/resources/application.yml index 152c5e2d..09d37c2b 100644 --- a/ruoyi-admin/src/main/resources/application.yml +++ b/ruoyi-admin/src/main/resources/application.yml @@ -10,6 +10,8 @@ ruoyi: demoEnabled: true # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) profile: D:/data/uploadPath + # 文件路径 示例( Windows配置D:/ruoyi/uploadPath,Linux配置 /home/ruoyi/uploadPath) + thumbnail: D:/data/uploadPath # 获取ip地址开关 addressEnabled: false # 验证码类型 math 数字计算 char 字符验证 diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/DateUtils.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/DateUtils.java index 9c2141da..dff85e2d 100644 --- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/DateUtils.java +++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/DateUtils.java @@ -29,6 +29,8 @@ public class DateUtils extends org.apache.commons.lang3.time.DateUtils public static String YYYYMMDDHHMMSS = "yyyyMMddHHmmss"; + public static String YYYY_MM_DD_HH_MM = "yyyy-MM-dd HH:mm"; + public static String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss"; private static String[] parsePatterns = { diff --git a/ruoyi-ui/src/views/project/surProjectSpecial/index.vue b/ruoyi-ui/src/views/project/surProjectSpecial/index.vue index 40b4162d..16e61390 100644 --- a/ruoyi-ui/src/views/project/surProjectSpecial/index.vue +++ b/ruoyi-ui/src/views/project/surProjectSpecial/index.vue @@ -99,17 +99,23 @@ + - - + + + + +