示例 <if test="startTime != null"> <![CDATA[ AND rra.create_time >= #{startTime} ]]> </if> 转载于:https://www.cnblogs.com/cailijuan/p/11445056.html