修改项目安全实施计划
This commit is contained in:
@@ -151,6 +151,27 @@ namespace BLL
|
||||
return res;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="toKeyId"></param>
|
||||
/// <param name="menuId"></param>
|
||||
/// <returns></returns>
|
||||
public static Boolean Getfile(string toKeyId)
|
||||
{
|
||||
bool res = false;
|
||||
var q = Funs.DB.AttachFile.FirstOrDefault((x => x.ToKeyId == toKeyId));
|
||||
if (q != null)
|
||||
{
|
||||
var file = q.AttachUrl;
|
||||
if (!string.IsNullOrEmpty(file))
|
||||
{
|
||||
res = true;
|
||||
}
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user