亲爱的,谢谢你的努力。我解决了这个问题。下面是答案。
$user1 = $wpdb->get_results("select product,checked_by,submit_date,unit_data,temperature_in,temperature_out,time_in,category from diary_user_form_storage where category_name=\'opening\' and DATE(`submit_date`) = CURDATE()");