Commit 82c4f5fd authored by 蔡闯's avatar 蔡闯

2021-2-18

parent 73514d77
......@@ -110,9 +110,9 @@ class Village extends Base
$where['village_id'] = $this->village_id;
//查看小区的水电物业费等
$info = Db::name('house_village')->where($where)->field('property_price,water_price,electric_price,gas_price,park_price,village_logo')->find();
$info = Db::name('house_village')->where($where)->field('property_price,water_price,electric_price,gas_price,parking_price,village_logo')->find();
//修改了小区的费用
if($info['property_price'] != $property_price || $info['water_price'] != $water_price || $info['electric_price'] != $electric_price || $info['gas_price'] != $gas_price ||$info['park_price'] != $park_price ) {
if($info['property_price'] != $property_price || $info['water_price'] != $water_price || $info['electric_price'] != $electric_price || $info['gas_price'] != $gas_price ||$info['parking_price'] != $park_price ) {
$save['property_price'] = $property_price;
$save['water_price'] = $water_price;
$save['electric_price'] = $electric_price;
......
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 to comment