(int) Db::name('ej_pharmacy_submission')->count()"), 'bootstrap replacement must lock reference sources before checking the zero-reference gate' ); $assertTrue( str_contains($bootstrapServiceSource, "Db::name('doctor_medicine')->where('id', '>=', 0)") && str_contains($bootstrapServiceSource, '本地药材源快照在远端导入期间发生变化'), 'bootstrap replacement must lock and revalidate the complete local medicine source snapshot' );