mybatis mysql 时间段

unix_timestamp(questiontime) between unix_timestamp(#{questiontime[0]}) and unix_timestamp( #{questiontime[1]})

代表:

 #{questiontime[0]})<questiontime<#{questiontime[1]},意思你懂得。。。

你可能感兴趣的:(mybatis mysql 时间段)