|
|
@@ -52,7 +52,7 @@ namespace MySystem
|
|
|
{
|
|
|
startId = "867041";
|
|
|
}
|
|
|
- DataTable idsDt = OtherMySqlConn.dtable("select Id from TradeRecord where Id>=" + startId + " and UserId in (select Id from Users where BusinessFlag=1) and QueryCount=1 order by Id limit 50");
|
|
|
+ DataTable idsDt = OtherMySqlConn.dtable("select Id from TradeRecord where Id>=" + startId + " and CreateDate>='2022-08-16 00:00:00' and UserId in (select Id from Users where BusinessFlag=1) and QueryCount=1 order by Id limit 50");
|
|
|
if(idsDt.Rows.Count > 0)
|
|
|
{
|
|
|
string ids = "";
|
|
|
@@ -176,7 +176,7 @@ namespace MySystem
|
|
|
WebCMSEntities db = new WebCMSEntities();
|
|
|
try
|
|
|
{
|
|
|
- DataTable idsDt = OtherMySqlConn.dtable("select Id from PosMachinesTwo where QueryCount=1 and BuyUserId in (select Id from Users where BusinessFlag=1) and ActivationState=1 and ActivationTime is not null and ActivationTime>='2022-08-01 00:00:00' and BuyUserId>0 limit 50");
|
|
|
+ DataTable idsDt = OtherMySqlConn.dtable("select Id from PosMachinesTwo where QueryCount=1 and BuyUserId in (select Id from Users where BusinessFlag=1) and ActivationState=1 and ActivationTime is not null and ActivationTime>='2022-08-16 00:00:00' and BuyUserId>0 limit 50");
|
|
|
if(idsDt.Rows.Count > 0)
|
|
|
{
|
|
|
string ids = "";
|
|
|
@@ -233,18 +233,5 @@ namespace MySystem
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- #region 判断品牌互斥条件,根据身份证号
|
|
|
-
|
|
|
- public bool CheckRepeatByBrand(WebCMSEntities db, int MerchantId)
|
|
|
- {
|
|
|
- int check = db.PosMachinesTwo.Count(m => m.Status > -1 && m.BindMerchantId == MerchantId);
|
|
|
-
|
|
|
- return false;
|
|
|
- }
|
|
|
-
|
|
|
- #endregion
|
|
|
-
|
|
|
}
|
|
|
}
|