Authored by wangnan

修改tinyint为int

@@ -32,7 +32,7 @@ @@ -32,7 +32,7 @@
32 insert ignore into activity_product (id, template_id, product_skn, 32 insert ignore into activity_product (id, template_id, product_skn,
33 order_by, is_recommend, status 33 order_by, is_recommend, status
34 ) 34 )
35 - values (#{id,jdbcType=INTEGER}, #{templateId,jdbcType=TINYINT}, #{productSkn,jdbcType=INTEGER}, 35 + values (#{id,jdbcType=INTEGER}, #{templateId,jdbcType=}, #{productSkn,jdbcType=INTEGER},
36 #{orderBy,jdbcType=INTEGER}, #{isRecommend,jdbcType=INTEGER}, #{status,jdbcType=INTEGER} 36 #{orderBy,jdbcType=INTEGER}, #{isRecommend,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}
37 ) 37 )
38 </insert> 38 </insert>
@@ -63,7 +63,7 @@ @@ -63,7 +63,7 @@
63 #{id,jdbcType=INTEGER}, 63 #{id,jdbcType=INTEGER},
64 </if> 64 </if>
65 <if test="templateId != null"> 65 <if test="templateId != null">
66 - #{templateId,jdbcType=TINYINT}, 66 + #{templateId,jdbcType=INTEGER},
67 </if> 67 </if>
68 <if test="productSkn != null"> 68 <if test="productSkn != null">
69 #{productSkn,jdbcType=INTEGER}, 69 #{productSkn,jdbcType=INTEGER},
@@ -83,7 +83,7 @@ @@ -83,7 +83,7 @@
83 update activity_product 83 update activity_product
84 <set> 84 <set>
85 <if test="templateId != null"> 85 <if test="templateId != null">
86 - template_id = #{templateId,jdbcType=TINYINT}, 86 + template_id = #{templateId,jdbcType=INTEGER},
87 </if> 87 </if>
88 <if test="productSkn != null"> 88 <if test="productSkn != null">
89 product_skn = #{productSkn,jdbcType=INTEGER}, 89 product_skn = #{productSkn,jdbcType=INTEGER},
@@ -102,7 +102,7 @@ @@ -102,7 +102,7 @@
102 </update> 102 </update>
103 <update id="updateByPrimaryKey" parameterType="com.yoho.search.dal.model.ActivityProduct" timeout="20000"> 103 <update id="updateByPrimaryKey" parameterType="com.yoho.search.dal.model.ActivityProduct" timeout="20000">
104 update activity_product 104 update activity_product
105 - set template_id = #{templateId,jdbcType=TINYINT}, 105 + set template_id = #{templateId,jdbcType=INTEGER},
106 product_skn = #{productSkn,jdbcType=INTEGER}, 106 product_skn = #{productSkn,jdbcType=INTEGER},
107 order_by = #{orderBy,jdbcType=INTEGER}, 107 order_by = #{orderBy,jdbcType=INTEGER},
108 is_recommend = #{isRecommend,jdbcType=INTEGER}, 108 is_recommend = #{isRecommend,jdbcType=INTEGER},
@@ -112,7 +112,7 @@ @@ -112,7 +112,7 @@
112 <resultMap id="ActivityResultMap" type="java.util.Map"> 112 <resultMap id="ActivityResultMap" type="java.util.Map">
113 <id column="product_id" property="productId" jdbcType="INTEGER"/> 113 <id column="product_id" property="productId" jdbcType="INTEGER"/>
114 <id column="activity_id" property="activityId" jdbcType="INTEGER"/> 114 <id column="activity_id" property="activityId" jdbcType="INTEGER"/>
115 - <result column="template_id" property="templateId" jdbcType="TINYINT"/> 115 + <result column="template_id" property="templateId" jdbcType="INTEGER"/>
116 <result column="order_by" property="orderBy" jdbcType="INTEGER"/> 116 <result column="order_by" property="orderBy" jdbcType="INTEGER"/>
117 <result column="is_recommend" property="isRecommend" jdbcType="INTEGER"/> 117 <result column="is_recommend" property="isRecommend" jdbcType="INTEGER"/>
118 <result column="status" property="status" jdbcType="INTEGER"/> 118 <result column="status" property="status" jdbcType="INTEGER"/>
@@ -8,11 +8,11 @@ @@ -8,11 +8,11 @@
8 <result column="is_default" property="isDefault" jdbcType="CHAR" /> 8 <result column="is_default" property="isDefault" jdbcType="CHAR" />
9 <result column="image_name" property="imageName" jdbcType="VARCHAR" /> 9 <result column="image_name" property="imageName" jdbcType="VARCHAR" />
10 <result column="image_url" property="imageUrl" jdbcType="VARCHAR" /> 10 <result column="image_url" property="imageUrl" jdbcType="VARCHAR" />
11 - <result column="angle" property="angle" jdbcType="TINYINT" />  
12 - <result column="order_by" property="orderBy" jdbcType="TINYINT" /> 11 + <result column="angle" property="angle" jdbcType="INTEGER" />
  12 + <result column="order_by" property="orderBy" jdbcType="INTEGER" />
13 <result column="intro" property="intro" jdbcType="VARCHAR" /> 13 <result column="intro" property="intro" jdbcType="VARCHAR" />
14 - <result column="status" property="status" jdbcType="TINYINT" />  
15 - <result column="gender_cover" property="genderCover" jdbcType="TINYINT" /> 14 + <result column="status" property="status" jdbcType="INTEGER" />
  15 + <result column="gender_cover" property="genderCover" jdbcType="INTEGER" />
