From b7576a286a71ed128d3d6504bc324439c6778a2c Mon Sep 17 00:00:00 2001 From: qianyu <617189624@qq.com> Date: Mon, 22 May 2023 08:42:57 +0800 Subject: [PATCH] 230508 --- log.path_IS_UNDEFINED/sys-user.log | 119 +++-- .../controller/OutboundDetailController.java | 10 +- .../controller/OutboundInfoController.java | 53 ++- .../domain/exportDto/OutboundDetailDto.java | 1 + .../controller/system/SysDeptController.java | 1 + .../mapper/storehouse/OutboundInfoMapper.xml | 72 +-- .../manufacture/deliveryGoodsNotice/add.html | 4 +- .../deliveryGoodsNotice.html | 4 +- .../storehouse/outboundInfoCP/add.html | 423 +++++++++++++---- .../storehouse/outboundInfoCP/edit.html | 437 ++++++++++++++---- .../outboundInfoCP/outboundInfoCP.html | 57 ++- .../storehouse/outboundInfoFL/add.html | 381 ++++++++++++--- .../storehouse/outboundInfoFL/edit.html | 390 ++++++++++++---- .../outboundInfoFL/outboundInfoFL.html | 56 ++- .../storehouse/outboundInfoYL/add.html | 197 ++++++-- .../storehouse/outboundInfoYL/edit.html | 227 ++++++--- .../outboundInfoYL/outboundInfoYL.html | 55 ++- .../resources/templates/system/dept/dept.html | 15 +- .../system/SysCaptchaController.class | Bin 3711 -> 3711 bytes .../controller/system/SysDeptController.class | Bin 7439 -> 7581 bytes .../manufacture/deliveryGoodsNotice/add.html | 4 +- .../deliveryGoodsNotice.html | 4 +- .../classes/templates/system/dept/dept.html | 15 +- .../common/core/domain/entity/SysDept.java | 12 + .../resources/mapper/system/SysDeptMapper.xml | 3 +- .../classes/mapper/system/SysDeptMapper.xml | 3 +- 26 files changed, 1959 insertions(+), 584 deletions(-) diff --git a/log.path_IS_UNDEFINED/sys-user.log b/log.path_IS_UNDEFINED/sys-user.log index ca8b579e..6d837b28 100644 --- a/log.path_IS_UNDEFINED/sys-user.log +++ b/log.path_IS_UNDEFINED/sys-user.log @@ -1,46 +1,73 @@ -09:19:58.017 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] -09:25:47.462 [SpringContextShutdownHook] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== -09:25:47.463 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== -09:25:47.464 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== -09:26:22.401 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] -09:30:35.910 [SpringContextShutdownHook] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== -09:30:35.914 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== -09:30:35.915 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== -09:31:04.832 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] -09:32:20.576 [SpringContextShutdownHook] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== -09:32:20.578 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== -09:32:20.578 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== -09:32:53.897 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] -09:36:30.407 [Thread-38] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== -09:36:30.408 [Thread-38] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== -09:36:30.408 [Thread-38] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== -09:37:07.832 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== -09:37:07.833 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== -09:37:56.116 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] -09:39:00.885 [SpringContextShutdownHook] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== -09:39:00.885 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== -09:39:00.885 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== -09:39:26.053 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] -09:40:14.231 [Thread-39] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== -09:40:14.232 [Thread-39] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== -09:40:14.232 [Thread-39] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== -09:40:43.714 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== -09:40:43.716 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== -09:41:05.565 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] -09:50:15.147 [SpringContextShutdownHook] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== -09:50:15.148 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== -09:50:15.148 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== -09:54:32.967 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] -09:57:39.429 [Thread-39] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== -09:57:39.430 [Thread-39] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== -09:57:39.431 [Thread-39] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== -10:07:34.344 [Thread-51] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== -10:07:34.345 [Thread-51] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== -10:08:07.258 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] -11:41:15.736 [Thread-64] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== -11:41:15.739 [Thread-64] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== -11:41:15.739 [Thread-64] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== -11:41:36.567 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] -11:56:17.833 [Thread-77] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== -11:56:17.835 [Thread-77] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== -11:56:17.836 [Thread-77] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +02:45:48.343 [Thread-50] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +02:45:48.345 [Thread-50] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +02:45:48.345 [Thread-50] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +02:46:13.209 [Thread-63] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +02:46:13.210 [Thread-63] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +02:56:50.770 [Thread-76] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +02:56:50.771 [Thread-76] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +02:58:05.003 [Thread-89] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +02:58:05.004 [Thread-89] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +02:59:22.821 [Thread-102] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +02:59:22.822 [Thread-102] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +03:00:33.014 [Thread-115] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +03:00:33.014 [Thread-115] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +03:01:35.920 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] +03:12:25.938 [SpringContextShutdownHook] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +03:12:25.939 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +03:12:25.939 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +03:13:11.692 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] +03:25:43.689 [Thread-52] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +03:25:43.691 [Thread-52] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +03:25:43.691 [Thread-52] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +03:26:10.292 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] +03:29:00.385 [SpringContextShutdownHook] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +03:29:00.386 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +03:29:00.386 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +03:29:29.460 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] +03:30:50.965 [SpringContextShutdownHook] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +03:30:50.966 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +03:30:50.966 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +03:31:30.040 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +03:31:30.040 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +03:32:01.221 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] +03:38:04.722 [Thread-51] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +03:38:04.723 [Thread-51] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +03:38:04.723 [Thread-51] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +03:38:24.901 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] +03:38:44.027 [SpringContextShutdownHook] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +03:38:44.027 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +03:38:44.028 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +03:39:14.527 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] +03:40:16.399 [SpringContextShutdownHook] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +03:40:16.399 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +03:40:16.399 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +03:40:43.506 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] +03:46:32.686 [SpringContextShutdownHook] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +03:46:32.687 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +03:46:32.687 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +03:47:14.778 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] +03:53:30.687 [Thread-52] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +03:53:30.687 [Thread-52] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +03:53:30.687 [Thread-52] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +03:54:04.703 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] +04:04:44.447 [Thread-65] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +04:04:44.450 [Thread-65] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +04:04:44.450 [Thread-65] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +04:05:02.344 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +04:05:02.345 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +04:05:38.817 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] +04:15:55.337 [Thread-53] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +04:15:55.338 [Thread-53] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +04:15:55.338 [Thread-53] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +04:17:20.638 [Thread-66] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +04:17:20.638 [Thread-66] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +04:22:55.116 [Thread-79] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +04:22:55.117 [Thread-79] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +04:23:29.151 [SpringContextShutdownHook] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +04:23:29.151 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +04:23:29.152 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +04:24:32.097 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] +05:43:56.126 [SpringContextShutdownHook] INFO sys-user - [shutdownSpringSessionValidationScheduler,45] - ====关闭会话验证任务==== +05:43:56.129 [SpringContextShutdownHook] INFO sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池==== +05:43:56.129 [SpringContextShutdownHook] INFO sys-user - [shutdownEhCacheManager,75] - ====关闭缓存==== +05:44:26.717 [schedule-pool-2] INFO sys-user - [run,109] - [127.0.0.1]内网IP[admin][Success][登录成功] diff --git a/ruoyi-admin/src/main/java/com/ruoyi/storehouse/controller/OutboundDetailController.java b/ruoyi-admin/src/main/java/com/ruoyi/storehouse/controller/OutboundDetailController.java index 45091736..27b8055a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/storehouse/controller/OutboundDetailController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/storehouse/controller/OutboundDetailController.java @@ -1,5 +1,6 @@ package com.ruoyi.storehouse.controller; +import java.sql.SQLOutput; import java.util.List; import java.util.Objects; @@ -130,12 +131,13 @@ public class OutboundDetailController extends BaseController @ResponseBody public AjaxResult addOutboundDetail(@RequestParam(value = "data") String data){ List outboundDetailList = JSONObject.parseArray(data, OutboundDetail.class); - for (int i=0;i outboundDetailList = outboundDetailService.selectOutboundDetailList(outboundDetail); + if (outboundDetailList.size()>0){ + for (OutboundDetail detail : outboundDetailList) { + outboundDetailService.deleteOutboundDetailById(detail.getOutboundDetailId()); + } + } + } + outboundInfoService.deleteOutboundInfoByIds(ids); + return "操作成功"; + } + + @RequiresPermissions("storehouse:outboundInfo:remove") @Log(title = "outboundInfo", businessType = BusinessType.DELETE) @PostMapping( "/removeOutbound") @@ -235,20 +274,20 @@ public class OutboundInfoController extends BaseController @ResponseBody public Result getOutNoYL() throws Exception { String time = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(System.currentTimeMillis()); - return Result.getSuccessResult("YL"+time); + return Result.getSuccessResult("YLOUT"+time); } @PostMapping("/getOutNoFL") @ResponseBody public Result getOutNoFL() throws Exception { String time = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(System.currentTimeMillis()); - return Result.getSuccessResult("FL"+time); + return Result.getSuccessResult("FLOUT"+time); } @PostMapping("/getOutNoCP") @ResponseBody public Result getOutNoCP() throws Exception { String time = new SimpleDateFormat("yyyyMMddHHmmssSSS").format(System.currentTimeMillis()); - return Result.getSuccessResult("CP"+time); + return Result.getSuccessResult("CPOUT"+time); } } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/storehouse/domain/exportDto/OutboundDetailDto.java b/ruoyi-admin/src/main/java/com/ruoyi/storehouse/domain/exportDto/OutboundDetailDto.java index 93d9a8b4..4ccdb50b 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/storehouse/domain/exportDto/OutboundDetailDto.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/storehouse/domain/exportDto/OutboundDetailDto.java @@ -328,4 +328,5 @@ public class OutboundDetailDto extends BaseEntity ", deductionReason='" + deductionReason + '\'' + '}'; } + } diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java index b074b9e4..11870f6a 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysDeptController.java @@ -47,6 +47,7 @@ public class SysDeptController extends BaseController public List list(SysDept dept) { List deptList = deptService.selectDeptList(dept); + System.out.println(deptList); return deptList; } diff --git a/ruoyi-admin/src/main/resources/mapper/storehouse/OutboundInfoMapper.xml b/ruoyi-admin/src/main/resources/mapper/storehouse/OutboundInfoMapper.xml index f1de1472..9a6b0c30 100644 --- a/ruoyi-admin/src/main/resources/mapper/storehouse/OutboundInfoMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/storehouse/OutboundInfoMapper.xml @@ -66,54 +66,54 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" diff --git a/ruoyi-admin/src/main/resources/templates/manufacture/deliveryGoodsNotice/add.html b/ruoyi-admin/src/main/resources/templates/manufacture/deliveryGoodsNotice/add.html index 4788d5e8..cb1e39e4 100644 --- a/ruoyi-admin/src/main/resources/templates/manufacture/deliveryGoodsNotice/add.html +++ b/ruoyi-admin/src/main/resources/templates/manufacture/deliveryGoodsNotice/add.html @@ -83,7 +83,7 @@ -
+ -
+ -
+
-
- -
- -
-
-
+
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- - 代码生成请选择字典属性 -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
-
+
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
+ + +
-
- +
+
- +
-
- +
+
- +
@@ -139,23 +124,305 @@
+ + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoCP/edit.html b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoCP/edit.html index bf448048..76cb40a2 100644 --- a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoCP/edit.html +++ b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoCP/edit.html @@ -3,129 +3,114 @@ + + + + +
-
+
-
+
-
- -
- -
-
-
+
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- - 代码生成请选择字典属性 -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
-
+
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
+ + +
-
- +
+
- +
-
- +
+
- +
@@ -138,25 +123,319 @@
+
+
+

