代码:and c.userName like '%数学%'
输出SQL:select ..... and c.userName like '%!数(MISSING)学%!'(MISSING) %s order by l.StartTime
报错: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '(MISSING) %!s(MISSING) order by l.StartTime limit 0,10
麻烦大神们帮忙看一下,是不是%要转译,其他语言都不会,GO编译出来就报错
有疑问加站长微信联系(非本文作者)