首页 > 代码库 > code note

code note

<if test="loginname!=null and loginname!=‘‘">            and u.loginname like "%"#{loginname}"%"         </if>        <if test="roleId!=null and roleId!=0">            and u.role_id=#{roleId}         </if>        <if test="lastLoginStart!=null">        and u.last_login&gt;=#{lastLoginStart}         </if>        <if test="lastLoginEnd!=null and lastLoginEnd!=‘‘">        and u.last_login&lt;=#{lastLoginEnd}" 23:59:59"         </if>

 

code note