소스 검색

z

groupmealmanage
zhaoy 7 달 전
부모
커밋
c1a499c5ea
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -4
      BPA.SAAS.Manage.Application/System/Services/MenuService.cs

+ 4
- 4
BPA.SAAS.Manage.Application/System/Services/MenuService.cs 파일 보기

@@ -131,10 +131,10 @@ namespace BPA.SAAS.Manage.Application.System.Services
public async Task<bool> Add(MenuDtoInput input)
{
var dicttypes = _db.Queryable<BPA_Menu>().Where(a => a.Code == input.Code).ToList();
//if (dicttypes.Count() > 0)
//{
// throw Oops.Oh("编码已存在");
//}
if (dicttypes.Count() > 0)
{
throw Oops.Oh("编码已存在");
}
if (input.Name.Length > 20)
{
throw Oops.Oh("菜单名称过长");


불러오는 중...
취소
저장