Git.Storage.Web/Areas/Report/Controllers/ReportAjaxController.cs
(开头部分) 55KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using Git.Framework.Controller;
using Git.Storage.Entity.Store;
using Git.Storage.Provider.Store;
using Git.Storage.Web.Lib.Filter;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Git.Framework.DataTypes.ExtensionMethods;
using Git.Framework.ORM;
using Git.Framework.DataTypes;
using Git.Framework.Json;
using Git.Storage.Web.Lib;
using System.Data;
using Git.Storage.Common.Excel;
using Git.Framework.Controller.Mvc;
using Git.Storage.Provider;
using Git.Storage.Common;
using Storage.Common;
using System.Xml;
using Git.Storage.Entity.InStorage;
using Git.Storage.Provider.InStorage;
using Git.Storage.Entity.OutStorage;
using Git.Storage.Provider.OutStorage;
using Git.Storage.Provider.Client;
using Git.Storage.Entity.Bad;
using Git.Storage.Provider.Bad;
using Git.Storage.Provider.Returns;
using Git.Storage.Entity.Return;
using Aspose.Cells;
using System.Text;
using Git.Storage.Entity.Report;
using Git.Framework.Cache;
namespace Git.Storage.Web.Areas.Report.Controllers
{
public class ReportAjaxController : AjaxPage
{
/// <summary>
/// 查询产品类别分页
/// </summary>
/// <returns></returns>
[LoginAjaxFilter]
public ActionResult ProductReportList()
{
string searchKey = WebUtil.GetFormValue<string>("ProductName", string.Empty);
string beginTime = WebUtil.GetFormValue<string>("BeginTime", string.Empty);
string endTime = WebUtil.GetFormValue<string>("EndTime", string.Empty);
int pageIndex = WebUtil.GetFormValue<int>("pageIndex", 0);
int pageSize = WebUtil.GetFormValue<int>("pageSize", 0);
string storageNum = this.DefaultStore;
ProductProvider provider = new ProductProvider();
ProductEntity entity = new ProductEntity();
entity.StorageNum = storageNum;
if (!searchKey.IsEmpty())
{
entity.Begin<ProductEntity>()
.Where<ProductEntity>("ProductName", ECondition.Like, "%" + searchKey + "%")
.Or<ProductEntity>("SnNum", ECondition.Like, "%" + searchKey + "%")
后面还有 1167 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
