Commit 7cc5c952 by 赵增煜

测试脚本

parent 01e10fbf
...@@ -41,7 +41,7 @@ public function handle() ...@@ -41,7 +41,7 @@ public function handle()
// } // }
// 刷新存量问诊人年龄 // 刷新存量问诊人年龄
$query = PatientModel::query()->whereNotNull('id_card')->where('age','<=', 0); $query = PatientModel::query()->whereNotNull('id_card')->where('age','<=', 0)->withTrashed();
$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