Esempio n. 1
0
        public IActionResult Serch(dynamic dy)
        {
            int rowCount = 0;
            var result   = api.Search(dy, out rowCount);

            if (rowCount == 0)
            {
                return(Ok(Res.Fail("暂无查询结果")));
            }
            else
            {
                return(Ok(Res.Success(result, rowCount)));
            }
        }
Esempio n. 2
0
 /// <summary>
 /// 查询表数据包括视图
 /// </summary>
 /// <param name="dy"></param>
 /// <param name="rowCount"></param>
 /// <returns></returns>
 public object Search(dynamic dy, out int rowCount)
 {
     return(api.Search(dy, out rowCount));
 }