|
@@ -0,0 +1,464 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
+<mapper namespace="com.hwrj.cloud.admin.mapper.OmsPreItemMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.hwrj.cloud.admin.model.OmsPreItem">
|
|
|
+ <id column="id" jdbcType="BIGINT" property="id" />
|
|
|
+ <result column="product_id" jdbcType="BIGINT" property="productId" />
|
|
|
+ <result column="member_id" jdbcType="BIGINT" property="memberId" />
|
|
|
+ <result column="comp_id" jdbcType="BIGINT" property="compId" />
|
|
|
+ <result column="push_id" jdbcType="BIGINT" property="pushId" />
|
|
|
+ <result column="origin_id" jdbcType="BIGINT" property="originId" />
|
|
|
+ <result column="origin_name" jdbcType="VARCHAR" property="originName" />
|
|
|
+ <result column="comp_name" jdbcType="VARCHAR" property="compName" />
|
|
|
+ <result column="price" jdbcType="DECIMAL" property="price" />
|
|
|
+ <result column="product_pic" jdbcType="VARCHAR" property="productPic" />
|
|
|
+ <result column="product_name" jdbcType="VARCHAR" property="productName" />
|
|
|
+ <result column="product_sub_title" jdbcType="VARCHAR" property="productSubTitle" />
|
|
|
+ <result column="product_sku_code" jdbcType="VARCHAR" property="productSkuCode" />
|
|
|
+ <result column="member_nickname" jdbcType="VARCHAR" property="memberNickname" />
|
|
|
+ <result column="create_date" jdbcType="TIMESTAMP" property="createDate" />
|
|
|
+ <result column="modify_date" jdbcType="TIMESTAMP" property="modifyDate" />
|
|
|
+ <result column="delete_status" jdbcType="INTEGER" property="deleteStatus" />
|
|
|
+ <result column="product_category_id" jdbcType="BIGINT" property="productCategoryId" />
|
|
|
+ <result column="product_brand" jdbcType="VARCHAR" property="productBrand" />
|
|
|
+ <result column="product_sn" jdbcType="VARCHAR" property="productSn" />
|
|
|
+ <result column="product_attr" jdbcType="VARCHAR" property="productAttr" />
|
|
|
+ </resultMap>
|
|
|
+ <sql id="Example_Where_Clause">
|
|
|
+ <where>
|
|
|
+ <foreach collection="oredCriteria" item="criteria" separator="or">
|
|
|
+ <if test="criteria.valid">
|
|
|
+ <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
+ <foreach collection="criteria.criteria" item="criterion">
|
|
|
+ <choose>
|
|
|
+ <when test="criterion.noValue">
|
|
|
+ and ${criterion.condition}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.singleValue">
|
|
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.betweenValue">
|
|
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.listValue">
|
|
|
+ and ${criterion.condition}
|
|
|
+ <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
+ #{listItem}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ </choose>
|
|
|
+ </foreach>
|
|
|
+ </trim>
|
|
|
+ </if>
|
|
|
+ </foreach>
|
|
|
+ </where>
|
|
|
+ </sql>
|
|
|
+ <sql id="Update_By_Example_Where_Clause">
|
|
|
+ <where>
|
|
|
+ <foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
|
+ <if test="criteria.valid">
|
|
|
+ <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
+ <foreach collection="criteria.criteria" item="criterion">
|
|
|
+ <choose>
|
|
|
+ <when test="criterion.noValue">
|
|
|
+ and ${criterion.condition}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.singleValue">
|
|
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.betweenValue">
|
|
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.listValue">
|
|
|
+ and ${criterion.condition}
|
|
|
+ <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=",">
|
|
|
+ #{listItem}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ </choose>
|
|
|
+ </foreach>
|
|
|
+ </trim>
|
|
|
+ </if>
|
|
|
+ </foreach>
|
|
|
+ </where>
|
|
|
+ </sql>
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ id, product_id, member_id, comp_id, push_id, origin_id, origin_name, comp_name, price,
|
|
|
+ product_pic, product_name, product_sub_title, product_sku_code, member_nickname,
|
|
|
+ create_date, modify_date, delete_status, product_category_id, product_brand, product_sn,
|
|
|
+ product_attr
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExample" parameterType="com.hwrj.cloud.admin.model.OmsPreItemExample" resultMap="BaseResultMap">
|
|
|
+ select
|
|
|
+ <if test="distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from oms_pre_item
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ <if test="orderByClause != null">
|
|
|
+ order by ${orderByClause}
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap">
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
+ from oms_pre_item
|
|
|
+ where id = #{id,jdbcType=BIGINT}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Long">
|
|
|
+ delete from oms_pre_item
|
|
|
+ where id = #{id,jdbcType=BIGINT}
|
|
|
+ </delete>
|
|
|
+ <delete id="deleteByExample" parameterType="com.hwrj.cloud.admin.model.OmsPreItemExample">
|
|
|
+ delete from oms_pre_item
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.hwrj.cloud.admin.model.OmsPreItem">
|
|
|
+ <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
|
|
|
+ SELECT LAST_INSERT_ID()
|
|
|
+ </selectKey>
|
|
|
+ insert into oms_pre_item (product_id, member_id, comp_id,
|
|
|
+ push_id, origin_id, origin_name,
|
|
|
+ comp_name, price, product_pic,
|
|
|
+ product_name, product_sub_title, product_sku_code,
|
|
|
+ member_nickname, create_date, modify_date,
|
|
|
+ delete_status, product_category_id, product_brand,
|
|
|
+ product_sn, product_attr)
|
|
|
+ values (#{productId,jdbcType=BIGINT}, #{memberId,jdbcType=BIGINT}, #{compId,jdbcType=BIGINT},
|
|
|
+ #{pushId,jdbcType=BIGINT}, #{originId,jdbcType=BIGINT}, #{originName,jdbcType=VARCHAR},
|
|
|
+ #{compName,jdbcType=VARCHAR}, #{price,jdbcType=DECIMAL}, #{productPic,jdbcType=VARCHAR},
|
|
|
+ #{productName,jdbcType=VARCHAR}, #{productSubTitle,jdbcType=VARCHAR}, #{productSkuCode,jdbcType=VARCHAR},
|
|
|
+ #{memberNickname,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modifyDate,jdbcType=TIMESTAMP},
|
|
|
+ #{deleteStatus,jdbcType=INTEGER}, #{productCategoryId,jdbcType=BIGINT}, #{productBrand,jdbcType=VARCHAR},
|
|
|
+ #{productSn,jdbcType=VARCHAR}, #{productAttr,jdbcType=VARCHAR})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="com.hwrj.cloud.admin.model.OmsPreItem">
|
|
|
+ <selectKey keyProperty="id" order="AFTER" resultType="java.lang.Long">
|
|
|
+ SELECT LAST_INSERT_ID()
|
|
|
+ </selectKey>
|
|
|
+ insert into oms_pre_item
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="productId != null">
|
|
|
+ product_id,
|
|
|
+ </if>
|
|
|
+ <if test="memberId != null">
|
|
|
+ member_id,
|
|
|
+ </if>
|
|
|
+ <if test="compId != null">
|
|
|
+ comp_id,
|
|
|
+ </if>
|
|
|
+ <if test="pushId != null">
|
|
|
+ push_id,
|
|
|
+ </if>
|
|
|
+ <if test="originId != null">
|
|
|
+ origin_id,
|
|
|
+ </if>
|
|
|
+ <if test="originName != null">
|
|
|
+ origin_name,
|
|
|
+ </if>
|
|
|
+ <if test="compName != null">
|
|
|
+ comp_name,
|
|
|
+ </if>
|
|
|
+ <if test="price != null">
|
|
|
+ price,
|
|
|
+ </if>
|
|
|
+ <if test="productPic != null">
|
|
|
+ product_pic,
|
|
|
+ </if>
|
|
|
+ <if test="productName != null">
|
|
|
+ product_name,
|
|
|
+ </if>
|
|
|
+ <if test="productSubTitle != null">
|
|
|
+ product_sub_title,
|
|
|
+ </if>
|
|
|
+ <if test="productSkuCode != null">
|
|
|
+ product_sku_code,
|
|
|
+ </if>
|
|
|
+ <if test="memberNickname != null">
|
|
|
+ member_nickname,
|
|
|
+ </if>
|
|
|
+ <if test="createDate != null">
|
|
|
+ create_date,
|
|
|
+ </if>
|
|
|
+ <if test="modifyDate != null">
|
|
|
+ modify_date,
|
|
|
+ </if>
|
|
|
+ <if test="deleteStatus != null">
|
|
|
+ delete_status,
|
|
|
+ </if>
|
|
|
+ <if test="productCategoryId != null">
|
|
|
+ product_category_id,
|
|
|
+ </if>
|
|
|
+ <if test="productBrand != null">
|
|
|
+ product_brand,
|
|
|
+ </if>
|
|
|
+ <if test="productSn != null">
|
|
|
+ product_sn,
|
|
|
+ </if>
|
|
|
+ <if test="productAttr != null">
|
|
|
+ product_attr,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="productId != null">
|
|
|
+ #{productId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="memberId != null">
|
|
|
+ #{memberId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="compId != null">
|
|
|
+ #{compId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="pushId != null">
|
|
|
+ #{pushId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="originId != null">
|
|
|
+ #{originId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="originName != null">
|
|
|
+ #{originName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="compName != null">
|
|
|
+ #{compName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="price != null">
|
|
|
+ #{price,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="productPic != null">
|
|
|
+ #{productPic,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productName != null">
|
|
|
+ #{productName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productSubTitle != null">
|
|
|
+ #{productSubTitle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productSkuCode != null">
|
|
|
+ #{productSkuCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="memberNickname != null">
|
|
|
+ #{memberNickname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createDate != null">
|
|
|
+ #{createDate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="modifyDate != null">
|
|
|
+ #{modifyDate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="deleteStatus != null">
|
|
|
+ #{deleteStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="productCategoryId != null">
|
|
|
+ #{productCategoryId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="productBrand != null">
|
|
|
+ #{productBrand,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productSn != null">
|
|
|
+ #{productSn,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productAttr != null">
|
|
|
+ #{productAttr,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.hwrj.cloud.admin.model.OmsPreItemExample" resultType="java.lang.Long">
|
|
|
+ select count(*) from oms_pre_item
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
+ update oms_pre_item
|
|
|
+ <set>
|
|
|
+ <if test="record.id != null">
|
|
|
+ id = #{record.id,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="record.productId != null">
|
|
|
+ product_id = #{record.productId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="record.memberId != null">
|
|
|
+ member_id = #{record.memberId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="record.compId != null">
|
|
|
+ comp_id = #{record.compId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="record.pushId != null">
|
|
|
+ push_id = #{record.pushId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="record.originId != null">
|
|
|
+ origin_id = #{record.originId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="record.originName != null">
|
|
|
+ origin_name = #{record.originName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.compName != null">
|
|
|
+ comp_name = #{record.compName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.price != null">
|
|
|
+ price = #{record.price,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.productPic != null">
|
|
|
+ product_pic = #{record.productPic,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.productName != null">
|
|
|
+ product_name = #{record.productName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.productSubTitle != null">
|
|
|
+ product_sub_title = #{record.productSubTitle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.productSkuCode != null">
|
|
|
+ product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.memberNickname != null">
|
|
|
+ member_nickname = #{record.memberNickname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createDate != null">
|
|
|
+ create_date = #{record.createDate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="record.modifyDate != null">
|
|
|
+ modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="record.deleteStatus != null">
|
|
|
+ delete_status = #{record.deleteStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.productCategoryId != null">
|
|
|
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="record.productBrand != null">
|
|
|
+ product_brand = #{record.productBrand,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.productSn != null">
|
|
|
+ product_sn = #{record.productSn,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.productAttr != null">
|
|
|
+ product_attr = #{record.productAttr,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByExample" parameterType="map">
|
|
|
+ update oms_pre_item
|
|
|
+ set id = #{record.id,jdbcType=BIGINT},
|
|
|
+ product_id = #{record.productId,jdbcType=BIGINT},
|
|
|
+ member_id = #{record.memberId,jdbcType=BIGINT},
|
|
|
+ comp_id = #{record.compId,jdbcType=BIGINT},
|
|
|
+ push_id = #{record.pushId,jdbcType=BIGINT},
|
|
|
+ origin_id = #{record.originId,jdbcType=BIGINT},
|
|
|
+ origin_name = #{record.originName,jdbcType=VARCHAR},
|
|
|
+ comp_name = #{record.compName,jdbcType=VARCHAR},
|
|
|
+ price = #{record.price,jdbcType=DECIMAL},
|
|
|
+ product_pic = #{record.productPic,jdbcType=VARCHAR},
|
|
|
+ product_name = #{record.productName,jdbcType=VARCHAR},
|
|
|
+ product_sub_title = #{record.productSubTitle,jdbcType=VARCHAR},
|
|
|
+ product_sku_code = #{record.productSkuCode,jdbcType=VARCHAR},
|
|
|
+ member_nickname = #{record.memberNickname,jdbcType=VARCHAR},
|
|
|
+ create_date = #{record.createDate,jdbcType=TIMESTAMP},
|
|
|
+ modify_date = #{record.modifyDate,jdbcType=TIMESTAMP},
|
|
|
+ delete_status = #{record.deleteStatus,jdbcType=INTEGER},
|
|
|
+ product_category_id = #{record.productCategoryId,jdbcType=BIGINT},
|
|
|
+ product_brand = #{record.productBrand,jdbcType=VARCHAR},
|
|
|
+ product_sn = #{record.productSn,jdbcType=VARCHAR},
|
|
|
+ product_attr = #{record.productAttr,jdbcType=VARCHAR}
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause" />
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.hwrj.cloud.admin.model.OmsPreItem">
|
|
|
+ update oms_pre_item
|
|
|
+ <set>
|
|
|
+ <if test="productId != null">
|
|
|
+ product_id = #{productId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="memberId != null">
|
|
|
+ member_id = #{memberId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="compId != null">
|
|
|
+ comp_id = #{compId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="pushId != null">
|
|
|
+ push_id = #{pushId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="originId != null">
|
|
|
+ origin_id = #{originId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="originName != null">
|
|
|
+ origin_name = #{originName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="compName != null">
|
|
|
+ comp_name = #{compName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="price != null">
|
|
|
+ price = #{price,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="productPic != null">
|
|
|
+ product_pic = #{productPic,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productName != null">
|
|
|
+ product_name = #{productName,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productSubTitle != null">
|
|
|
+ product_sub_title = #{productSubTitle,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productSkuCode != null">
|
|
|
+ product_sku_code = #{productSkuCode,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="memberNickname != null">
|
|
|
+ member_nickname = #{memberNickname,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="createDate != null">
|
|
|
+ create_date = #{createDate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="modifyDate != null">
|
|
|
+ modify_date = #{modifyDate,jdbcType=TIMESTAMP},
|
|
|
+ </if>
|
|
|
+ <if test="deleteStatus != null">
|
|
|
+ delete_status = #{deleteStatus,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="productCategoryId != null">
|
|
|
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="productBrand != null">
|
|
|
+ product_brand = #{productBrand,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productSn != null">
|
|
|
+ product_sn = #{productSn,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="productAttr != null">
|
|
|
+ product_attr = #{productAttr,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where id = #{id,jdbcType=BIGINT}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.hwrj.cloud.admin.model.OmsPreItem">
|
|
|
+ update oms_pre_item
|
|
|
+ set product_id = #{productId,jdbcType=BIGINT},
|
|
|
+ member_id = #{memberId,jdbcType=BIGINT},
|
|
|
+ comp_id = #{compId,jdbcType=BIGINT},
|
|
|
+ push_id = #{pushId,jdbcType=BIGINT},
|
|
|
+ origin_id = #{originId,jdbcType=BIGINT},
|
|
|
+ origin_name = #{originName,jdbcType=VARCHAR},
|
|
|
+ comp_name = #{compName,jdbcType=VARCHAR},
|
|
|
+ price = #{price,jdbcType=DECIMAL},
|
|
|
+ product_pic = #{productPic,jdbcType=VARCHAR},
|
|
|
+ product_name = #{productName,jdbcType=VARCHAR},
|
|
|
+ product_sub_title = #{productSubTitle,jdbcType=VARCHAR},
|
|
|
+ product_sku_code = #{productSkuCode,jdbcType=VARCHAR},
|
|
|
+ member_nickname = #{memberNickname,jdbcType=VARCHAR},
|
|
|
+ create_date = #{createDate,jdbcType=TIMESTAMP},
|
|
|
+ modify_date = #{modifyDate,jdbcType=TIMESTAMP},
|
|
|
+ delete_status = #{deleteStatus,jdbcType=INTEGER},
|
|
|
+ product_category_id = #{productCategoryId,jdbcType=BIGINT},
|
|
|
+ product_brand = #{productBrand,jdbcType=VARCHAR},
|
|
|
+ product_sn = #{productSn,jdbcType=VARCHAR},
|
|
|
+ product_attr = #{productAttr,jdbcType=VARCHAR}
|
|
|
+ where id = #{id,jdbcType=BIGINT}
|
|
|
+ </update>
|
|
|
+</mapper>
|