11.24的更新,主要是审核业务相关和申请表相关
This commit is contained in:
parent
ea4715a8bb
commit
a3f4bffcc5
@ -283,7 +283,6 @@ namespace asg_form.Controllers.Teamregistration
|
|||||||
}
|
}
|
||||||
return Ok(new error_mb { code = 401, message = "没有管理员,无法设置" });
|
return Ok(new error_mb { code = 401, message = "没有管理员,无法设置" });
|
||||||
}
|
}
|
||||||
}
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 根据主键id找申请表所有内容T_Comform
|
/// 根据主键id找申请表所有内容T_Comform
|
||||||
/// </summary>
|
/// </summary>
|
||||||
@ -299,6 +298,17 @@ namespace asg_form.Controllers.Teamregistration
|
|||||||
return Ok(new error_mb { code = 401, message = "无权访问" });
|
return Ok(new error_mb { code = 401, message = "无权访问" });
|
||||||
|
|
||||||
}
|
}
|
||||||
|
using (TestDbContext sub = new TestDbContext())
|
||||||
|
{
|
||||||
|
var query = sub.T_Comform.AsQueryable()
|
||||||
|
.Where(n => n.id == Id)
|
||||||
|
.OrderByDescending(a => a.user_id);
|
||||||
|
|
||||||
|
var result = await query.ToListAsync();
|
||||||
|
|
||||||
|
return Ok(new { code = 200, data = result });
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user