Commit 38b0dcc9 by 赵增煜

测试脚本

parent bb96356b
...@@ -41,7 +41,7 @@ public function handle() ...@@ -41,7 +41,7 @@ public function handle()
// } // }
// 刷新存量问诊人年龄 // 刷新存量问诊人年龄
$query = PatientModel::query()->whereNotNull('id_card')->whereRaw('age = ?', [0]); $query = PatientModel::query()->whereNotNull('id_card')->whereRaw('age','<=', 0);
$sql = $query->toSql(); $sql = $query->toSql();
var_dump($sql); var_dump($sql);
$patients = $query->get(); $patients = $query->get();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment