It's simple the above code has no error when you edit a industry name the industry status always become null bcoz you are updating the name only sooo you can use a query dynamically.use dynamic update query this will solve ur problem.
UPDATE industry_dets SET industry_name= CASE WHEN _industry_name IS NULL OR _industry_name =' ' THEN industry_name ELSE _industry_name END,
industry_status= CASE WHEN _industry_status IS NULL OR _industry_status =' ' THEN industry_status ELSE _industry_status END
WHERE industry_id=_industry_id;