demo: public class TestStringEquals { public static void main(String[] args) { String a = "test"; String b = "test"; String c = new String("test"); String d = new String("test"); String e = a; String f = new String(
1. 参数中直接加入%%,注意不需要加两个单引号,加了就会出错,因为系统会自动为字符串类型加上两个单引号 <select id="selectPersons" resultType="person" parameterType="person"> select id,sex,age,username,password from person where true <if test="username!=null&qu
问题描述 @Select("select * from account order by #{orderBy} #{orderRule} limit #{start},#{offset}") public List<Account> getAccountList(@Param("orderBy") String orderBy, @Param("orderRule") String orderRule, @Param("st