思想:只需要替换casename为字段名,jdbcType为字段类型 <if test="casename != null"> caseName = #{casename,jdbcType=VARCHAR}, </if>