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 getOrderByResId(string resId, decimal? productId = null); L2_SOFT_ORDER getOrderByOrderId(decimal orderId); L2_SOFT_ORDER GetOrderByWebOrderId(string webOrderId); /// /// 审核列表 /// /// /// /// /// /// List 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 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); } }