49 lines
1.6 KiB
C#
49 lines
1.6 KiB
C#
using log4net;
|
|
using MSXML2;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using UFGeneralFilterOCX;
|
|
using UFIDA.U8.Framework.Api.ControlObject.Entity;
|
|
using UFIDA.U8.Framework.Api.ControlObject.PU;
|
|
using UFIDA.U8.Framework.Api.ControlObject.U8M;
|
|
|
|
namespace UFIDA.U8.Framework.Api.ControlObject.SA
|
|
{
|
|
/// <summary>
|
|
/// 销售管理
|
|
/// </summary>
|
|
public class ClsVoucherCO_SA
|
|
{
|
|
protected readonly ILog logInfo = LogManager.GetLogger("logInfo");
|
|
|
|
public async Task<BaseResult<string>> Save(BaseLogin baseLogin, Dictionary<string, object> dictionary, string cardNumber, string VoucherState, bool bGetCode = false, string codeKey = null, bool bAudit = false, bool iswfcontrolled = false, string cFlowFieldName = "IsWfControlled")
|
|
{
|
|
try
|
|
{
|
|
var errorMsg = "";
|
|
logInfo.Debug("开始输出登录信息");
|
|
logInfo.Debug(baseLogin._vbLogin.userToken);
|
|
|
|
//var co = InitCo(baseLogin, enmVoucherType, bPositive, sBillType, sBusType, UserMode, sOverDetailsXml);
|
|
|
|
IXMLDOMDocument2 domHead = new DOMDocument();
|
|
IXMLDOMDocument2 domBody = new DOMDocument();
|
|
IXMLDOMDocument2 domCur = new DOMDocument();
|
|
|
|
return new BaseResult<string>();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
logInfo.Error(ex.Message, ex);
|
|
|
|
await Task.Delay(1);
|
|
|
|
return new BaseResult<string> { bSuccess = false, message = "保存失败", result = ex.Message };
|
|
}
|
|
}
|
|
}
|
|
}
|