在mysql中拼接字符串的函數concat,
如果是數值類型的需要相加(mybatis)
number = number+{number,jdbcType}
拼接字符串則是(mybatis)
select concat('11','22','33');結果爲112233
在mybatis中,remark是我需要賦予拼接結果的字段,purpose是拼接的字符串
remark =concat(#{remark,jdbcType=VARCHAR},#{purpose,jdbcType=VARCHAR})