Merge branch 'master' of github.com:KJD2025/KJD
This commit is contained in:
commit
443466afbc
11 files changed
+224
-26
No files matched your search
@@ -1,4 +1,5 @@
|
||||
using AllBase.Model.Result.PDDResult;
|
||||
using AllBase;
|
||||
using AllBase.Model.Result.PDDResult;
|
||||
using NaiBa.Util.Extension;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -35,6 +36,7 @@ namespace TemuKJD.BLL.ImportConverts
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
LogSave.Add("wx导入失败---"+ex.Message);
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
@@ -42,25 +44,25 @@ namespace TemuKJD.BLL.ImportConverts
|
||||
|
||||
}
|
||||
|
||||
public static PDDFrontProductInfo5 SetContentConvert(string content)
|
||||
{
|
||||
public static PDDFrontProductInfo5 SetContentConvert(string content)
|
||||
{
|
||||
|
||||
foreach (IGoodsConverter item in _converters)
|
||||
{
|
||||
try
|
||||
{
|
||||
item.SetContent(content.ParseToString());
|
||||
if (item.IsMatch())
|
||||
{
|
||||
return item.Convert();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
foreach (IGoodsConverter item in _converters)
|
||||
{
|
||||
try
|
||||
{
|
||||
item.SetContent(content.ParseToString());
|
||||
if (item.IsMatch())
|
||||
{
|
||||
return item.Convert();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user