| | |
| | | </resultMap> |
| | | |
| | | <sql id="selectMemberVo"> |
| | | select user_id, del_flag, member_id, member_no, wx_openid, mini_openid, wx_unionid, realtion_shop_id, real_name, mobile, gender, referrer, customer_source, level, birthday, create_time, update_time, update_user_id from t_member |
| | | select user_id, del_flag, member_id, member_no, wx_openid, mini_openid, wx_unionid, relation_shop_id, real_name, mobile, gender, referrer, customer_source, level, birthday, create_time, update_time, update_user_id from t_member |
| | | </sql> |
| | | |
| | | <select id="selectMemberList" parameterType="com.ruoyi.system.api.domain.poji.member.Member" resultMap="MemberResult"> |
| | |
| | | <if test="wxOpenid != null and wxOpenid != ''"> and wx_openid = #{wxOpenid}</if> |
| | | <if test="miniOpenid != null and miniOpenid != ''"> and mini_openid = #{miniOpenid}</if> |
| | | <if test="wxUnionid != null and wxUnionid != ''"> and wx_unionid = #{wxUnionid}</if> |
| | | <if test="realtionShopId != null "> and realtion_shop_id = #{realtionShopId}</if> |
| | | <if test="relationShopId != null "> and relation_shop_id = #{relationShopId}</if> |
| | | <if test="realName != null and realName != ''"> and real_name like concat('%', #{realName}, '%')</if> |
| | | <if test="mobile != null and mobile != ''"> and mobile = #{mobile}</if> |
| | | <if test="gender != null "> and gender = #{gender}</if> |
| | |
| | | <if test="wxOpenid != null">wx_openid,</if> |
| | | <if test="miniOpenid != null">mini_openid,</if> |
| | | <if test="wxUnionid != null">wx_unionid,</if> |
| | | <if test="realtionShopId != null">realtion_shop_id,</if> |
| | | <if test="relationShopId != null">relation_shop_id,</if> |
| | | <if test="realName != null">real_name,</if> |
| | | <if test="mobile != null">mobile,</if> |
| | | <if test="gender != null">gender,</if> |
| | |
| | | <if test="wxOpenid != null">#{wxOpenid},</if> |
| | | <if test="miniOpenid != null">#{miniOpenid},</if> |
| | | <if test="wxUnionid != null">#{wxUnionid},</if> |
| | | <if test="realtionShopId != null">#{realtionShopId},</if> |
| | | <if test="relationShopId != null">#{relationShopId},</if> |
| | | <if test="realName != null">#{realName},</if> |
| | | <if test="mobile != null">#{mobile},</if> |
| | | <if test="gender != null">#{gender},</if> |
| | |
| | | <if test="wxOpenid != null">wx_openid = #{wxOpenid},</if> |
| | | <if test="miniOpenid != null">mini_openid = #{miniOpenid},</if> |
| | | <if test="wxUnionid != null">wx_unionid = #{wxUnionid},</if> |
| | | <if test="realtionShopId != null">realtion_shop_id = #{realtionShopId},</if> |
| | | <if test="relationShopId != null">relation_shop_id = #{relationShopId},</if> |
| | | <if test="realName != null">real_name = #{realName},</if> |
| | | <if test="mobile != null">mobile = #{mobile},</if> |
| | | <if test="gender != null">gender = #{gender},</if> |