|  |  |  | 
|---|
|  |  |  | where disabled!=1 and deleted!=1 and phone=#{phone} and password=#{password} | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="getUserList" resultMap="loginResultMap" > | 
|---|
|  |  |  | select | 
|---|
|  |  |  | <include refid="Login_Column_List" /> | 
|---|
|  |  |  | from ba_user | 
|---|
|  |  |  | where disabled!=1 and deleted!=1 | 
|---|
|  |  |  | </select> | 
|---|
|  |  |  |  | 
|---|
|  |  |  | <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="oneResultMap"> | 
|---|
|  |  |  | <!--@mbg.generated--> | 
|---|
|  |  |  | select | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="password!= null and password !=''"> | 
|---|
|  |  |  | `password`, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="supperAdmin!= null and supperAdmin !=''"> | 
|---|
|  |  |  | <if test="supperAdmin!= null"> | 
|---|
|  |  |  | supper_admin, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="disabled != null"> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="password!= null and password !=''"> | 
|---|
|  |  |  | #{password}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="supperAdmin!= null and supperAdmin !=''"> | 
|---|
|  |  |  | <if test="supperAdmin!= null"> | 
|---|
|  |  |  | #{supperAdmin}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="disabled != null"> | 
|---|
|  |  |  | 
|---|
|  |  |  | <if test="password!= null and password !=''"> | 
|---|
|  |  |  | `password` = #{password}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="supperAdmin!= null and supperAdmin !=''"> | 
|---|
|  |  |  | <if test="supperAdmin!= null"> | 
|---|
|  |  |  | supper_admin = #{supperAdmin}, | 
|---|
|  |  |  | </if> | 
|---|
|  |  |  | <if test="disabled != null"> | 
|---|