Authored by mali

自助上架

1 <?xml version="1.0" encoding="UTF-8" ?> 1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > 2 <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
3 -<mapper namespace="com.yohoufo.dal.order.ProductSelfShelvesMapper" >  
4 - <resultMap id="BaseResultMap" type="com.yohoufo.dal.order.model.ProductSelfShelves" > 3 +<mapper namespace="com.yoho.product.dal.ProductSelfShelvesMapper" >
  4 + <resultMap id="BaseResultMap" type="com.yoho.product.model.ProductSelfShelves" >
5 <id column="id" property="id" jdbcType="INTEGER" /> 5 <id column="id" property="id" jdbcType="INTEGER" />
6 <result column="brand" property="brand" jdbcType="VARCHAR" /> 6 <result column="brand" property="brand" jdbcType="VARCHAR" />
7 <result column="product_name" property="productName" jdbcType="VARCHAR" /> 7 <result column="product_name" property="productName" jdbcType="VARCHAR" />
@@ -27,7 +27,7 @@ @@ -27,7 +27,7 @@
27 delete from product_self_shelves 27 delete from product_self_shelves
28 where id = #{id,jdbcType=INTEGER} 28 where id = #{id,jdbcType=INTEGER}
29 </delete> 29 </delete>
30 - <insert id="insert" parameterType="com.yohoufo.dal.order.model.ProductSelfShelves" > 30 + <insert id="insert" parameterType="com.yoho.product.model.ProductSelfShelves" >
31 insert into product_self_shelves (id, brand, product_name, 31 insert into product_self_shelves (id, brand, product_name,
32 price, sale_time, product_code, 32 price, sale_time, product_code,
33 status, uid, create_time, 33 status, uid, create_time,
@@ -37,7 +37,7 @@ @@ -37,7 +37,7 @@
37 #{status,jdbcType=INTEGER}, #{uid,jdbcType=INTEGER}, #{createTime,jdbcType=INTEGER}, 37 #{status,jdbcType=INTEGER}, #{uid,jdbcType=INTEGER}, #{createTime,jdbcType=INTEGER},
38 #{updateTime,jdbcType=INTEGER}) 38 #{updateTime,jdbcType=INTEGER})
39 </insert> 39 </insert>
40 - <insert id="insertSelective" parameterType="com.yohoufo.dal.order.model.ProductSelfShelves" > 40 + <insert id="insertSelective" parameterType="com.yoho.product.model.ProductSelfShelves" >
41 insert into product_self_shelves 41 insert into product_self_shelves
42 <trim prefix="(" suffix=")" suffixOverrides="," > 42 <trim prefix="(" suffix=")" suffixOverrides="," >
43 <if test="id != null" > 43 <if test="id != null" >
@@ -104,7 +104,7 @@ @@ -104,7 +104,7 @@
104 </if> 104 </if>
105 </trim> 105 </trim>
106 </insert> 106 </insert>
107 - <update id="updateByPrimaryKeySelective" parameterType="com.yohoufo.dal.order.model.ProductSelfShelves" > 107 + <update id="updateByPrimaryKeySelective" parameterType="com.yoho.product.model.ProductSelfShelves" >
108 update product_self_shelves 108 update product_self_shelves
109 <set > 109 <set >
110 <if test="brand != null" > 110 <if test="brand != null" >
@@ -137,7 +137,7 @@ @@ -137,7 +137,7 @@
137 </set> 137 </set>
138 where id = #{id,jdbcType=INTEGER} 138 where id = #{id,jdbcType=INTEGER}
139 </update> 139 </update>
140 - <update id="updateByPrimaryKey" parameterType="com.yohoufo.dal.order.model.ProductSelfShelves" > 140 + <update id="updateByPrimaryKey" parameterType="com.yoho.product.model.ProductSelfShelves" >
141 update product_self_shelves 141 update product_self_shelves
142 set brand = #{brand,jdbcType=VARCHAR}, 142 set brand = #{brand,jdbcType=VARCHAR},
143 product_name = #{productName,jdbcType=VARCHAR}, 143 product_name = #{productName,jdbcType=VARCHAR},