Commit b97fcc46 authored by 吴春's avatar 吴春

提交代码

parent 2118726d
......@@ -434,7 +434,7 @@ namespace Mall.Module.TradePavilion
#region 修改载体
int FirstStoreTest = 0;
if (!string.IsNullOrWhiteSpace(CarrierModel.StartingInfo) && !string.IsNullOrWhiteSpace(CarrierModel.Discount))
if (!string.IsNullOrWhiteSpace(CarrierModel.StartingInfo))
{
FirstStoreTest = 1;
}
......@@ -509,7 +509,10 @@ namespace Mall.Module.TradePavilion
inserCModel.OpeningStatus = 1;
}
}
if (!string.IsNullOrWhiteSpace(CarrierModel.StartingInfo))
{
inserCModel.FirstStoreTest = 1;
}
int Id = carrierRepository.Insert(inserCModel);
if (Id > 0)
{
......
......@@ -638,7 +638,7 @@ namespace Mall.Module.TradePavilion
#endregion
#region 修改载体
int FirstStoreTest = 0;
if (!string.IsNullOrWhiteSpace(CarrierModel.StartingInfo) && !string.IsNullOrWhiteSpace(CarrierModel.Discount))
if (!string.IsNullOrWhiteSpace(CarrierModel.StartingInfo) )
{
FirstStoreTest = 1;
}
......@@ -719,6 +719,10 @@ namespace Mall.Module.TradePavilion
inserCModel.OpeningStatus = 1;
}
}
if (!string.IsNullOrWhiteSpace(CarrierModel.StartingInfo))
{
inserCModel.FirstStoreTest = 1;
}
int Id = carrierRepository.Insert(inserCModel, trans);
if (Id > 0)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment