zhengbingbing %!s(int64=6) %!d(string=před) roky
rodič
revize
6a2f277fc3

+ 5 - 5
codegit/CallCenterApi/CallCenterApi.Interface/CallCenterApi.Interface/Controllers/workorder/WoBillController.cs

@@ -30,19 +30,19 @@ namespace CallCenterApi.Interface.Controllers.workorder
30 30
             string sql = " and F_IsDel=0 ";
31 31
             DataTable dt = new DataTable();
32 32
             #region 筛选
33
-            if (!string.IsNullOrWhiteSpace(usercode.Trim()))
33
+            if (!string.IsNullOrWhiteSpace(usercode))
34 34
                 sql += " and F_DealBy='" + usercode.Trim() + "'";
35
-            if(!string.IsNullOrWhiteSpace(dealstate.Trim()))
35
+            if(!string.IsNullOrWhiteSpace(dealstate))
36 36
                 sql += " and F_IsDeal="+ dealstate.Trim();
37
-            if (!string.IsNullOrWhiteSpace(openid.Trim()))
37
+            if (!string.IsNullOrWhiteSpace(openid))
38 38
             {
39 39
                 sql += " and F_Openid='"+ openid.Trim() + "'";
40 40
             }
41
-            if (!string.IsNullOrWhiteSpace(btime.Trim()))
41
+            if (!string.IsNullOrWhiteSpace(btime))
42 42
             {
43 43
                 sql += " and F_CreateOn >= '" + btime.Trim() + "' ";
44 44
             }
45
-            if (!string.IsNullOrWhiteSpace(etime.Trim()))
45
+            if (!string.IsNullOrWhiteSpace(etime))
46 46
             {
47 47
                 sql += " and F_CreateOn <= '" + etime.Trim() + "' ";
48 48
             }