Commit f5b68755 by 赵增煜

测试脚本

parent c3e8f2ac
......@@ -41,7 +41,7 @@ public function handle()
// }
// 刷新存量问诊人年龄
$patients = PatientModel::query()->whereNotNull('id_card')->where('age',0)->get();
$patients = PatientModel::query()->whereNotNull('id_card')->where('age','0')->get();
if( $patients->count() > 0 ){
foreach ($patients as $patient) {
$patient->age = getAgeByIdCard($patient->id_card);
......
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