ソースを参照

菜单按钮调整提交

zhengbingbing 5 年 前
コミット
237c683abc
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      代码/TVShoppingCallCenter_ZLJ/Controllers/System/ModuleButtonInfoController.cs

+ 1 - 1
代码/TVShoppingCallCenter_ZLJ/Controllers/System/ModuleButtonInfoController.cs

@@ -258,7 +258,7 @@ namespace TVShoppingCallCenter_ZLJ.Controllers.System
258 258
             if (string.IsNullOrEmpty(input.code))
259 259
                 return Error("请输入按钮代码");
260 260
 
261
-            var entity_ModuleInfoButton = await _sys_modulebuttoninfoRepository.GetSingle(x=>x.F_Id==input.id && x.F_State != (int)EnumDelState.Enabled);
261
+            var entity_ModuleInfoButton = await _sys_modulebuttoninfoRepository.GetSingle(x=>x.F_Id==input.id && x.F_State != (int)EnumDelState.Delete);
262 262
             if (entity_ModuleInfoButton != null)
263 263
             {
264 264
                 entity_ModuleInfoButton.F_MenuId = input.moduleid;