WmptWap/myexpresslist.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WMPT.Model;
using WMPT.SQLServerDAL;
using WMPT.Common;
namespace Html5
{
/// <summary>
/// 跑腿订单
/// </summary>
public partial class myexpresslist : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
int pagesize = 8;
int pageindex = HjNetHelper.GetQueryInt("PageNo", 1);
int dayorder = HjNetHelper.GetQueryInt("t", 0);
ECustomerInfo user = UserHelp.GetUser();
string openid = "";
string sql = " 1=1 ";
if (user == null)
{
openid = WebUtility.FixgetCookie("openid");
if (openid == null || openid == "")
{
return;
}
sql += " and tempcode = '" + openid + "'";
}
else
{
sql += " and UserId=" + user.DataID;
if (dayorder==1)
{
sql += " and orderTime > '" + DateTime.Now.ToShortDateString() + "' and orderTime < '" + DateTime.Now.ToString() + "'";
}
}
IList<ExpressOrderInfo> orderlist = new ExpressOrder().GetList(pagesize, pageindex, sql, "dataid", 1);
WebUtility.BindRepeater(rptorder, orderlist);
int countNum = new ExpressOrder().GetCount(sql);
int pagecount = 0;
if (countNum % pagesize == 0)
{
pagecount = countNum / pagesize;
}
else
后面还有 15 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
