修复land_area 错误 breed_area 错误
This commit is contained in:
parent
b4d2add477
commit
5870683c22
@ -754,12 +754,17 @@ class Maintainentry extends BaseController
|
|||||||
// }
|
// }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
$waste_land_area = 0;
|
||||||
|
|
||||||
$waste_land_area = $post['land_area'] - $mianji - $post['breed_area'];
|
if (!empty($post['land_area']) && !empty($post['breed_area']))
|
||||||
if($waste_land_area < 0){
|
{
|
||||||
$waste_land_area = 0;
|
$waste_land_area = $post['land_area'] - $mianji - $post['breed_area'];
|
||||||
|
if($waste_land_area < 0){
|
||||||
|
$waste_land_area = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if ($find) {
|
if ($find) {
|
||||||
// 修改人员信息
|
// 修改人员信息
|
||||||
$data['tools_msg'] = $post['tools_msg'];
|
$data['tools_msg'] = $post['tools_msg'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user