From 06bf635016c8cdd691fac8cda56d6b50915a4996 Mon Sep 17 00:00:00 2001 From: yangle <admin@YINMOU> Date: 星期四, 18 五月 2023 08:44:32 +0800 Subject: [PATCH] 流转卡、生产订单、工序进站单、工序出站单只能自己删除自己的单据。(所有模块,做个系统参数,删除人和制单人必须一致) 流转卡列表批量删除批量删除(会误操作),删除的时候先根据生产订单去过滤 --- WebAPI/Controllers/BaseSet/Gy_MaintenanceModeController.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WebAPI/Controllers/BaseSet/Gy_MaintenanceModeController.cs b/WebAPI/Controllers/BaseSet/Gy_MaintenanceModeController.cs index 6c2baa4..db3f653 100644 --- a/WebAPI/Controllers/BaseSet/Gy_MaintenanceModeController.cs +++ b/WebAPI/Controllers/BaseSet/Gy_MaintenanceModeController.cs @@ -128,7 +128,7 @@ DAL.ClsGy_RepairType_View oDeptHlp = new DAL.ClsGy_RepairType_View(); try { - if (!DBUtility.ClsPub.Security_Log(ModRightNameDelete, 1, true, User)) + if (!DBUtility.ClsPub.Security_Log(ModRightNameDelete, 1, false, User)) { objJsonResult.code = "0"; objJsonResult.count = 0; @@ -312,7 +312,7 @@ //鍒ゆ柇鏉冮檺 - if (!ClsPub.Security_Log(msg5, 1, true, msg4)) + if (!ClsPub.Security_Log(msg5, 1, false, msg4)) { objJsonResult.code = "0"; objJsonResult.count = 0; -- Gitblit v1.9.1