原始:
select to_char(存储时间的列,'yyyy-mm-dd hh:mm') TimeStr from product p where id=#{id}
改后:
select to_char(存储时间的列,'yyyy-mm-dd hh24:mi') TimeStr from product p where id=#{id}