Web/App/shop/GetOrderListByUserId.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using WMPT.Model;
using WMPT.SQLServerDAL;
using WMPT.Common;
using System.Collections;
/// <summary>
/// 获取订单[外卖订单 和 跑腿订单]
/// </summary>
public partial class AndroidAPI_shop_GetOrderListByUserId : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Response.Clear();
Custorder dal = new Custorder();
int pagesize = HjNetHelper.GetPostParam("pagesize", 8);//页容量
int pageindex = HjNetHelper.GetPostParam("pageindex", 1);//当前页
int pagecount = 1;
string did = WebUtility.InputText(Request["did"]);//商家编号
string order_state = WebUtility.InputText(Request["state"]);//订单状态
string shopState = WebUtility.InputText(Request["shopState"]);//商家状态
string waimaiWhere = " 1=1 ";
string paotuiWhere = " 1=1 ";
if (!string.IsNullOrEmpty(did))
{
waimaiWhere += " and togoid=" + did;
paotuiWhere += " and TogoId=" + did;//配送员编号
}
else
{
Response.End();
return;
}
if (!string.IsNullOrEmpty(order_state) && order_state != "-1")
{
waimaiWhere += " and OrderStatus=" + order_state;
paotuiWhere += " and State=" + order_state;
}
//商家接收状态
if (!string.IsNullOrEmpty(shopState))
{
waimaiWhere += " and IsShopSet=" + shopState;
}
int count = 0;
//得到外卖订单和跑腿订单,都按调度时间排序
后面还有 46 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
