@@ -233,7 +233,7 @@ class TagHistory extends CatchController
$labelArray=explode(',',$otherlabel);
foreach($labelArray as $item){
$otherWhere[]=["mac","=",$othermac];
- $otherWhere[]=["lable","=",$item];
+ $otherWhere[]=["lable","=",trim($item)];
$t1 = $this->tagHistoryModel->where($otherWhere)->order("id","desc")->field('id,temperature,mac,lable,step,addTime,time,rssi,move,temperWarn')->find();
if(empty($t1)){