| | |
| | | <result column="registIp" property="registIp"/> |
| | | <result column="registAreaCode" property="registAreaCode"/> |
| | | <result column="phone" property="phone"/> |
| | | <result column="email" property="email"/> |
| | | <result column="nickName" property="nickName"/> |
| | | <result column="avatar" property="avatar"/> |
| | | <result column="birthday" property="birthday"/> |
| | |
| | | <result column="balance" property="balance"/> |
| | | <result column="integral" property="integral"/> |
| | | <result column="passWord" property="passWord"/> |
| | | <result column="faceBookId" property="faceBookId"/> |
| | | <result column="openId" property="openId"/> |
| | | <result column="appletsOpenId" property="appletsOpenId"/> |
| | | <result column="unionid" property="unionid"/> |
| | |
| | | <result column="updateUser" property="updateUser"/> |
| | | <result column="uid" property="uid"/> |
| | | <result column="uType" property="uType"/> |
| | | <result column="language" property="language"/> |
| | | </resultMap> |
| | | |
| | | <select id="queryFreeMOney" resultType="Double"> |
| | |
| | | updateTime as updateTime, |
| | | updateUser as updateUser |
| | | from t_user where flag != 3 and phone = #{phone} |
| | | </select> |
| | | |
| | | |
| | | <select id="queryByEmail" resultType="UserInfo"> |
| | | select |
| | | id as id, |
| | | registIp as registIp, |
| | | registAreaCode as registAreaCode, |
| | | phone as phone, |
| | | nickName as nickName, |
| | | avatar as avatar, |
| | | birthday as birthday, |
| | | sex as sex, |
| | | emergencyContact as emergencyContact, |
| | | emergencyContactNumber as emergencyContactNumber, |
| | | isAuth as isAuth, |
| | | name as name, |
| | | idCard as idCard, |
| | | idCardFront as idCardFront, |
| | | idCardReverse as idCardReverse, |
| | | consumption as consumption, |
| | | balance as balance, |
| | | integral as integral, |
| | | passWord as passWord, |
| | | openId as openId, |
| | | appletsOpenId as appletsOpenId, |
| | | unionid as unionid, |
| | | state as state, |
| | | flag as flag, |
| | | insertTime as insertTime, |
| | | insertUser as insertUser, |
| | | updateTime as updateTime, |
| | | updateUser as updateUser |
| | | from t_user where flag != 3 and email = #{email} |
| | | </select> |
| | | |
| | | |
| | |
| | | select |
| | | a.id as id, |
| | | a.phone as phone, |
| | | a.email as email, |
| | | a.nickName as nickName, |
| | | a.avatar as avatar, |
| | | DATE_FORMAT(a.birthday, '%Y-%m-%d') as birthday, |
| | |
| | | a.integral as integral, |
| | | a.emergencyContact as emergencyContact, |
| | | a.emergencyContactNumber as emergencyContactNumber, |
| | | a.balance as balance |
| | | a.balance as balance, |
| | | a.language |
| | | from t_user a where 1 = 1 |
| | | <if test="null != uid"> |
| | | and a.id = #{uid} |