Browse Source

修正传参中的字符不匹配问题

oyq28 2 years ago
parent
commit
4e1228e97b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      IMCS_CCS/Service/Impl/TaskJobService.cs

+ 1 - 1
IMCS_CCS/Service/Impl/TaskJobService.cs

@@ -769,7 +769,7 @@ namespace IMCS.CCS.Service.Impl
                     tagValueQuery.Ip = task.IP;
                     //tagValueQuery.Address = task.Address;
                     List<CcsTagValue> tagValues = _ccsTagValueService.GetList(tagValueQuery);
-                    CcsTagValue tagValue = tagValues.Where(o => o.Address == task.Address).FirstOrDefault();
+                    CcsTagValue tagValue = tagValues.Where(o => o.Address == task.Address.Trim()).FirstOrDefault();
 
                     if (tagValue != null && tagValue.TagValue == task.CallbackValue)
                     {