完善伪静态链接

This commit is contained in:
2020-05-09 19:37:40 +08:00
parent 03fc965929
commit f1080e3618
66 changed files with 4490 additions and 4163 deletions
+12
View File
@@ -183,6 +183,18 @@ namespace COMCMS.Core
#endregion
#region 高级查询
/// <summary>
/// 通过FileName查找
/// </summary>
/// <param name="filename"></param>
/// <param name="kid"></param>
/// <returns></returns>
public static Product FindByFileName(string filename, int kid = 0)
{
var where = _.FileName == filename;
if (kid > 0) where &= _.KId == kid;
return Find(where);
}
#endregion
#region 业务操作