写update语句
update fr_project_basics set contract_input_date=curdate() where isnull(contract_input_date)
select isnull(字段名,curdate()) as 字段名 from 表