16 </resultMap> 16 </resultMap>
17 <sql id="Base_Column_List" > 17 <sql id="Base_Column_List" >
18 id, goods_id, product_id, is_default, image_name, image_url, angle, order_by, intro, 18 id, goods_id, product_id, is_default, image_name, image_url, angle, order_by, intro,
@@ -35,8 +35,8 @@ @@ -35,8 +35,8 @@
35 status, gender_cover) 35 status, gender_cover)
36 values (#{id,jdbcType=INTEGER}, #{goodsId,jdbcType=INTEGER}, #{productId,jdbcType=INTEGER}, 36 values (#{id,jdbcType=INTEGER}, #{goodsId,jdbcType=INTEGER}, #{productId,jdbcType=INTEGER},
37 #{isDefault,jdbcType=CHAR}, #{imageName,jdbcType=VARCHAR}, #{imageUrl,jdbcType=VARCHAR}, 37 #{isDefault,jdbcType=CHAR}, #{imageName,jdbcType=VARCHAR}, #{imageUrl,jdbcType=VARCHAR},
38 - #{angle,jdbcType=TINYINT}, #{orderBy,jdbcType=TINYINT}, #{intro,jdbcType=VARCHAR},  
39 - #{status,jdbcType=TINYINT}, #{genderCover,jdbcType=TINYINT}) 38 + #{angle,jdbcType=INTEGER}, #{orderBy,jdbcType=INTEGER}, #{intro,jdbcType=VARCHAR},
  39 + #{status,jdbcType=INTEGER}, #{genderCover,jdbcType=INTEGER})
40 </insert> 40 </insert>
41 <insert id="insertSelective" parameterType="com.yoho.search.dal.model.GoodsImages" timeout="20000"> 41 <insert id="insertSelective" parameterType="com.yoho.search.dal.model.GoodsImages" timeout="20000">
42 insert ignore into goods_images 42 insert ignore into goods_images
@@ -95,19 +95,19 @@ @@ -95,19 +95,19 @@
95 #{imageUrl,jdbcType=VARCHAR}, 95 #{imageUrl,jdbcType=VARCHAR},
96 </if> 96 </if>
97 <if test="angle != null" > 97 <if test="angle != null" >
98 - #{angle,jdbcType=TINYINT}, 98 + #{angle,jdbcType=INTEGER},
99 </if> 99 </if>
100 <if test="orderBy != null" > 100 <if test="orderBy != null" >
101 - #{orderBy,jdbcType=TINYINT}, 101 + #{orderBy,jdbcType=INTEGER},
102 </if> 102 </if>
103 <if test="intro != null" > 103 <if test="intro != null" >
104 #{intro,jdbcType=VARCHAR}, 104 #{intro,jdbcType=VARCHAR},
105 </if> 105 </if>
106 <if test="status != null" > 106 <if test="status != null" >
107 - #{status,jdbcType=TINYINT}, 107 + #{status,jdbcType=INTEGER},
108 </if> 108 </if>
109 <if test="genderCover != null" > 109 <if test="genderCover != null" >
110 - #{genderCover,jdbcType=TINYINT}, 110 + #{genderCover,jdbcType=INTEGER},
111 </if> 111 </if>
112 </trim> 112 </trim>
113 </insert> 113 </insert>
@@ -130,19 +130,19 @@ @@ -130,19 +130,19 @@
130 image_url = #{imageUrl,jdbcType=VARCHAR}, 130 image_url = #{imageUrl,jdbcType=VARCHAR},
131 </if> 131 </if>
132 <if test="angle != null" > 132 <if test="angle != null" >
133 - angle = #{angle,jdbcType=TINYINT}, 133 + angle = #{angle,jdbcType=INTEGER},
134 </if> 134 </if>
135 <if test="orderBy != null" > 135 <if test="orderBy != null" >
136 - order_by = #{orderBy,jdbcType=TINYINT}, 136 + order_by = #{orderBy,jdbcType=INTEGER},
137 </if> 137 </if>
138 <if test="intro != null" > 138 <if test="intro != null" >
139 intro = #{intro,jdbcType=VARCHAR}, 139 intro = #{intro,jdbcType=VARCHAR},
140 </if> 140 </if>
141 <if test="status != null" > 141 <if test="status != null" >
142 - status = #{status,jdbcType=TINYINT}, 142 + status = #{status,jdbcType=INTEGER},
143 </if> 143 </if>
144 <if test="genderCover != null" > 144 <if test="genderCover != null" >
145 - gender_cover = #{genderCover,jdbcType=TINYINT}, 145 + gender_cover = #{genderCover,jdbcType=INTEGER},
146 </if> 146 </if>
147 </set> 147 </set>
148 where id = #{id,jdbcType=INTEGER} 148 where id = #{id,jdbcType=INTEGER}
@@ -154,11 +154,11 @@ @@ -154,11 +154,11 @@
154 is_default = #{isDefault,jdbcType=CHAR}, 154 is_default = #{isDefault,jdbcType=CHAR},
155 image_name = #{imageName,jdbcType=VARCHAR}, 155 image_name = #{imageName,jdbcType=VARCHAR},
156 image_url = #{imageUrl,jdbcType=VARCHAR}, 156 image_url = #{imageUrl,jdbcType=VARCHAR},
157 - angle = #{angle,jdbcType=TINYINT},  
158 - order_by = #{orderBy,jdbcType=TINYINT}, 157 + angle = #{angle,jdbcType=INTEGER},
  158 + order_by = #{orderBy,jdbcType=INTEGER},
159 intro = #{intro,jdbcType=VARCHAR}, 159 intro = #{intro,jdbcType=VARCHAR},
160 - status = #{status,jdbcType=TINYINT},  
161 - gender_cover = #{genderCover,jdbcType=TINYINT} 160 + status = #{status,jdbcType=INTEGER},
  161 + gender_cover = #{genderCover,jdbcType=INTEGER}
162 where id = #{id,jdbcType=INTEGER} 162 where id = #{id,jdbcType=INTEGER}
163 </update> 163 </update>
164 <select id="count" resultType="java.lang.Integer" timeout="20000"> 164 <select id="count" resultType="java.lang.Integer" timeout="20000">
@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
13 <result column="match_explain" property="matchExplain" 13 <result column="match_explain" property="matchExplain"
14 jdbcType="VARCHAR"/> 14 jdbcType="VARCHAR"/>
15 <result column="view_num" property="viewNum" jdbcType="INTEGER"/> 15 <result column="view_num" property="viewNum" jdbcType="INTEGER"/>
16 - <result column="status" property="status" jdbcType="TINYINT"/> 16 + <result column="status" property="status" jdbcType="INTEGER"/>
17 <result column="is_default" property="isDefault" jdbcType="CHAR"/> 17 <result column="is_default" property="isDefault" jdbcType="CHAR"/>
18 <result column="product_skc" property="productSkc" jdbcType="INTEGER"/> 18 <result column="product_skc" property="productSkc" jdbcType="INTEGER"/>
19 <result column="first_shelve_time" property="firstShelveTime" 19 <result column="first_shelve_time" property="firstShelveTime"
@@ -68,7 +68,7 @@ @@ -68,7 +68,7 @@
68 #{colorImage,jdbcType=VARCHAR}, 68 #{colorImage,jdbcType=VARCHAR},
69 #{isDown,jdbcType=CHAR}, 69 #{isDown,jdbcType=CHAR},
70 #{matchExplain,jdbcType=VARCHAR}, 70 #{matchExplain,jdbcType=VARCHAR},
71 - #{viewNum,jdbcType=INTEGER}, #{status,jdbcType=TINYINT}, 71 + #{viewNum,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
72 #{isDefault,jdbcType=CHAR}, 72 #{isDefault,jdbcType=CHAR},
73 #{productSkc,jdbcType=INTEGER}, 73 #{productSkc,jdbcType=INTEGER},
74 #{firstShelveTime,jdbcType=INTEGER}) 74 #{firstShelveTime,jdbcType=INTEGER})
@@ -152,7 +152,7 @@ @@ -152,7 +152,7 @@
152 #{viewNum,jdbcType=INTEGER}, 152 #{viewNum,jdbcType=INTEGER},
153 </if> 153 </if>
154 <if test="status != null"> 154 <if test="status != null">
155 - #{status,jdbcType=TINYINT}, 155 + #{status,jdbcType=INTEGER},
156 </if> 156 </if>
157 <if test="isDefault != null"> 157 <if test="isDefault != null">
158 #{isDefault,jdbcType=CHAR}, 158 #{isDefault,jdbcType=CHAR},
@@ -197,7 +197,7 @@ @@ -197,7 +197,7 @@
197 view_num = #{viewNum,jdbcType=INTEGER}, 197 view_num = #{viewNum,jdbcType=INTEGER},
198 </if> 198 </if>
199 <if test="status != null"> 199 <if test="status != null">
200 - status = #{status,jdbcType=TINYINT}, 200 + status = #{status,jdbcType=INTEGER},
201 </if> 201 </if>
202 <if test="isDefault != null"> 202 <if test="isDefault != null">
203 is_default = #{isDefault,jdbcType=CHAR}, 203 is_default = #{isDefault,jdbcType=CHAR},
@@ -226,7 +226,7 @@ @@ -226,7 +226,7 @@
226 match_explain = #{matchExplain,jdbcType=VARCHAR}, 226 match_explain = #{matchExplain,jdbcType=VARCHAR},
227 view_num = 227 view_num =
228 #{viewNum,jdbcType=INTEGER}, 228 #{viewNum,jdbcType=INTEGER},
229 - status = #{status,jdbcType=TINYINT}, 229 + status = #{status,jdbcType=INTEGER},
230 is_default = #{isDefault,jdbcType=CHAR}, 230 is_default = #{isDefault,jdbcType=CHAR},
231 product_skc = 231 product_skc =
232 #{productSkc,jdbcType=INTEGER}, 232 #{productSkc,jdbcType=INTEGER},
@@ -23,13 +23,13 @@ @@ -23,13 +23,13 @@
23 <result column="is_hot" property="isHot" jdbcType="CHAR" /> 23 <result column="is_hot" property="isHot" jdbcType="CHAR" />
24 <result column="is_special" property="isSpecial" jdbcType="CHAR" /> 24 <result column="is_special" property="isSpecial" jdbcType="CHAR" />
25 <result column="is_sales" property="isSales" jdbcType="CHAR" /> 25 <result column="is_sales" property="isSales" jdbcType="CHAR" />
26 - <result column="is_replenishment" property="isReplenishment" jdbcType="TINYINT" /> 26 + <result column="is_replenishment" property="isReplenishment" jdbcType="INTEGER" />
27 <result column="is_advance" property="isAdvance" jdbcType="CHAR" /> 27 <result column="is_advance" property="isAdvance" jdbcType="CHAR" />
28 <result column="is_retrieval" property="isRetrieval" jdbcType="CHAR" /> 28 <result column="is_retrieval" property="isRetrieval" jdbcType="CHAR" />
29 <result column="is_auditing" property="isAuditing" jdbcType="CHAR" /> 29 <result column="is_auditing" property="isAuditing" jdbcType="CHAR" />
30 <result column="is_recommend" property="isRecommend" jdbcType="CHAR" /> 30 <result column="is_recommend" property="isRecommend" jdbcType="CHAR" />
31 <result column="is_promotion" property="isPromotion" jdbcType="INTEGER" /> 31 <result column="is_promotion" property="isPromotion" jdbcType="INTEGER" />
32 - <result column="attribute" property="attribute" jdbcType="TINYINT" /> 32 + <result column="attribute" property="attribute" jdbcType="INTEGER" />
33 <result column="seasons" property="seasons" jdbcType="CHAR" /> 33 <result column="seasons" property="seasons" jdbcType="CHAR" />
34 <result column="salable_time" property="salableTime" jdbcType="VARCHAR" /> 34 <result column="salable_time" property="salableTime" jdbcType="VARCHAR" />
35 <result column="first_shelve_time" property="firstShelveTime" jdbcType="INTEGER" /> 35 <result column="first_shelve_time" property="firstShelveTime" jdbcType="INTEGER" />
@@ -40,9 +40,9 @@ @@ -40,9 +40,9 @@
40 <result column="edit_time" property="editTime" jdbcType="INTEGER" /> 40 <result column="edit_time" property="editTime" jdbcType="INTEGER" />
41 <result column="auditing_time" property="auditingTime" jdbcType="INTEGER" /> 41 <result column="auditing_time" property="auditingTime" jdbcType="INTEGER" />
42 <result column="is_down" property="isDown" jdbcType="CHAR" /> 42 <result column="is_down" property="isDown" jdbcType="CHAR" />
43 - <result column="status" property="status" jdbcType="TINYINT" />  
44 - <result column="is_edit" property="isEdit" jdbcType="TINYINT" />  
45 - <result column="vip_discount_type" property="vipDiscountType" jdbcType="TINYINT" /> 43 + <result column="status" property="status" jdbcType="INTEGER" />
  44 + <result column="is_edit" property="isEdit" jdbcType="INTEGER" />
  45 + <result column="vip_discount_type" property="vipDiscountType" jdbcType="INTEGER" />
46 <result column="storage" property="storage" jdbcType="INTEGER" /> 46 <result column="storage" property="storage" jdbcType="INTEGER" />
47 <result column="is_outlets" property="isOutlets" jdbcType="CHAR" /> 47 <result column="is_outlets" property="isOutlets" jdbcType="CHAR" />
48 <result column="folder_id" property="folderId" jdbcType="INTEGER" /> 48 <result column="folder_id" property="folderId" jdbcType="INTEGER" />
@@ -125,19 +125,19 @@ @@ -125,19 +125,19 @@
125 #{isLimited,jdbcType=CHAR}, #{isHot,jdbcType=CHAR}, 125 #{isLimited,jdbcType=CHAR}, #{isHot,jdbcType=CHAR},
126 #{isSpecial,jdbcType=CHAR}, 126 #{isSpecial,jdbcType=CHAR},
127 #{isSales,jdbcType=CHAR}, 127 #{isSales,jdbcType=CHAR},
128 - #{isReplenishment,jdbcType=TINYINT}, #{isAdvance,jdbcType=CHAR}, 128 + #{isReplenishment,jdbcType=INTEGER}, #{isAdvance,jdbcType=CHAR},
129 #{isRetrieval,jdbcType=CHAR}, #{isAuditing,jdbcType=CHAR}, 129 #{isRetrieval,jdbcType=CHAR}, #{isAuditing,jdbcType=CHAR},
130 #{isRecommend,jdbcType=CHAR}, 130 #{isRecommend,jdbcType=CHAR},
131 #{isPromotion,jdbcType=INTEGER}, 131 #{isPromotion,jdbcType=INTEGER},
132 - #{attribute,jdbcType=TINYINT}, #{seasons,jdbcType=CHAR}, 132 + #{attribute,jdbcType=INTEGER}, #{seasons,jdbcType=CHAR},
133 #{salableTime,jdbcType=VARCHAR}, #{firstShelveTime,jdbcType=INTEGER}, 133 #{salableTime,jdbcType=VARCHAR}, #{firstShelveTime,jdbcType=INTEGER},
134 #{shelveTime,jdbcType=INTEGER}, 134 #{shelveTime,jdbcType=INTEGER},
135 #{expectArrivalTime,jdbcType=INTEGER}, 135 #{expectArrivalTime,jdbcType=INTEGER},
136 #{createTime,jdbcType=INTEGER}, #{arrivalTime,jdbcType=INTEGER}, 136 #{createTime,jdbcType=INTEGER}, #{arrivalTime,jdbcType=INTEGER},
137 #{editTime,jdbcType=INTEGER}, #{auditingTime,jdbcType=INTEGER}, 137 #{editTime,jdbcType=INTEGER}, #{auditingTime,jdbcType=INTEGER},
138 #{isDown,jdbcType=CHAR}, 138 #{isDown,jdbcType=CHAR},
139 - #{status,jdbcType=TINYINT},  
140 - #{isEdit,jdbcType=TINYINT}, #{vipDiscountType,jdbcType=TINYINT}, 139 + #{status,jdbcType=INTEGER},
  140 + #{isEdit,jdbcType=INTEGER}, #{vipDiscountType,jdbcType=INTEGER},
141 #{storage,jdbcType=INTEGER}, #{isOutlets,jdbcType=CHAR}, 141 #{storage,jdbcType=INTEGER}, #{isOutlets,jdbcType=CHAR},
142 #{folderId,jdbcType=INTEGER}, 142 #{folderId,jdbcType=INTEGER},
143 #{sellChannels,jdbcType=CHAR}, 143 #{sellChannels,jdbcType=CHAR},
@@ -362,7 +362,7 @@ @@ -362,7 +362,7 @@
362 #{isSales,jdbcType=CHAR}, 362 #{isSales,jdbcType=CHAR},
363 </if> 363 </if>
364 <if test="isReplenishment != null"> 364 <if test="isReplenishment != null">
365 - #{isReplenishment,jdbcType=TINYINT}, 365 + #{isReplenishment,jdbcType=INTEGER},
366 </if> 366 </if>
367 <if test="isAdvance != null"> 367 <if test="isAdvance != null">
368 #{isAdvance,jdbcType=CHAR}, 368 #{isAdvance,jdbcType=CHAR},
@@ -380,7 +380,7 @@ @@ -380,7 +380,7 @@
380 #{isPromotion,jdbcType=INTEGER}, 380 #{isPromotion,jdbcType=INTEGER},
381 </if> 381 </if>
382 <if test="attribute != null"> 382 <if test="attribute != null">
383 - #{attribute,jdbcType=TINYINT}, 383 + #{attribute,jdbcType=INTEGER},
384 </if> 384 </if>
385 <if test="seasons != null"> 385 <if test="seasons != null">
386 #{seasons,jdbcType=CHAR}, 386 #{seasons,jdbcType=CHAR},
@@ -413,13 +413,13 @@ @@ -413,13 +413,13 @@
413 #{isDown,jdbcType=CHAR}, 413 #{isDown,jdbcType=CHAR},
414 </if> 414 </if>
415 <if test="status != null"> 415 <if test="status != null">
416 - #{status,jdbcType=TINYINT}, 416 + #{status,jdbcType=INTEGER},
417 </if> 417 </if>
418 <if test="isEdit != null"> 418 <if test="isEdit != null">
419 - #{isEdit,jdbcType=TINYINT}, 419 + #{isEdit,jdbcType=INTEGER},
420 </if> 420 </if>
421 <if test="vipDiscountType != null"> 421 <if test="vipDiscountType != null">
422 - #{vipDiscountType,jdbcType=TINYINT}, 422 + #{vipDiscountType,jdbcType=INTEGER},
423 </if> 423 </if>
424 <if test="storage != null"> 424 <if test="storage != null">
425 #{storage,jdbcType=INTEGER}, 425 #{storage,jdbcType=INTEGER},
@@ -515,7 +515,7 @@ @@ -515,7 +515,7 @@
515 is_sales = #{isSales,jdbcType=CHAR}, 515 is_sales = #{isSales,jdbcType=CHAR},
516 </if> 516 </if>
517 <if test="isReplenishment != null"> 517 <if test="isReplenishment != null">
518 - is_replenishment = #{isReplenishment,jdbcType=TINYINT}, 518 + is_replenishment = #{isReplenishment,jdbcType=INTEGER},
519 </if> 519 </if>
520 <if test="isAdvance != null"> 520 <if test="isAdvance != null">
521 is_advance = #{isAdvance,jdbcType=CHAR}, 521 is_advance = #{isAdvance,jdbcType=CHAR},
@@ -533,7 +533,7 @@ @@ -533,7 +533,7 @@
533 is_promotion = #{isPromotion,jdbcType=INTEGER}, 533 is_promotion = #{isPromotion,jdbcType=INTEGER},
534 </if> 534 </if>
535 <if test="attribute != null"> 535 <if test="attribute != null">
536 - attribute = #{attribute,jdbcType=TINYINT}, 536 + attribute = #{attribute,jdbcType=INTEGER},
537 </if> 537 </if>
538 <if test="seasons != null"> 538 <if test="seasons != null">
539 seasons = #{seasons,jdbcType=CHAR}, 539 seasons = #{seasons,jdbcType=CHAR},
@@ -567,13 +567,13 @@ @@ -567,13 +567,13 @@
567 is_down = #{isDown,jdbcType=CHAR}, 567 is_down = #{isDown,jdbcType=CHAR},
568 </if> 568 </if>
569 <if test="status != null"> 569 <if test="status != null">
570 - status = #{status,jdbcType=TINYINT}, 570 + status = #{status,jdbcType=INTEGER},
571 </if> 571 </if>
572 <if test="isEdit != null"> 572 <if test="isEdit != null">
573 - is_edit = #{isEdit,jdbcType=TINYINT}, 573 + is_edit = #{isEdit,jdbcType=INTEGER},
574 </if> 574 </if>
575 <if test="vipDiscountType != null"> 575 <if test="vipDiscountType != null">
576 - vip_discount_type = #{vipDiscountType,jdbcType=TINYINT}, 576 + vip_discount_type = #{vipDiscountType,jdbcType=INTEGER},
577 </if> 577 </if>
578 <if test="storage != null"> 578 <if test="storage != null">
579 storage = #{storage,jdbcType=INTEGER}, 579 storage = #{storage,jdbcType=INTEGER},
@@ -639,7 +639,7 @@ @@ -639,7 +639,7 @@
639 is_special = #{isSpecial,jdbcType=CHAR}, 639 is_special = #{isSpecial,jdbcType=CHAR},
640 is_sales = #{isSales,jdbcType=CHAR}, 640 is_sales = #{isSales,jdbcType=CHAR},
641 is_replenishment = 641 is_replenishment =
642 - #{isReplenishment,jdbcType=TINYINT}, 642 + #{isReplenishment,jdbcType=INTEGER},
643 is_advance = 643 is_advance =
644 #{isAdvance,jdbcType=CHAR}, 644 #{isAdvance,jdbcType=CHAR},
645 is_retrieval = 645 is_retrieval =
@@ -651,7 +651,7 @@ @@ -651,7 +651,7 @@
651 is_promotion = 651 is_promotion =
652 #{isPromotion,jdbcType=INTEGER}, 652 #{isPromotion,jdbcType=INTEGER},
653 attribute = 653 attribute =
654 - #{attribute,jdbcType=TINYINT}, 654 + #{attribute,jdbcType=INTEGER},
655 seasons = #{seasons,jdbcType=CHAR}, 655 seasons = #{seasons,jdbcType=CHAR},
656 salable_time = #{salableTime,jdbcType=VARCHAR}, 656 salable_time = #{salableTime,jdbcType=VARCHAR},
657 first_shelve_time = 657 first_shelve_time =
@@ -669,11 +669,11 @@ @@ -669,11 +669,11 @@
669 auditing_time = 669 auditing_time =
670 #{auditingTime,jdbcType=INTEGER}, 670 #{auditingTime,jdbcType=INTEGER},
671 is_down = #{isDown,jdbcType=CHAR}, 671 is_down = #{isDown,jdbcType=CHAR},
672 - status = #{status,jdbcType=TINYINT}, 672 + status = #{status,jdbcType=INTEGER},
673 is_edit = 673 is_edit =
674 - #{isEdit,jdbcType=TINYINT}, 674 + #{isEdit,jdbcType=INTEGER},
675 vip_discount_type = 675 vip_discount_type =
676 - #{vipDiscountType,jdbcType=TINYINT}, 676 + #{vipDiscountType,jdbcType=INTEGER},
677 storage = 677 storage =
678 #{storage,jdbcType=INTEGER}, 678 #{storage,jdbcType=INTEGER},
679 is_outlets = #{isOutlets,jdbcType=CHAR}, 679 is_outlets = #{isOutlets,jdbcType=CHAR},
@@ -15,7 +15,7 @@ @@ -15,7 +15,7 @@
15 jdbcType="DECIMAL" /> 15 jdbcType="DECIMAL" />
16 <result column="tariff" property="tariff" jdbcType="DECIMAL" /> 16 <result column="tariff" property="tariff" jdbcType="DECIMAL" />
17 <result column="vip_discount_type" property="vipDiscountType" 17 <result column="vip_discount_type" property="vipDiscountType"
18 - jdbcType="TINYINT" /> 18 + jdbcType="INTEGER" />
19 <result column="vip_discount" property="vipDiscount" jdbcType="DECIMAL" /> 19 <result column="vip_discount" property="vipDiscount" jdbcType="DECIMAL" />
20 <result column="vip_price" property="vipPrice" jdbcType="DECIMAL" /> 20 <result column="vip_price" property="vipPrice" jdbcType="DECIMAL" />
21 <result column="vip1_price" property="vip1Price" jdbcType="DECIMAL" /> 21 <result column="vip1_price" property="vip1Price" jdbcType="DECIMAL" />
@@ -55,7 +55,7 @@ @@ -55,7 +55,7 @@
55 #{purchasePrice,jdbcType=DECIMAL}, #{specialPrice,jdbcType=DECIMAL}, #{yohoCoinNum,jdbcType=INTEGER}, 55 #{purchasePrice,jdbcType=DECIMAL}, #{specialPrice,jdbcType=DECIMAL}, #{yohoCoinNum,jdbcType=INTEGER},
56 #{purchaseNum,jdbcType=DECIMAL}, #{purchaseCost,jdbcType=DECIMAL}, 56 #{purchaseNum,jdbcType=DECIMAL}, #{purchaseCost,jdbcType=DECIMAL},
57 #{tariff,jdbcType=DECIMAL}, 57 #{tariff,jdbcType=DECIMAL},
58 - #{vipDiscountType,jdbcType=TINYINT}, #{vipDiscount,jdbcType=DECIMAL}, #{vipPrice,jdbcType=DECIMAL}, 58 + #{vipDiscountType,jdbcType=INTEGER}, #{vipDiscount,jdbcType=DECIMAL}, #{vipPrice,jdbcType=DECIMAL},
59 #{vip1Price,jdbcType=DECIMAL}, #{vip2Price,jdbcType=DECIMAL}, 59 #{vip1Price,jdbcType=DECIMAL}, #{vip2Price,jdbcType=DECIMAL},
60 #{vip3Price,jdbcType=DECIMAL},#{studentPrice,jdbcType=DECIMAL}, 60 #{vip3Price,jdbcType=DECIMAL},#{studentPrice,jdbcType=DECIMAL},
61 #{productSkn,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER} ,#{studentCoinRate,jdbcType=DECIMAL}) 61 #{productSkn,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER} ,#{studentCoinRate,jdbcType=DECIMAL})
@@ -150,7 +150,7 @@ @@ -150,7 +150,7 @@
150 #{tariff,jdbcType=DECIMAL}, 150 #{tariff,jdbcType=DECIMAL},
151 </if> 151 </if>
152 <if test="vipDiscountType != null"> 152 <if test="vipDiscountType != null">
153 - #{vipDiscountType,jdbcType=TINYINT}, 153 + #{vipDiscountType,jdbcType=INTEGER},
154 </if> 154 </if>
155 <if test="vipDiscount != null"> 155 <if test="vipDiscount != null">
156 #{vipDiscount,jdbcType=DECIMAL}, 156 #{vipDiscount,jdbcType=DECIMAL},
@@ -209,7 +209,7 @@ @@ -209,7 +209,7 @@
209 tariff = #{tariff,jdbcType=DECIMAL}, 209 tariff = #{tariff,jdbcType=DECIMAL},
210 </if> 210 </if>
211 <if test="vipDiscountType != null"> 211 <if test="vipDiscountType != null">
212 - vip_discount_type = #{vipDiscountType,jdbcType=TINYINT}, 212 + vip_discount_type = #{vipDiscountType,jdbcType=INTEGER},
213 </if> 213 </if>
214 <if test="vipDiscount != null"> 214 <if test="vipDiscount != null">
215 vip_discount = #{vipDiscount,jdbcType=DECIMAL}, 215 vip_discount = #{vipDiscount,jdbcType=DECIMAL},
@@ -249,7 +249,7 @@ @@ -249,7 +249,7 @@
249 purchase_num = #{purchaseNum,jdbcType=DECIMAL}, 249 purchase_num = #{purchaseNum,jdbcType=DECIMAL},
250 purchase_cost = #{purchaseCost,jdbcType=DECIMAL}, 250 purchase_cost = #{purchaseCost,jdbcType=DECIMAL},
251 tariff = #{tariff,jdbcType=DECIMAL}, 251 tariff = #{tariff,jdbcType=DECIMAL},
252 - vip_discount_type = #{vipDiscountType,jdbcType=TINYINT}, 252 + vip_discount_type = #{vipDiscountType,jdbcType=INTEGER},
253 vip_discount = #{vipDiscount,jdbcType=DECIMAL}, 253 vip_discount = #{vipDiscount,jdbcType=DECIMAL},
254 vip_price = #{vipPrice,jdbcType=DECIMAL}, 254 vip_price = #{vipPrice,jdbcType=DECIMAL},
255 vip1_price = #{vip1Price,jdbcType=DECIMAL}, 255 vip1_price = #{vip1Price,jdbcType=DECIMAL},
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 <result column="sort_name" property="sortName" jdbcType="VARCHAR" /> 6 <result column="sort_name" property="sortName" jdbcType="VARCHAR" />
7 <result column="sort_initials" property="sortInitials" 7 <result column="sort_initials" property="sortInitials"
8 jdbcType="VARCHAR" /> 8 jdbcType="VARCHAR" />
9 - <result column="sort_units_id" property="sortUnitsId" jdbcType="TINYINT" /> 9 + <result column="sort_units_id" property="sortUnitsId" jdbcType="INTEGER" />
10 <result column="sort_ico" property="sortIco" jdbcType="VARCHAR" /> 10 <result column="sort_ico" property="sortIco" jdbcType="VARCHAR" />
11 <result column="sort_template_id" property="sortTemplateId" 11 <result column="sort_template_id" property="sortTemplateId"
12 jdbcType="INTEGER" /> 12 jdbcType="INTEGER" />
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 <result column="gender" property="gender" jdbcType="CHAR" /> 14 <result column="gender" property="gender" jdbcType="CHAR" />
15 <result column="is_hot" property="isHot" jdbcType="CHAR" /> 15 <result column="is_hot" property="isHot" jdbcType="CHAR" />
16 <result column="order_by" property="orderBy" jdbcType="INTEGER" /> 16 <result column="order_by" property="orderBy" jdbcType="INTEGER" />
17 - <result column="status" property="status" jdbcType="TINYINT" /> 17 + <result column="status" property="status" jdbcType="INTEGER" />
18 </resultMap> 18 </resultMap>
19 <sql id="Base_Column_List"> 19 <sql id="Base_Column_List">
20 id, sort_name, sort_initials, sort_units_id, sort_ico, sort_template_id, 20 id, sort_name, sort_initials, sort_units_id, sort_ico, sort_template_id,
@@ -39,10 +39,10 @@ @@ -39,10 +39,10 @@
39 order_by, status) 39 order_by, status)
40 values (#{id,jdbcType=INTEGER}, #{sortName,jdbcType=VARCHAR}, 40 values (#{id,jdbcType=INTEGER}, #{sortName,jdbcType=VARCHAR},
41 #{sortInitials,jdbcType=VARCHAR}, 41 #{sortInitials,jdbcType=VARCHAR},
42 - #{sortUnitsId,jdbcType=TINYINT}, #{sortIco,jdbcType=VARCHAR}, #{sortTemplateId,jdbcType=INTEGER}, 42 + #{sortUnitsId,jdbcType=INTEGER}, #{sortIco,jdbcType=VARCHAR}, #{sortTemplateId,jdbcType=INTEGER},
43 #{parentId,jdbcType=INTEGER}, #{gender,jdbcType=CHAR}, 43 #{parentId,jdbcType=INTEGER}, #{gender,jdbcType=CHAR},
44 #{isHot,jdbcType=CHAR}, 44 #{isHot,jdbcType=CHAR},
45 - #{orderBy,jdbcType=INTEGER}, #{status,jdbcType=TINYINT}) 45 + #{orderBy,jdbcType=INTEGER}, #{status,jdbcType=INTEGER})
46 </insert> 46 </insert>
47 <insert id="insertSelective" parameterType="com.yoho.search.dal.model.ProductSort" timeout="20000"> 47 <insert id="insertSelective" parameterType="com.yoho.search.dal.model.ProductSort" timeout="20000">
48 insert ignore into product_sort 48 insert ignore into product_sort
@@ -92,7 +92,7 @@ @@ -92,7 +92,7 @@
92 #{sortInitials,jdbcType=VARCHAR}, 92 #{sortInitials,jdbcType=VARCHAR},
93 </if> 93 </if>
94 <if test="sortUnitsId != null"> 94 <if test="sortUnitsId != null">
95 - #{sortUnitsId,jdbcType=TINYINT}, 95 + #{sortUnitsId,jdbcType=INTEGER},
96 </if> 96 </if>
97 <if test="sortIco != null"> 97 <if test="sortIco != null">
98 #{sortIco,jdbcType=VARCHAR}, 98 #{sortIco,jdbcType=VARCHAR},
@@ -113,7 +113,7 @@ @@ -113,7 +113,7 @@
113 #{orderBy,jdbcType=INTEGER}, 113 #{orderBy,jdbcType=INTEGER},
114 </if> 114 </if>
115 <if test="status != null"> 115 <if test="status != null">
116 - #{status,jdbcType=TINYINT}, 116 + #{status,jdbcType=INTEGER},
117 </if> 117 </if>
118 </trim> 118 </trim>
119 </insert> 119 </insert>
@@ -127,7 +127,7 @@ @@ -127,7 +127,7 @@
127 sort_initials = #{sortInitials,jdbcType=VARCHAR}, 127 sort_initials = #{sortInitials,jdbcType=VARCHAR},
128 </if> 128 </if>
129 <if test="sortUnitsId != null"> 129 <if test="sortUnitsId != null">
130 - sort_units_id = #{sortUnitsId,jdbcType=TINYINT}, 130 + sort_units_id = #{sortUnitsId,jdbcType=INTEGER},
131 </if> 131 </if>
132 <if test="sortIco != null"> 132 <if test="sortIco != null">
133 sort_ico = #{sortIco,jdbcType=VARCHAR}, 133 sort_ico = #{sortIco,jdbcType=VARCHAR},
@@ -148,7 +148,7 @@ @@ -148,7 +148,7 @@
148 order_by = #{orderBy,jdbcType=INTEGER}, 148 order_by = #{orderBy,jdbcType=INTEGER},
149 </if> 149 </if>
150 <if test="status != null"> 150 <if test="status != null">
151 - status = #{status,jdbcType=TINYINT}, 151 + status = #{status,jdbcType=INTEGER},
152 </if> 152 </if>
153 </set> 153 </set>
154 where id = #{id,jdbcType=INTEGER} 154 where id = #{id,jdbcType=INTEGER}
@@ -157,14 +157,14 @@ @@ -157,14 +157,14 @@
157 update product_sort 157 update product_sort
158 set sort_name = #{sortName,jdbcType=VARCHAR}, 158 set sort_name = #{sortName,jdbcType=VARCHAR},
159 sort_initials = #{sortInitials,jdbcType=VARCHAR}, 159 sort_initials = #{sortInitials,jdbcType=VARCHAR},
160 - sort_units_id = #{sortUnitsId,jdbcType=TINYINT}, 160 + sort_units_id = #{sortUnitsId,jdbcType=INTEGER},
161 sort_ico = #{sortIco,jdbcType=VARCHAR}, 161 sort_ico = #{sortIco,jdbcType=VARCHAR},
162 sort_template_id = #{sortTemplateId,jdbcType=INTEGER}, 162 sort_template_id = #{sortTemplateId,jdbcType=INTEGER},
163 parent_id = #{parentId,jdbcType=INTEGER}, 163 parent_id = #{parentId,jdbcType=INTEGER},
164 gender = #{gender,jdbcType=CHAR}, 164 gender = #{gender,jdbcType=CHAR},
165 is_hot = #{isHot,jdbcType=CHAR}, 165 is_hot = #{isHot,jdbcType=CHAR},
166 order_by = #{orderBy,jdbcType=INTEGER}, 166 order_by = #{orderBy,jdbcType=INTEGER},
167 - status = #{status,jdbcType=TINYINT} 167 + status = #{status,jdbcType=INTEGER}
168 where id = #{id,jdbcType=INTEGER} 168 where id = #{id,jdbcType=INTEGER}
169 </update> 169 </update>
170 <select id="count" resultType="java.lang.Integer" timeout="20000"> 170 <select id="count" resultType="java.lang.Integer" timeout="20000">
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 <result column="product_skn" property="productSkn" jdbcType="INTEGER" /> 6 <result column="product_skn" property="productSkn" jdbcType="INTEGER" />
7 <result column="object_id" property="objectId" jdbcType="INTEGER" /> 7 <result column="object_id" property="objectId" jdbcType="INTEGER" />
8 <result column="pid" property="pid" jdbcType="INTEGER" /> 8 <result column="pid" property="pid" jdbcType="INTEGER" />
9 - <result column="status" property="status" jdbcType="TINYINT" /> 9 + <result column="status" property="status" jdbcType="INTEGER" />
10 <result column="create_time" property="createTime" jdbcType="INTEGER" /> 10 <result column="create_time" property="createTime" jdbcType="INTEGER" />
11 </resultMap> 11 </resultMap>
12 <sql id="Base_Column_List"> 12 <sql id="Base_Column_List">
@@ -29,7 +29,7 @@ @@ -29,7 +29,7 @@
29 ) 29 )
30 values (#{id,jdbcType=INTEGER}, #{productSkn,jdbcType=INTEGER}, 30 values (#{id,jdbcType=INTEGER}, #{productSkn,jdbcType=INTEGER},
31 #{objectId,jdbcType=INTEGER}, 31 #{objectId,jdbcType=INTEGER},
32 - #{pid,jdbcType=INTEGER}, #{status,jdbcType=TINYINT}, #{createTime,jdbcType=INTEGER} 32 + #{pid,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=INTEGER}
33 ) 33 )
34 </insert> 34 </insert>
35 <insert id="insertSelective" parameterType="com.yoho.search.dal.model.SearchAction" timeout="20000"> 35 <insert id="insertSelective" parameterType="com.yoho.search.dal.model.SearchAction" timeout="20000">
@@ -68,7 +68,7 @@ @@ -68,7 +68,7 @@
68 #{pid,jdbcType=INTEGER}, 68 #{pid,jdbcType=INTEGER},
69 </if> 69 </if>
70 <if test="status != null"> 70 <if test="status != null">
71 - #{status,jdbcType=TINYINT}, 71 + #{status,jdbcType=INTEGER},
72 </if> 72 </if>
73 <if test="createTime != null"> 73 <if test="createTime != null">
74 #{createTime,jdbcType=INTEGER}, 74 #{createTime,jdbcType=INTEGER},
@@ -88,7 +88,7 @@ @@ -88,7 +88,7 @@
88 pid = #{pid,jdbcType=INTEGER}, 88 pid = #{pid,jdbcType=INTEGER},
89 </if> 89 </if>
90 <if test="status != null"> 90 <if test="status != null">
91 - status = #{status,jdbcType=TINYINT}, 91 + status = #{status,jdbcType=INTEGER},
92 </if> 92 </if>
93 <if test="createTime != null"> 93 <if test="createTime != null">
94 create_time = #{createTime,jdbcType=INTEGER}, 94 create_time = #{createTime,jdbcType=INTEGER},
@@ -101,7 +101,7 @@ @@ -101,7 +101,7 @@
101 set product_skn = #{productSkn,jdbcType=INTEGER}, 101 set product_skn = #{productSkn,jdbcType=INTEGER},
102 object_id = #{objectId,jdbcType=INTEGER}, 102 object_id = #{objectId,jdbcType=INTEGER},
103 pid = #{pid,jdbcType=INTEGER}, 103 pid = #{pid,jdbcType=INTEGER},
104 - status = #{status,jdbcType=TINYINT}, 104 + status = #{status,jdbcType=INTEGER},
105 create_time = #{createTime,jdbcType=INTEGER} 105 create_time = #{createTime,jdbcType=INTEGER}
106 where id = #{id,jdbcType=INTEGER} 106 where id = #{id,jdbcType=INTEGER}
107 </update> 107 </update>
@@ -17,7 +17,7 @@ @@ -17,7 +17,7 @@
17 <result column="search_make" property="searchMake" jdbcType="CHAR" /> 17 <result column="search_make" property="searchMake" jdbcType="CHAR" />
18 <result column="search_order_by" property="searchOrderBy" 18 <result column="search_order_by" property="searchOrderBy"
19 jdbcType="INTEGER" /> 19 jdbcType="INTEGER" />
20 - <result column="status" property="status" jdbcType="TINYINT" /> 20 + <result column="status" property="status" jdbcType="INTEGER" />
21 </resultMap> 21 </resultMap>
22 <sql id="Base_Column_List"> 22 <sql id="Base_Column_List">
23 id, standard_name, standard_sort_id, sort_id, order_by, 23 id, standard_name, standard_sort_id, sort_id, order_by,
@@ -54,7 +54,7 @@ @@ -54,7 +54,7 @@
54 #{searchView,jdbcType=CHAR}, 54 #{searchView,jdbcType=CHAR},
55 #{parameterMake,jdbcType=CHAR}, 55 #{parameterMake,jdbcType=CHAR},
56 #{searchMake,jdbcType=CHAR}, #{searchOrderBy,jdbcType=INTEGER}, 56 #{searchMake,jdbcType=CHAR}, #{searchOrderBy,jdbcType=INTEGER},
57 - #{status,jdbcType=TINYINT} 57 + #{status,jdbcType=INTEGER}
58 ) 58 )
59 </insert> 59 </insert>
60 <insert id="insertSelective" parameterType="com.yoho.search.dal.model.Standard" 60 <insert id="insertSelective" parameterType="com.yoho.search.dal.model.Standard"
@@ -133,7 +133,7 @@ @@ -133,7 +133,7 @@
133 #{searchOrderBy,jdbcType=INTEGER}, 133 #{searchOrderBy,jdbcType=INTEGER},
134 </if> 134 </if>
135 <if test="status != null"> 135 <if test="status != null">
136 - #{status,jdbcType=TINYINT}, 136 + #{status,jdbcType=INTEGER},
137 </if> 137 </if>
138 </trim> 138 </trim>
139 </insert> 139 </insert>
@@ -172,7 +172,7 @@ @@ -172,7 +172,7 @@
172 search_order_by = #{searchOrderBy,jdbcType=INTEGER}, 172 search_order_by = #{searchOrderBy,jdbcType=INTEGER},
173 </if> 173 </if>
174 <if test="status != null"> 174 <if test="status != null">
175 - status = #{status,jdbcType=TINYINT}, 175 + status = #{status,jdbcType=INTEGER},
176 </if> 176 </if>
177 </set> 177 </set>
178 where id = #{id,jdbcType=INTEGER} 178 where id = #{id,jdbcType=INTEGER}
@@ -196,7 +196,7 @@ @@ -196,7 +196,7 @@
196 #{searchMake,jdbcType=CHAR}, 196 #{searchMake,jdbcType=CHAR},
197 search_order_by = 197 search_order_by =
198 #{searchOrderBy,jdbcType=INTEGER}, 198 #{searchOrderBy,jdbcType=INTEGER},
199 - status = #{status,jdbcType=TINYINT} 199 + status = #{status,jdbcType=INTEGER}
200 where id = #{id,jdbcType=INTEGER} 200 where id = #{id,jdbcType=INTEGER}
201 </update> 201 </update>
202 <select id="count" resultType="java.lang.Integer" timeout="20000"> 202 <select id="count" resultType="java.lang.Integer" timeout="20000">
@@ -10,8 +10,8 @@ @@ -10,8 +10,8 @@
10 <result column="storage_num" property="storageNum" jdbcType="INTEGER"/> 10 <result column="storage_num" property="storageNum" jdbcType="INTEGER"/>
11 <result column="sales_num" property="salesNum" jdbcType="INTEGER"/> 11 <result column="sales_num" property="salesNum" jdbcType="INTEGER"/>
12 <result column="frozen_num" property="frozenNum" jdbcType="INTEGER"/> 12 <result column="frozen_num" property="frozenNum" jdbcType="INTEGER"/>
13 - <result column="storeroom" property="storeroom" jdbcType="TINYINT"/>  
14 - <result column="status" property="status" jdbcType="TINYINT"/> 13 + <result column="storeroom" property="storeroom" jdbcType="INTEGER"/>
  14 + <result column="status" property="status" jdbcType="INTEGER"/>
