48 lines
1.4 KiB
C#
48 lines
1.4 KiB
C#
using log4net;
|
|
using MSXML2;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Web.UI.WebControls;
|
|
using UFIDA.U8.Framework.Api.ControlObject.Common;
|
|
using UFIDA.U8.Framework.Api.ControlObject.Entity;
|
|
using UFIDA.U8.Framework.Api.ControlObject.U8M;
|
|
|
|
namespace UFIDA.U8.Framework.Api.ControlObject.AP
|
|
{
|
|
public class clsApplyPayCO
|
|
{
|
|
private readonly ILog _logInfo = LogManager.GetLogger("logInfo");
|
|
|
|
public async Task<BaseResult<string>> SaveVoucher(BaseLogin baseLogin, Dictionary<string, object> input, string SysId = null, bool IsAdd = true)
|
|
{
|
|
try
|
|
{
|
|
var co = "UFAPApplyPay.clsApplyPayCO".GetComObject();
|
|
|
|
var errorMsg = "";
|
|
_logInfo.Debug("开始输出登录信息");
|
|
_logInfo.Debug(baseLogin._vbLogin.userToken);
|
|
|
|
co.DoInit(baseLogin._vbLogin, baseLogin.Connection, SysId);
|
|
|
|
IXMLDOMDocument2 domHead = new DOMDocument();
|
|
IXMLDOMDocument2 domBody = new DOMDocument();
|
|
|
|
return null;
|
|
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
await Task.Delay(1);
|
|
|
|
_logInfo.Error(ex.Message, ex);
|
|
|
|
return new BaseResult<string> { bSuccess = false, message = "保存失败", result = ex.Message };
|
|
}
|
|
}
|
|
}
|
|
}
|