DuGuYang 2 years ago
parent
commit
3221602fc2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Areas/Admin/Controllers/MainServer/PosMachinesTwoController.cs

+ 2 - 2
Areas/Admin/Controllers/MainServer/PosMachinesTwoController.cs

@@ -789,7 +789,7 @@ namespace MySystem.Areas.Admin.Controllers
             decimal AmountYks = 0;//已扣
             decimal AmountDks = 0;//待扣
             var time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
-            string condition = " and Status>-1 and RecycEndDate<'" + time + "' and ScanQrTrade>0 and ScanQrTrade<999 and BindingState=0";
+            string condition = " and Status>-1 and RecycEndDate<'" + time + "' and BindingState=0";
 
             //所属创客编号
             if (!string.IsNullOrEmpty(UserIdMakerCode))
@@ -817,7 +817,7 @@ namespace MySystem.Areas.Admin.Controllers
             }
             if (!string.IsNullOrEmpty(PosSn))
             {
-                condition += " and PosSn =" + PosSn + "";
+                condition += " and PosSn ='" + PosSn + "'";
             }
 
             if (!string.IsNullOrEmpty(RecycEndDateData))