15 </resultMap> 15 </resultMap>
16 <sql id="Base_Column_List"> 16 <sql id="Base_Column_List">
17 erp_sku_id, product_id, goods_id, goods_dimension_id, storage_num, sales_num, 17 erp_sku_id, product_id, goods_id, goods_dimension_id, storage_num, sales_num,
@@ -37,8 +37,8 @@ @@ -37,8 +37,8 @@
37 values (#{erpSkuId,jdbcType=INTEGER}, #{productId,jdbcType=INTEGER}, 37 values (#{erpSkuId,jdbcType=INTEGER}, #{productId,jdbcType=INTEGER},
38 #{goodsId,jdbcType=INTEGER}, 38 #{goodsId,jdbcType=INTEGER},
39 #{goodsDimensionId,jdbcType=INTEGER}, #{storageNum,jdbcType=INTEGER}, #{salesNum,jdbcType=INTEGER}, 39 #{goodsDimensionId,jdbcType=INTEGER}, #{storageNum,jdbcType=INTEGER}, #{salesNum,jdbcType=INTEGER},
40 - #{frozenNum,jdbcType=INTEGER}, #{storeroom,jdbcType=TINYINT},  
41 - #{status,jdbcType=TINYINT} 40 + #{frozenNum,jdbcType=INTEGER}, #{storeroom,jdbcType=INTEGER},
  41 + #{status,jdbcType=INTEGER}
42 ) 42 )
43 </insert> 43 </insert>
44 <insert id="insertSelective" parameterType="com.yoho.search.dal.model.Storage" timeout="20000"> 44 <insert id="insertSelective" parameterType="com.yoho.search.dal.model.Storage" timeout="20000">
@@ -95,10 +95,10 @@ @@ -95,10 +95,10 @@
95 #{frozenNum,jdbcType=INTEGER}, 95 #{frozenNum,jdbcType=INTEGER},
96 </if> 96 </if>
97 <if test="storeroom != null"> 97 <if test="storeroom != null">
98 - #{storeroom,jdbcType=TINYINT}, 98 + #{storeroom,jdbcType=INTEGER},
99 </if> 99 </if>
100 <if test="status != null"> 100 <if test="status != null">
101 - #{status,jdbcType=TINYINT}, 101 + #{status,jdbcType=INTEGER},
102 </if> 102 </if>
103 </trim> 103 </trim>
104 </insert> 104 </insert>
@@ -124,10 +124,10 @@ @@ -124,10 +124,10 @@
124 frozen_num = #{frozenNum,jdbcType=INTEGER}, 124 frozen_num = #{frozenNum,jdbcType=INTEGER},
125 </if> 125 </if>
126 <if test="storeroom != null"> 126 <if test="storeroom != null">
127 - storeroom = #{storeroom,jdbcType=TINYINT}, 127 + storeroom = #{storeroom,jdbcType=INTEGER},
128 </if> 128 </if>
129 <if test="status != null"> 129 <if test="status != null">
130 - status = #{status,jdbcType=TINYINT}, 130 + status = #{status,jdbcType=INTEGER},
131 </if> 131 </if>
132 </set> 132 </set>
133 where erp_sku_id = #{erpSkuId,jdbcType=INTEGER} 133 where erp_sku_id = #{erpSkuId,jdbcType=INTEGER}
@@ -140,8 +140,8 @@ @@ -140,8 +140,8 @@
140 storage_num = #{storageNum,jdbcType=INTEGER}, 140 storage_num = #{storageNum,jdbcType=INTEGER},
141 sales_num = #{salesNum,jdbcType=INTEGER}, 141 sales_num = #{salesNum,jdbcType=INTEGER},
142 frozen_num = #{frozenNum,jdbcType=INTEGER}, 142 frozen_num = #{frozenNum,jdbcType=INTEGER},
143 - storeroom = #{storeroom,jdbcType=TINYINT},  
144 - status = #{status,jdbcType=TINYINT} 143 + storeroom = #{storeroom,jdbcType=INTEGER},
  144 + status = #{status,jdbcType=INTEGER}
145 where erp_sku_id = #{erpSkuId,jdbcType=INTEGER} 145 where erp_sku_id = #{erpSkuId,jdbcType=INTEGER}
146 </update> 146 </update>
147 <select id="count" resultType="java.lang.Integer" timeout="20000"> 147 <select id="count" resultType="java.lang.Integer" timeout="20000">