ComplianceServer/oldcode/IBLL/Level2/IL2_SOFT_ORDER_Q.cs

36 lines
1.5 KiB
C#

using System;
using System.Collections.Generic;
using WX.CRM.Model.Entity;
namespace WX.CRM.IBLL.Level2
{
public interface IL2_SOFT_ORDER_Q
{
L2_SOFT_ORDER getOrder(decimal productId, string username, string resId);
List<L2_SOFT_ORDER> getOrderByResId(string resId, decimal? productId = null);
L2_SOFT_ORDER getOrderByOrderId(decimal orderId);
L2_SOFT_ORDER GetOrderByWebOrderId(string webOrderId);
/// <summary>
/// 审核列表
/// </summary>
/// <param name="pg"></param>
/// <param name="status"></param>
/// <param name="stime"></param>
/// <param name="etime"></param>
/// <returns></returns>
List<L2_SOFT_ORDER> getOrderList(ref Common.Pager pg, int status, DateTime? stime, DateTime? etime, int productId, string resid, string orderid, string username, string groupId, decimal userid);
List<L2_SOFT_ORDER> getOrderByUsername(string username);
bool CreateOrder(decimal productid, string productCode, string resid, string username, decimal companyid, decimal salesid, int ordertype, decimal days, decimal price, out decimal orderId, int? mainOrderId);
bool UpdateOrder(ref Common.ValidationErrors errors, L2_SOFT_ORDER order);
string deleteOrder(ref Common.ValidationErrors errors, decimal orderId);
//bool BatchUpdateVip(decimal orderid, string username);
bool updatewebOrder(decimal orderid, string WEBORDERID);
string closeOrder(decimal orderId);
}
}