TG.WXCRM.V4/IBLL/Level2/IL2_SOFT_ORDER_Q.cs

44 lines
1.7 KiB
C#

using System;
using System.Collections.Generic;
using WX.CRM.Model.DTO;
using WX.CRM.Model.Entity;
using WX.CRM.Model.MAP;
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_ORDERDTO> getOrderList(ref Common.Pager pg, int status, DateTime? stime, DateTime? etime, int productId, string resid, string orderid, string username, string groupId, decimal userid, QueryUserComboDto usercomboDto = null);
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, string deptcode);
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);
bool OpenOrder(string id, string reson, decimal? opuser = 10000);
}
}