示例代码:
<select id="findUidByLongCode" resultType="java.lang.String"> SELECT uid FROM goods_type WHERE #{longCode} LIKE concat(‘%‘,long_code,‘%‘) </select> <select id="findUidByLongCodeDown" resultType="java.lang.String"> SELECT uid FROM goods_type WHERE lang_code LIKE ‘%‘ #{longCode} ‘%‘ </select>
原文地址:https://www.cnblogs.com/sxdcgaq8080/p/9160486.html
时间: 2024-10-29 04:21:30