Przeglądaj źródła

菜单按钮调整提交

zhengbingbing 5 lat temu
rodzic
commit
237c683abc

+ 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;