Kaynağa Gözat

添加页面搜索条件

lcl 8 ay önce
ebeveyn
işleme
227e942931

BIN
.DS_Store


+ 8 - 0
Model/Vo/AppBottomNavsQueryVo.cs

@@ -7,6 +7,8 @@ namespace Vo
     /// </summary>
     public class AppBottomNavsQueryVo
     {
+        public int id { get; set; }
+
         /// <summary>
         /// 标题
         /// </summary>
@@ -91,6 +93,12 @@ namespace Vo
         public string statusBarColor { get; set; }
 
 
+        /// <summary>
+        /// 是否PAG
+        /// </summary>
+        public bool pagFlag { get; set; }
+
+
 
     }
 }

+ 2 - 2
Services/PageUpdateInfoService.cs

@@ -32,8 +32,8 @@ namespace Services
             //开始拼装查询条件
             var predicate = Expressionable.Create<PageUpdateInfo>();
             predicate = predicate.AndIF(!string.IsNullOrEmpty(parm.kind), m => m.kind.Contains(parm.kind));
-            predicate = predicate.AndIF(!string.IsNullOrEmpty(parm.title), m => m.kind.Contains(parm.title));
-            predicate = predicate.AndIF(!string.IsNullOrEmpty(parm.modulePath), m => m.kind.Contains(parm.modulePath));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(parm.title), m => m.title.Contains(parm.title));
+            predicate = predicate.AndIF(!string.IsNullOrEmpty(parm.modulePath), m => m.modulePath.Contains(parm.modulePath));
             var response = Queryable()
                 .Where(predicate.ToExpression())
                 .OrderBy(m => m.id)