+

材料信息

+
+
+
+
+
+ + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoCP/outboundInfoCP.html b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoCP/outboundInfoCP.html index 4af9bd3d..6fa556b8 100644 --- a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoCP/outboundInfoCP.html +++ b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoCP/outboundInfoCP.html @@ -2,6 +2,7 @@ +
@@ -9,7 +10,6 @@
-
-
+
@@ -102,13 +102,18 @@ var options = { url: prefix + "/listCP", createUrl: prefix + "/addCP", - updateUrl: prefix + "/edit/{id}", + updateUrl: prefix + "/editCP/{id}", removeUrl: prefix + "/remove", exportUrl: prefix + "/export", modalName: "outboundInfo", columns: [{ checkbox: true }, + { + field: 'outboundId', + title: '', + visible: false + }, { field: 'outboundNo', title: '出库单号' @@ -159,20 +164,36 @@ { field: 'outboundRemarks', title: '备注内容' - }, - { - title: '操作', - align: 'center', - formatter: function(value, row, index) { - var actions = []; - actions.push('编辑 '); - actions.push('删除'); - return actions.join(''); - } }] }; $.table.init(options); }); + + function removeAll() { + var rows = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId); + console.log(rows) + if (rows.length > 0) { + $.modal.confirm("是否删除选中的"+ rows.length +"条出库单?", function () { + $.ajax({ + url: prefix + '/removeAll', + type: 'post', + data: { + ids : rows.join() + }, + success: function (res) { + // console.log(res) + $("#bootstrap-table").bootstrapTable("refresh"); + $.modal.msgSuccess("删除成功!") + }, + error: function (res) { + $.modal.msgError(res.error()) + } + }) + }) + } else { + $.modal.msgWarning("请选择一条数据") + } + } \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoFL/add.html b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoFL/add.html index 5f87b790..90f67354 100644 --- a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoFL/add.html +++ b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoFL/add.html @@ -34,126 +34,91 @@
-
+
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- - 代码生成请选择字典属性 -
-
-
- -
- -
-
-
+
-
+
- +
-
+
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
+ + +
-
+
+
+ +
+ +
+
@@ -162,27 +127,289 @@
+
+
+

+

材料信息

+
+
+
+
+
+ + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoFL/edit.html b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoFL/edit.html index bf448048..207fcafa 100644 --- a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoFL/edit.html +++ b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoFL/edit.html @@ -3,131 +3,123 @@ + + + + -
-
- -
+
+ + +
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
- -
-
-
- -
-
- - -
-
-
-
- -
- - 代码生成请选择字典属性 -
-
-
- -
- -
-
-
+
-
+
- +
-
+
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
-
- +
+
- +
+ + +
-
+
+
+ +
+ +
+
@@ -138,25 +130,261 @@
+
+
+

+

材料信息

+
+
+
+
+
+ + \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoFL/outboundInfoFL.html b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoFL/outboundInfoFL.html index 2e539b79..e154cec1 100644 --- a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoFL/outboundInfoFL.html +++ b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoFL/outboundInfoFL.html @@ -62,7 +62,7 @@ -
  • +
  • @@ -82,15 +82,15 @@ 修改 - + 删除 - - 导出 - + + +
    -
    +
    @@ -106,13 +106,19 @@ var options = { url: prefix + "/listFL", createUrl: prefix + "/addFL", - updateUrl: prefix + "/edit/{id}", + updateUrl: prefix + "/editFL/{id}", removeUrl: prefix + "/remove", exportUrl: prefix + "/export", + clickToSelect: true, modalName: "outboundInfo", columns: [{ checkbox: true }, + { + field: 'outboundId', + title: '', + visible: false + }, { field: 'outboundNo', title: '出库单号' @@ -174,20 +180,36 @@ formatter: function(value, row, index) { return $.table.selectDictLabel(materialTypeDatas, value); } - }, - { - title: '操作', - align: 'center', - formatter: function(value, row, index) { - var actions = []; - actions.push('编辑 '); - actions.push('删除'); - return actions.join(''); - } }] }; $.table.init(options); }); + + function removeAll() { + var rows = $.common.isEmpty(table.options.uniqueId) ? $.table.selectFirstColumns() : $.table.selectColumns(table.options.uniqueId); + console.log(rows) + if (rows.length > 0) { + $.modal.confirm("是否删除选中的"+ rows.length +"条出库单?", function () { + $.ajax({ + url: prefix + '/removeAll', + type: 'post', + data: { + ids : rows.join() + }, + success: function (res) { + // console.log(res) + $("#bootstrap-table").bootstrapTable("refresh"); + $.modal.msgSuccess("删除成功!") + }, + error: function (res) { + $.modal.msgError(res.error()) + } + }) + }) + } else { + $.modal.msgWarning("请选择一条数据") + } + } \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoYL/add.html b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoYL/add.html index ef22da73..afa13f88 100644 --- a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoYL/add.html +++ b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoYL/add.html @@ -49,7 +49,9 @@
    - +
    @@ -101,6 +103,7 @@
    @@ -117,6 +120,14 @@
    +
    + +
    + +
    +


    @@ -135,6 +146,8 @@ diff --git a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoYL/edit.html b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoYL/edit.html index 72010778..a3e7020c 100644 --- a/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoYL/edit.html +++ b/ruoyi-admin/src/main/resources/templates/storehouse/outboundInfoYL/edit.html @@ -34,6 +34,7 @@
    +
    @@ -49,7 +50,9 @@
    - +
    @@ -101,6 +104,7 @@
    @@ -119,13 +123,26 @@
    +
    +
    +

    +

    材料信息

    +
    +
    +
    +
    +
    \ No newline at end of file diff --git a/ruoyi-admin/src/main/resources/templates/system/dept/dept.html b/ruoyi-admin/src/main/resources/templates/system/dept/dept.html index 56d94e32..a189d73e 100644 --- a/ruoyi-admin/src/main/resources/templates/system/dept/dept.html +++ b/ruoyi-admin/src/main/resources/templates/system/dept/dept.html @@ -71,11 +71,16 @@ title: '部门名称', align: "left" }, - { - field: 'orderNum', - title: '排序', - align: "left" - }, + { + field: 'deptNumber', + title: '部门编号', + align: "left" + }, + { + field: 'leader', + title: '主管', + align: "left" + }, { field: 'status', title: '状态', diff --git a/ruoyi-admin/target/classes/com/ruoyi/web/controller/system/SysCaptchaController.class b/ruoyi-admin/target/classes/com/ruoyi/web/controller/system/SysCaptchaController.class index 1309872b237bd90f0d81d4fe131eb432da2c4ddd..929c2ccd1793198117a4be4d4dcb884a562e7545 100644 GIT binary patch delta 14 Vcmew_^Iv9zE-z!`WGOSzXi0rQK%< zmS$x|J4rnuOIxk9eP3-e)Ar45)&6tu<-Yg1!1v9}Ju`FW|IdHs%)6og%5rP-o+mZ{ zI8yZtU?|q;xH}O;aF2$21Bk;KX_|H1C;k00^FR;};-N%5j7I`!!J`4JMQZ?$;c;mq zI!4KYbpf=YUB@g9Pv}@LrY8e<3LA8644@oO>v$$WZ_iq?|2Z)|FN`E;=&*FWD#O>LiO3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