Browse Source

优化

shengtang
747575620@qq.com 1 year ago
parent
commit
d2b109bea0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/BPA.MES.Base.Application/Services/RecipesService/Services/RecipesInfoService.cs

+ 1
- 1
backend/BPA.MES.Base.Application/Services/RecipesService/Services/RecipesInfoService.cs View File

@@ -120,7 +120,7 @@
[HttpPost]
public async Task<bool> ChangeGroup(RecipesGroupInput input)
{
var isExit =await await _dbContext.Queryable<RecipesGroupEntity>().FirstAsync(x=>x.RecipesId==input.RecipesId);
var isExit =await _dbContext.Queryable<RecipesGroupEntity>().FirstAsync(x=>x.RecipesId==input.RecipesId);
var entity = input.Adapt<RecipesGroupEntity>();
if (isExit==null)
{


Loading…
Cancel
Save