| | |
| | | <result property="country" column="country" /> |
| | | <result property="sessionKey" column="session_key" /> |
| | | <result property="userIsAuthorize" column="user_is_authorize" /> |
| | | <result property="validFlag" column="valid_flag" /> |
| | | |
| | | <!-- 扩展属性 --> |
| | | <result property="staffName" column="STAFF_NAME"/> |
| | |
| | | <result property="country" column="country" /> |
| | | <result property="sessionKey" column="session_key" /> |
| | | <result property="userIsAuthorize" column="user_is_authorize" /> |
| | | <result property="validFlag" column="valid_flag" /> |
| | | |
| | | <!-- 扩展属性 --> |
| | | <result property="staffName" column="STAFF_NAME"/> |
| | |
| | | <if test="avatarUrl != null and avatarUrl != '' "> |
| | | avatar_url = #{avatarUrl}, |
| | | </if> |
| | | <if test="validFlag != null and validFlag != '' "> |
| | | valid_flag = #{validFlag}, |
| | | </if> |
| | | |
| | | |
| | | </set> |
| | |
| | | </if> |
| | | <if test="record.phone != null and record.phone !='' "> |
| | | and a.PHONE like CONCAT('%',#{record.phone},'%') |
| | | </if> |
| | | <if test="record.padQueryKey != null and record.padQueryKey !='' "> |
| | | and (a.PHONE like CONCAT('%',#{record.padQueryKey},'%') |
| | | or instr(a.VIP_NAME ,#{record.padQueryKey}) ) |
| | | </if> |
| | | <if test="record.sex != null and record.sex !='' "> |
| | | and a.SEX = #{record.sex} |
| | |
| | | c.LEVEL_NAME vipLevel, |
| | | a.POINT_ALL integral, |
| | | e.shop_short_name shopName, |
| | | sum(IFNULL(b.gift_money, 0) + IFNULL(b.real_money, 0)) totalBalance, |
| | | sum(IFNULL(b.real_money, 0)) totalBalance, |
| | | sum(IFNULL(b.gift_money, 0)) giftBalance, |
| | | (select sum(IFNULL(d.goods_cash, 0) + IFNULL(d.proj_cash, 0) + IFNULL(d.card_cash, 0)) from achieve_new d where d.vip_id=a.id) totalShopping |
| | | from sys_vip_info a |