<if test="type !=null and type !=''"> AND l.type=#{type,jdbcType=INTEGER} </if> 转载于:https://www.cnblogs.com/liaojie970/p/6236102.html