WIN-2308041133\Administrator 2 months ago
parent
commit
99adbc92af
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/common/dao/store/order/VerifyRecordDao.php

+ 1 - 1
app/common/dao/store/order/VerifyRecordDao.php

@@ -43,7 +43,7 @@ class VerifyRecordDao extends BaseDao
 //        return $this->getModel()::getDB()->where($where);
         $query = $this->getModel()::getDB()
             ->when(isset($where['order_sn']) && $where['order_sn'] !== '',function($query) use($where){
-                $query->where('order_sn',$where['order_sn']);
+                $query->where('order_sn','like',$where['order_sn']);
             })->when(isset($where['uid']) && $where['uid'] !== '',function($query) use($where){
                 $query->where('uid',$where['uid']);
             })->when(isset($where['product_id']) && $where['product_id'] !== '',function($query) use($where){