怎么在数据库表里面自动插入日期字段


 String sql="insert into t_testinfo (userId,main_food,vegetable,meat,method,mood,sport_amount,health_ill," +
    "body_condition,fubu_condition,fubu_pain_position,fubu_pain_reason,fubu_pain_serious,past_cacation_times," +
    "now_cacation_times,cacation_time,cacation_feeling,cacation_taste,cacation_control,cacation_have," +
    "take_laxatives,blood_cacation,date) values(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,NOW())";

相关内容

    暂无相关文章