Mybatis中的sql语句中的“<”和“>”号要用转义字符“<”和”>“,否则会报错!
SELECT count(id) FROM `housing_record` where adiut_state < 3 and admin_id=#{id}
原文链接:https://blog.csdn.net/panchang199266/article/details/80809626
Mybatis中的sql语句中的“<”和“>”号要用转义字符“<”和”>“,否则会报错!
SELECT count(id) FROM `housing_record` where adiut_state < 3 and admin_id=#{id}
原文链接:https://blog.csdn.net/panchang199266/article/details/80809626