【记录】【持续更新】mybatis使用记录时间:2023-03-09 22:19:54 1、> < 等符号在mybatis中的sql语句需要转义 > : > < : < 2、mybatis动态选择 <choose> <when test="startTime != null"> #{startTime}, </when> <otherwise> #NOW(), </otherwise> </choose>