Procházet zdrojové kódy

菜单按钮调整提交

zhengbingbing %!s(int64=5) %!d(string=před) roky
rodič
revize
237c683abc

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

258
             if (string.IsNullOrEmpty(input.code))
258
             if (string.IsNullOrEmpty(input.code))
259
                 return Error("请输入按钮代码");
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
             if (entity_ModuleInfoButton != null)
262
             if (entity_ModuleInfoButton != null)
263
             {
263
             {
264
                 entity_ModuleInfoButton.F_MenuId = input.moduleid;
264
                 entity_ModuleInfoButton.F_MenuId = input.moduleid;