id, amount, credit_amount, consume_amount, consume_number, level_consume, status, merchant_id, shop_id, user_id, parent_id, parent_level, name, head_img, sex, birth_day, telephone, is_vip, code, is_attention, attention_at, is_shareholder, level, distribute_type, sort, created_at, updated_at, mini_open_id,dynamic_code delete from tb_shop_user where id = #{id,jdbcType=INTEGER} insert into tb_shop_user (id, amount, credit_amount, consume_amount, consume_number, level_consume, status, merchant_id, shop_id, user_id, parent_id, parent_level, name, head_img, sex, birth_day, telephone, is_vip, code, is_attention, attention_at, is_shareholder, level, distribute_type, sort, created_at, updated_at, mini_open_id) values (#{id,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL}, #{creditAmount,jdbcType=DECIMAL}, #{consumeAmount,jdbcType=DECIMAL}, #{consumeNumber,jdbcType=INTEGER}, #{levelConsume,jdbcType=DECIMAL}, #{status,jdbcType=TINYINT}, #{merchantId,jdbcType=VARCHAR}, #{shopId,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{parentId,jdbcType=VARCHAR}, #{parentLevel,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{headImg,jdbcType=VARCHAR}, #{sex,jdbcType=TINYINT}, #{birthDay,jdbcType=VARCHAR}, #{telephone,jdbcType=VARCHAR}, #{isVip,jdbcType=TINYINT}, #{code,jdbcType=VARCHAR}, #{isAttention,jdbcType=TINYINT}, #{attentionAt,jdbcType=INTEGER}, #{isShareholder,jdbcType=TINYINT}, #{level,jdbcType=TINYINT}, #{distributeType,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{createdAt,jdbcType=BIGINT}, #{updatedAt,jdbcType=BIGINT}, #{miniOpenId,jdbcType=VARCHAR}) insert into tb_shop_user id, amount, credit_amount, consume_amount, consume_number, level_consume, status, merchant_id, shop_id, user_id, parent_id, parent_level, name, head_img, sex, birth_day, telephone, is_vip, code, is_attention, attention_at, is_shareholder, level, distribute_type, sort, created_at, updated_at, mini_open_id, #{id,jdbcType=INTEGER}, #{amount,jdbcType=DECIMAL}, #{creditAmount,jdbcType=DECIMAL}, #{consumeAmount,jdbcType=DECIMAL}, #{consumeNumber,jdbcType=INTEGER}, #{levelConsume,jdbcType=DECIMAL}, #{status,jdbcType=TINYINT}, #{merchantId,jdbcType=VARCHAR}, #{shopId,jdbcType=VARCHAR}, #{userId,jdbcType=VARCHAR}, #{parentId,jdbcType=VARCHAR}, #{parentLevel,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{headImg,jdbcType=VARCHAR}, #{sex,jdbcType=TINYINT}, #{birthDay,jdbcType=VARCHAR}, #{telephone,jdbcType=VARCHAR}, #{isVip,jdbcType=TINYINT}, #{code,jdbcType=VARCHAR}, #{isAttention,jdbcType=TINYINT}, #{attentionAt,jdbcType=INTEGER}, #{isShareholder,jdbcType=TINYINT}, #{level,jdbcType=TINYINT}, #{distributeType,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, #{createdAt,jdbcType=BIGINT}, #{updatedAt,jdbcType=BIGINT}, #{miniOpenId,jdbcType=VARCHAR}, update tb_shop_user amount = #{amount,jdbcType=DECIMAL}, credit_amount = #{creditAmount,jdbcType=DECIMAL}, consume_amount = #{consumeAmount,jdbcType=DECIMAL}, consume_number = #{consumeNumber,jdbcType=INTEGER}, level_consume = #{levelConsume,jdbcType=DECIMAL}, status = #{status,jdbcType=TINYINT}, merchant_id = #{merchantId,jdbcType=VARCHAR}, shop_id = #{shopId,jdbcType=VARCHAR}, user_id = #{userId,jdbcType=VARCHAR}, parent_id = #{parentId,jdbcType=VARCHAR}, parent_level = #{parentLevel,jdbcType=VARCHAR}, name = #{name,jdbcType=VARCHAR}, head_img = #{headImg,jdbcType=VARCHAR}, sex = #{sex,jdbcType=TINYINT}, birth_day = #{birthDay,jdbcType=VARCHAR}, telephone = #{telephone,jdbcType=VARCHAR}, is_vip = #{isVip,jdbcType=TINYINT}, code = #{code,jdbcType=VARCHAR}, is_attention = #{isAttention,jdbcType=TINYINT}, attention_at = #{attentionAt,jdbcType=INTEGER}, is_shareholder = #{isShareholder,jdbcType=TINYINT}, level = #{level,jdbcType=TINYINT}, distribute_type = #{distributeType,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, created_at = #{createdAt,jdbcType=BIGINT}, updated_at = #{updatedAt,jdbcType=BIGINT}, mini_open_id = #{miniOpenId,jdbcType=VARCHAR}, where id = #{id,jdbcType=INTEGER} update tb_shop_user set amount = #{amount,jdbcType=DECIMAL}, credit_amount = #{creditAmount,jdbcType=DECIMAL}, consume_amount = #{consumeAmount,jdbcType=DECIMAL}, consume_number = #{consumeNumber,jdbcType=INTEGER}, level_consume = #{levelConsume,jdbcType=DECIMAL}, status = #{status,jdbcType=TINYINT}, merchant_id = #{merchantId,jdbcType=VARCHAR}, shop_id = #{shopId,jdbcType=VARCHAR}, user_id = #{userId,jdbcType=VARCHAR}, parent_id = #{parentId,jdbcType=VARCHAR}, parent_level = #{parentLevel,jdbcType=VARCHAR}, name = #{name,jdbcType=VARCHAR}, head_img = #{headImg,jdbcType=VARCHAR}, sex = #{sex,jdbcType=TINYINT}, birth_day = #{birthDay,jdbcType=VARCHAR}, telephone = #{telephone,jdbcType=VARCHAR}, is_vip = #{isVip,jdbcType=TINYINT}, code = #{code,jdbcType=VARCHAR}, is_attention = #{isAttention,jdbcType=TINYINT}, attention_at = #{attentionAt,jdbcType=INTEGER}, is_shareholder = #{isShareholder,jdbcType=TINYINT}, level = #{level,jdbcType=TINYINT}, distribute_type = #{distributeType,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, created_at = #{createdAt,jdbcType=BIGINT}, updated_at = #{updatedAt,jdbcType=BIGINT}, mini_open_id = #{miniOpenId,jdbcType=VARCHAR} where id = #{id,jdbcType=INTEGER}