|
@@ -546,7 +546,7 @@ namespace MySystem
|
|
{
|
|
{
|
|
MpMainModels2.WebCMSEntities db = new MpMainModels2.WebCMSEntities();
|
|
MpMainModels2.WebCMSEntities db = new MpMainModels2.WebCMSEntities();
|
|
List<MpMainModels2.HdOrderTmp> orders = db.HdOrderTmp.Where(m => m.Status == 0).Take(200).ToList();
|
|
List<MpMainModels2.HdOrderTmp> orders = db.HdOrderTmp.Where(m => m.Status == 0).Take(200).ToList();
|
|
- if(orders.Count > 1)
|
|
|
|
|
|
+ if(orders.Count > 0)
|
|
{
|
|
{
|
|
foreach (var order in orders)
|
|
foreach (var order in orders)
|
|
{
|
|
{
|