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