| | |
| | | <include refid="Base_Column_List" />
|
| | | from yeshi_ec_user where id = #{id,jdbcType=BIGINT}
|
| | | </select>
|
| | | |
| | | <!-- 不能查询缓存 -->
|
| | |
|
| | | <!-- 不能查询缓存 -->
|
| | | <select id="selectAvailableByPrimaryKey" resultMap="BaseResultMap"
|
| | | parameterType="java.lang.Long" flushCache="true" useCache="false">
|
| | | select
|
| | |
| | | from yeshi_ec_user where appid=#{appId} and identifycode=#{openId}
|
| | | </select>
|
| | | <!-- 根据AppId与电话号码获取用户 -->
|
| | | <select id="listByAppIdAndPhone" resultMap="BaseResultMap">
|
| | | <select id="listByAppIdAndPhone" resultMap="BaseResultMap"
|
| | | useCache="false" flushCache="true">
|
| | | select
|
| | | <include refid="Base_Column_List" />
|
| | | from yeshi_ec_user where appid=#{appId} and phone=#{phone}
|
| | |
| | | uf.`uie_invite_code` = #{inviteCode})
|
| | | LIMIT 1
|
| | | </select>
|
| | | |
| | | |
| | |
|
| | |
|
| | | <select id="countAvaiableUser" resultType="java.lang.Long">
|
| | | SELECT count(*) FROM
|
| | | yeshi_ec_user u
|