修复数数据上传中出现的 分割字符串bug
This commit is contained in:
1 parent
82a6f793a5
commit
0d76d75294
1 file changed
+1
-1
@@ -1922,7 +1922,7 @@ namespace TemuKJD.BLL
|
||||
maxPrice = Math.Max(maxPrice, skuInfo.price.Value);
|
||||
minPrice = Math.Min(minPrice, skuInfo.price.Value);
|
||||
|
||||
var specList = skuItem.Spec.Split(new char[';'], StringSplitOptions.RemoveEmptyEntries).ToList();
|
||||
var specList = skuItem.Spec.Split(new char[] { ';' }, StringSplitOptions.RemoveEmptyEntries).ToList();
|
||||
foreach (var spec in specList)
|
||||
{
|
||||
string specKey = spec.Split(':')[0];
|
||||
|
||||
Reference in new issue
Block a user