diff --git a/plugin/think-library/src/Model.php b/plugin/think-library/src/Model.php index 0acf08869..24277aa32 100644 --- a/plugin/think-library/src/Model.php +++ b/plugin/think-library/src/Model.php @@ -71,7 +71,7 @@ abstract class Model extends \think\Model */ public static function mq(array $data = []) { - return static::mk($data)->newQuery(); + return Helper::buildQuery(static::mk($data)->newQuery()); } /**