diff --git a/app/common/model/informationg/UserInformationg.php b/app/common/model/informationg/UserInformationg.php index ff27c9940..691a0ceca 100644 --- a/app/common/model/informationg/UserInformationg.php +++ b/app/common/model/informationg/UserInformationg.php @@ -133,7 +133,7 @@ class UserInformationg extends BaseModel } public function getVillageNameAttr($value) { - return Db::name('geo_village')->where(['street_code' => $this->village_id])->value('village_name'); + return Db::name('geo_village')->where(['village_code' => $this->village_id])->value('village_name'); } public function getBrigadeNameAttr($value) {