DuGuYang преди 2 години
родител
ревизия
3221602fc2
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  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 AmountYks = 0;//已扣
             decimal AmountDks = 0;//待扣
             decimal AmountDks = 0;//待扣
             var time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss");
             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))
             if (!string.IsNullOrEmpty(UserIdMakerCode))
@@ -817,7 +817,7 @@ namespace MySystem.Areas.Admin.Controllers
             }
             }
             if (!string.IsNullOrEmpty(PosSn))
             if (!string.IsNullOrEmpty(PosSn))
             {
             {
-                condition += " and PosSn =" + PosSn + "";
+                condition += " and PosSn ='" + PosSn + "'";
             }
             }
 
 
             if (!string.IsNullOrEmpty(RecycEndDateData))
             if (!string.IsNullOrEmpty(RecycEndDateData))