From 61e376d42c7a48ce06e97cc41e4da11f7b6c56e9 Mon Sep 17 00:00:00 2001 From: luyya Date: Thu, 19 Dec 2024 10:32:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=95=B0=E6=8D=AE=E4=B8=8A?= =?UTF-8?q?=E6=8A=A5=20=E6=A3=80=E6=9F=A5=E7=AB=99=E6=9F=A5=E8=8E=B7?= =?UTF-8?q?=E4=BA=BA=E5=91=98=E8=AF=A6=E6=83=85=E4=B8=8A=E6=8A=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manager/framework/config/ShiroConfig.java | 5 +- .../manager/mapper/TbChryxxbMapper.java | 2 +- .../mybatis/mapper/TbChryxxbMapper.xml | 14 ++++-- .../java/basepro/manager/pojo/TbChryxxb.java | 33 ++++++------- .../service/impl/TbChryxxbServiceImpl.java | 22 ++++++++- .../src/main/resources/application-dev.yml | 7 +-- .../src/main/resources/application.yml | 2 +- .../controller/TbChryxxbController.java | 37 ++++++++------ .../src/main/resources/application-dev.yml | 2 +- .../src/main/resources/application.yml | 2 +- .../resources/static/download/bmzrs_v1.0.doc | Bin 31744 -> 0 bytes .../main/resources/static/download/jcsq.xlsx | Bin 12355 -> 0 bytes .../resources/static/download/ywrybmzrs.doc | Bin 29184 -> 0 bytes .../main/resources/templates/chry/add.html | 45 ++++++++---------- .../resources/templates/chry/chryxxb.html | 18 ------- .../main/resources/templates/xjxd/add.html | 5 +- .../main/resources/templates/xjxd/edit.html | 2 +- .../resources/templates/xjxd/xjxdzhxxb.html | 8 +++- 18 files changed, 111 insertions(+), 93 deletions(-) delete mode 100644 basepro-manager/basepro-manager-web/src/main/resources/static/download/bmzrs_v1.0.doc delete mode 100644 basepro-manager/basepro-manager-web/src/main/resources/static/download/jcsq.xlsx delete mode 100644 basepro-manager/basepro-manager-web/src/main/resources/static/download/ywrybmzrs.doc diff --git a/basepro-manager/basepro-framework/src/main/java/basepro/manager/framework/config/ShiroConfig.java b/basepro-manager/basepro-framework/src/main/java/basepro/manager/framework/config/ShiroConfig.java index ece1a45..9ddb9e5 100644 --- a/basepro-manager/basepro-framework/src/main/java/basepro/manager/framework/config/ShiroConfig.java +++ b/basepro-manager/basepro-framework/src/main/java/basepro/manager/framework/config/ShiroConfig.java @@ -258,8 +258,9 @@ public class ShiroConfig @Bean public RedisManager redisManager(RedisProperties redisProperties) { RedisManager redisManager = new RedisManager(); - redisManager.setHost("127.0.0.1:6379"); -// redisManager.setHost("53.1.252.179:6389"); +// redisManager.setHost("127.0.0.1:6379"); +// redisManager.setPassword("ruoyi123"); + redisManager.setHost("53.1.252.179:6389"); /*redisManager.setPort(6389); redisManager.setHost("53.1.252.179");*/ //redisManager.setPassword(redisProperties.getPassword()); diff --git a/basepro-manager/basepro-manager-dao/src/main/java/basepro/manager/mapper/TbChryxxbMapper.java b/basepro-manager/basepro-manager-dao/src/main/java/basepro/manager/mapper/TbChryxxbMapper.java index a81cb03..9ad47a2 100644 --- a/basepro-manager/basepro-manager-dao/src/main/java/basepro/manager/mapper/TbChryxxbMapper.java +++ b/basepro-manager/basepro-manager-dao/src/main/java/basepro/manager/mapper/TbChryxxbMapper.java @@ -84,7 +84,7 @@ public interface TbChryxxbMapper * @param ids 需要删除的数据ID * @return 结果 */ - public int deleteTbChryxxbByIds(Integer[] ids); + public int deleteTbChryxxbByIds(String[] ids); /** * 从人车物核查表及卡点表获取查货人员信息 diff --git a/basepro-manager/basepro-manager-dao/src/main/resources/mybatis/mapper/TbChryxxbMapper.xml b/basepro-manager/basepro-manager-dao/src/main/resources/mybatis/mapper/TbChryxxbMapper.xml index 935a2f1..d33b1cf 100644 --- a/basepro-manager/basepro-manager-dao/src/main/resources/mybatis/mapper/TbChryxxbMapper.xml +++ b/basepro-manager/basepro-manager-dao/src/main/resources/mybatis/mapper/TbChryxxbMapper.xml @@ -24,12 +24,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
-
+
-
+
@@ -30,20 +30,16 @@
- -
- + +
+
-
- -
- -
-
-
+ -
+
-
-
- - -
+
+
@@ -81,6 +74,8 @@ \ No newline at end of file diff --git a/basepro-manager/basepro-manager-web/src/main/resources/templates/xjxd/edit.html b/basepro-manager/basepro-manager-web/src/main/resources/templates/xjxd/edit.html index f634583..e8dc62a 100644 --- a/basepro-manager/basepro-manager-web/src/main/resources/templates/xjxd/edit.html +++ b/basepro-manager/basepro-manager-web/src/main/resources/templates/xjxd/edit.html @@ -50,7 +50,7 @@
- +
diff --git a/basepro-manager/basepro-manager-web/src/main/resources/templates/xjxd/xjxdzhxxb.html b/basepro-manager/basepro-manager-web/src/main/resources/templates/xjxd/xjxdzhxxb.html index 7f1b654..f30d7d2 100644 --- a/basepro-manager/basepro-manager-web/src/main/resources/templates/xjxd/xjxdzhxxb.html +++ b/basepro-manager/basepro-manager-web/src/main/resources/templates/xjxd/xjxdzhxxb.html @@ -305,10 +305,14 @@ class: 'table-cell-nowrap', formatter: function(value, row, index) { var actions = []; - if ((row.sfdj == '已上报' && row.ZAFKRQ == getdate())){ + if ((row.sfdj == '已上报' )){ actions.push('编辑 '); + actions.push('删除'); } - actions.push('删除'); + /*if ((row.sfdj == '已上报' && row.ZAFKRQ == getdate())){ + actions.push('编辑 '); + }*/ + return actions.join(''); } }]