Showing
1 changed file
with
4 additions
and
4 deletions
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.order.dal.SellerOrderGoodsMapper"> | ||
4 | - <resultMap id="BaseResultMap" type="com.yohoufo.order.dal.model.SellerOrderGoods"> | 3 | +<mapper namespace="com.yohoufo.dal.order].SellerOrderGoodsMapper"> |
4 | + <resultMap id="BaseResultMap" type="com.yohoufo.dal.order.model.SellerOrderGoods"> | ||
5 | <id column="id" jdbcType="INTEGER" property="id" /> | 5 | <id column="id" jdbcType="INTEGER" property="id" /> |
6 | <result column="product_id" jdbcType="INTEGER" property="productId" /> | 6 | <result column="product_id" jdbcType="INTEGER" property="productId" /> |
7 | <result column="product_name" jdbcType="VARCHAR" property="productName" /> | 7 | <result column="product_name" jdbcType="VARCHAR" property="productName" /> |
@@ -35,7 +35,7 @@ | @@ -35,7 +35,7 @@ | ||
35 | delete from seller_order_goods | 35 | delete from seller_order_goods |
36 | where id = #{id,jdbcType=INTEGER} | 36 | where id = #{id,jdbcType=INTEGER} |
37 | </delete> | 37 | </delete> |
38 | - <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.yohoufo.order.dal.model.SellerOrderGoods" useGeneratedKeys="true"> | 38 | + <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.yohoufo.dal.order.model.SellerOrderGoods" useGeneratedKeys="true"> |
39 | insert into seller_order_goods (product_id, product_name, storage_id, | 39 | insert into seller_order_goods (product_id, product_name, storage_id, |
40 | depot_no, size_id, size_name, | 40 | depot_no, size_id, size_name, |
41 | goods_id, color_id, color_name, | 41 | goods_id, color_id, color_name, |
@@ -118,7 +118,7 @@ | @@ -118,7 +118,7 @@ | ||
118 | </if> | 118 | </if> |
119 | </trim> | 119 | </trim> |
120 | </insert> | 120 | </insert> |
121 | - <update id="updateByPrimaryKeySelective" parameterType="com.yohoufo.order.dal.model.SellerOrderGoods"> | 121 | + <update id="updateByPrimaryKeySelective" parameterType="com.yohoufo.dal.order.model.SellerOrderGoods"> |
122 | update seller_order_goods | 122 | update seller_order_goods |
123 | <set> | 123 | <set> |
124 | <if test="productId != null"> | 124 | <if test="productId != null"> |
-
Please register or login to post a comment