|
@@ -57,7 +57,7 @@ public class ToBigHelper
|
|
|
List<int> LeaderUserIds = new List<int>();
|
|
|
int index = 0;
|
|
|
string ToCodes = "";
|
|
|
- List<PosMachinesTwo> list = db.PosMachinesTwo.Where(m => Codes.Contains(m.PosSn) && m.BuyUserId == UserId && m.IsPurchase == 0 && m.ActivationState == 1).OrderBy(m => m.RecycEndDate).ToList();
|
|
|
+ List<PosMachinesTwo> list = db.PosMachinesTwo.Where(m => Codes.Contains(m.PosSn) && m.BuyUserId == UserId && m.IsPurchase == 0 && (m.ActivationState == 1 || (!string.IsNullOrEmpty(m.SeoKeyword) && m.SeoKeyword != "0"))).OrderBy(m => m.RecycEndDate).ToList();
|
|
|
foreach(PosMachinesTwo sub in list)
|
|
|
{
|
|
|
index += 1;
|