直接上代码: <select id="selectSysEssayList" parameterType="SysEssay" resultMap="SysEssayResult"> <include refid="selectSysEssayVo"/> <where> <if test="title != null and title != ''"> and title like concat('%', #{title}, '%')</if...