Authored by wangnan

修改tinyint为int

... ... @@ -32,7 +32,7 @@
insert ignore into activity_product (id, template_id, product_skn,
order_by, is_recommend, status
)
values (#{id,jdbcType=INTEGER}, #{templateId,jdbcType=TINYINT}, #{productSkn,jdbcType=INTEGER},
values (#{id,jdbcType=INTEGER}, #{templateId,jdbcType=}, #{productSkn,jdbcType=INTEGER},
#{orderBy,jdbcType=INTEGER}, #{isRecommend,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}
)
</insert>
... ... @@ -63,7 +63,7 @@
#{id,jdbcType=INTEGER},
</if>
<if test="templateId != null">
#{templateId,jdbcType=TINYINT},
#{templateId,jdbcType=INTEGER},
</if>
<if test="productSkn != null">
#{productSkn,jdbcType=INTEGER},
... ... @@ -83,7 +83,7 @@
update activity_product
<set>
<if test="templateId != null">
template_id = #{templateId,jdbcType=TINYINT},
template_id = #{templateId,jdbcType=INTEGER},
</if>
<if test="productSkn != null">
product_skn = #{productSkn,jdbcType=INTEGER},
... ... @@ -102,7 +102,7 @@
</update>
<update id="updateByPrimaryKey" parameterType="com.yoho.search.dal.model.ActivityProduct" timeout="20000">
update activity_product
set template_id = #{templateId,jdbcType=TINYINT},
set template_id = #{templateId,jdbcType=INTEGER},
product_skn = #{productSkn,jdbcType=INTEGER},
order_by = #{orderBy,jdbcType=INTEGER},
is_recommend = #{isRecommend,jdbcType=INTEGER},
... ... @@ -112,7 +112,7 @@
<resultMap id="ActivityResultMap" type="java.util.Map">
<id column="product_id" property="productId" jdbcType="INTEGER"/>
<id column="activity_id" property="activityId" jdbcType="INTEGER"/>
<result column="template_id" property="templateId" jdbcType="TINYINT"/>
<result column="template_id" property="templateId" jdbcType="INTEGER"/>
<result column="order_by" property="orderBy" jdbcType="INTEGER"/>
<result column="is_recommend" property="isRecommend" jdbcType="INTEGER"/>
<result column="status" property="status" jdbcType="INTEGER"/>
... ...
... ... @@ -8,11 +8,11 @@
<result column="is_default" property="isDefault" jdbcType="CHAR" />
<result column="image_name" property="imageName" jdbcType="VARCHAR" />
<result column="image_url" property="imageUrl" jdbcType="VARCHAR" />
<result column="angle" property="angle" jdbcType="TINYINT" />
<result column="order_by" property="orderBy" jdbcType="TINYINT" />
<result column="angle" property="angle" jdbcType="INTEGER" />
<result column="order_by" property="orderBy" jdbcType="INTEGER" />
<result column="intro" property="intro" jdbcType="VARCHAR" />
<result column="status" property="status" jdbcType="TINYINT" />
<result column="gender_cover" property="genderCover" jdbcType="TINYINT" />
<result column="status" property="status" jdbcType="INTEGER" />
<result column="gender_cover" property="genderCover" jdbcType="INTEGER" />
</resultMap>
<sql id="Base_Column_List" >
id, goods_id, product_id, is_default, image_name, image_url, angle, order_by, intro,
... ... @@ -35,8 +35,8 @@
status, gender_cover)
values (#{id,jdbcType=INTEGER}, #{goodsId,jdbcType=INTEGER}, #{productId,jdbcType=INTEGER},
#{isDefault,jdbcType=CHAR}, #{imageName,jdbcType=VARCHAR}, #{imageUrl,jdbcType=VARCHAR},
#{angle,jdbcType=TINYINT}, #{orderBy,jdbcType=TINYINT}, #{intro,jdbcType=VARCHAR},
#{status,jdbcType=TINYINT}, #{genderCover,jdbcType=TINYINT})
#{angle,jdbcType=INTEGER}, #{orderBy,jdbcType=INTEGER}, #{intro,jdbcType=VARCHAR},
#{status,jdbcType=INTEGER}, #{genderCover,jdbcType=INTEGER})
</insert>
<insert id="insertSelective" parameterType="com.yoho.search.dal.model.GoodsImages" timeout="20000">
insert ignore into goods_images
... ... @@ -95,19 +95,19 @@
#{imageUrl,jdbcType=VARCHAR},
</if>
<if test="angle != null" >
#{angle,jdbcType=TINYINT},
#{angle,jdbcType=INTEGER},
</if>
<if test="orderBy != null" >
#{orderBy,jdbcType=TINYINT},
#{orderBy,jdbcType=INTEGER},
</if>
<if test="intro != null" >
#{intro,jdbcType=VARCHAR},
</if>
<if test="status != null" >
#{status,jdbcType=TINYINT},
#{status,jdbcType=INTEGER},
</if>
<if test="genderCover != null" >
#{genderCover,jdbcType=TINYINT},
#{genderCover,jdbcType=INTEGER},
</if>
</trim>
</insert>
... ... @@ -130,19 +130,19 @@
image_url = #{imageUrl,jdbcType=VARCHAR},
</if>
<if test="angle != null" >
angle = #{angle,jdbcType=TINYINT},
angle = #{angle,jdbcType=INTEGER},
</if>
<if test="orderBy != null" >
order_by = #{orderBy,jdbcType=TINYINT},
order_by = #{orderBy,jdbcType=INTEGER},
</if>
<if test="intro != null" >
intro = #{intro,jdbcType=VARCHAR},
</if>
<if test="status != null" >
status = #{status,jdbcType=TINYINT},
status = #{status,jdbcType=INTEGER},
</if>
<if test="genderCover != null" >
gender_cover = #{genderCover,jdbcType=TINYINT},
gender_cover = #{genderCover,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
... ... @@ -154,11 +154,11 @@
is_default = #{isDefault,jdbcType=CHAR},
image_name = #{imageName,jdbcType=VARCHAR},
image_url = #{imageUrl,jdbcType=VARCHAR},
angle = #{angle,jdbcType=TINYINT},
order_by = #{orderBy,jdbcType=TINYINT},
angle = #{angle,jdbcType=INTEGER},
order_by = #{orderBy,jdbcType=INTEGER},
intro = #{intro,jdbcType=VARCHAR},
status = #{status,jdbcType=TINYINT},
gender_cover = #{genderCover,jdbcType=TINYINT}
status = #{status,jdbcType=INTEGER},
gender_cover = #{genderCover,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
<select id="count" resultType="java.lang.Integer" timeout="20000">
... ...
... ... @@ -13,7 +13,7 @@
<result column="match_explain" property="matchExplain"
jdbcType="VARCHAR"/>
<result column="view_num" property="viewNum" jdbcType="INTEGER"/>
<result column="status" property="status" jdbcType="TINYINT"/>
<result column="status" property="status" jdbcType="INTEGER"/>
<result column="is_default" property="isDefault" jdbcType="CHAR"/>
<result column="product_skc" property="productSkc" jdbcType="INTEGER"/>
<result column="first_shelve_time" property="firstShelveTime"
... ... @@ -68,7 +68,7 @@
#{colorImage,jdbcType=VARCHAR},
#{isDown,jdbcType=CHAR},
#{matchExplain,jdbcType=VARCHAR},
#{viewNum,jdbcType=INTEGER}, #{status,jdbcType=TINYINT},
#{viewNum,jdbcType=INTEGER}, #{status,jdbcType=INTEGER},
#{isDefault,jdbcType=CHAR},
#{productSkc,jdbcType=INTEGER},
#{firstShelveTime,jdbcType=INTEGER})
... ... @@ -152,7 +152,7 @@
#{viewNum,jdbcType=INTEGER},
</if>
<if test="status != null">
#{status,jdbcType=TINYINT},
#{status,jdbcType=INTEGER},
</if>
<if test="isDefault != null">
#{isDefault,jdbcType=CHAR},
... ... @@ -197,7 +197,7 @@
view_num = #{viewNum,jdbcType=INTEGER},
</if>
<if test="status != null">
status = #{status,jdbcType=TINYINT},
status = #{status,jdbcType=INTEGER},
</if>
<if test="isDefault != null">
is_default = #{isDefault,jdbcType=CHAR},
... ... @@ -226,7 +226,7 @@
match_explain = #{matchExplain,jdbcType=VARCHAR},
view_num =
#{viewNum,jdbcType=INTEGER},
status = #{status,jdbcType=TINYINT},
status = #{status,jdbcType=INTEGER},
is_default = #{isDefault,jdbcType=CHAR},
product_skc =
#{productSkc,jdbcType=INTEGER},
... ...
... ... @@ -23,13 +23,13 @@
<result column="is_hot" property="isHot" jdbcType="CHAR" />
<result column="is_special" property="isSpecial" jdbcType="CHAR" />
<result column="is_sales" property="isSales" jdbcType="CHAR" />
<result column="is_replenishment" property="isReplenishment" jdbcType="TINYINT" />
<result column="is_replenishment" property="isReplenishment" jdbcType="INTEGER" />
<result column="is_advance" property="isAdvance" jdbcType="CHAR" />
<result column="is_retrieval" property="isRetrieval" jdbcType="CHAR" />
<result column="is_auditing" property="isAuditing" jdbcType="CHAR" />
<result column="is_recommend" property="isRecommend" jdbcType="CHAR" />
<result column="is_promotion" property="isPromotion" jdbcType="INTEGER" />
<result column="attribute" property="attribute" jdbcType="TINYINT" />
<result column="attribute" property="attribute" jdbcType="INTEGER" />
<result column="seasons" property="seasons" jdbcType="CHAR" />
<result column="salable_time" property="salableTime" jdbcType="VARCHAR" />
<result column="first_shelve_time" property="firstShelveTime" jdbcType="INTEGER" />
... ... @@ -40,9 +40,9 @@
<result column="edit_time" property="editTime" jdbcType="INTEGER" />
<result column="auditing_time" property="auditingTime" jdbcType="INTEGER" />
<result column="is_down" property="isDown" jdbcType="CHAR" />
<result column="status" property="status" jdbcType="TINYINT" />
<result column="is_edit" property="isEdit" jdbcType="TINYINT" />
<result column="vip_discount_type" property="vipDiscountType" jdbcType="TINYINT" />
<result column="status" property="status" jdbcType="INTEGER" />
<result column="is_edit" property="isEdit" jdbcType="INTEGER" />
<result column="vip_discount_type" property="vipDiscountType" jdbcType="INTEGER" />
<result column="storage" property="storage" jdbcType="INTEGER" />
<result column="is_outlets" property="isOutlets" jdbcType="CHAR" />
<result column="folder_id" property="folderId" jdbcType="INTEGER" />
... ... @@ -125,19 +125,19 @@
#{isLimited,jdbcType=CHAR}, #{isHot,jdbcType=CHAR},
#{isSpecial,jdbcType=CHAR},
#{isSales,jdbcType=CHAR},
#{isReplenishment,jdbcType=TINYINT}, #{isAdvance,jdbcType=CHAR},
#{isReplenishment,jdbcType=INTEGER}, #{isAdvance,jdbcType=CHAR},
#{isRetrieval,jdbcType=CHAR}, #{isAuditing,jdbcType=CHAR},
#{isRecommend,jdbcType=CHAR},
#{isPromotion,jdbcType=INTEGER},
#{attribute,jdbcType=TINYINT}, #{seasons,jdbcType=CHAR},
#{attribute,jdbcType=INTEGER}, #{seasons,jdbcType=CHAR},
#{salableTime,jdbcType=VARCHAR}, #{firstShelveTime,jdbcType=INTEGER},
#{shelveTime,jdbcType=INTEGER},
#{expectArrivalTime,jdbcType=INTEGER},
#{createTime,jdbcType=INTEGER}, #{arrivalTime,jdbcType=INTEGER},
#{editTime,jdbcType=INTEGER}, #{auditingTime,jdbcType=INTEGER},
#{isDown,jdbcType=CHAR},
#{status,jdbcType=TINYINT},
#{isEdit,jdbcType=TINYINT}, #{vipDiscountType,jdbcType=TINYINT},
#{status,jdbcType=INTEGER},
#{isEdit,jdbcType=INTEGER}, #{vipDiscountType,jdbcType=INTEGER},
#{storage,jdbcType=INTEGER}, #{isOutlets,jdbcType=CHAR},
#{folderId,jdbcType=INTEGER},
#{sellChannels,jdbcType=CHAR},
... ... @@ -362,7 +362,7 @@
#{isSales,jdbcType=CHAR},
</if>
<if test="isReplenishment != null">
#{isReplenishment,jdbcType=TINYINT},
#{isReplenishment,jdbcType=INTEGER},
</if>
<if test="isAdvance != null">
#{isAdvance,jdbcType=CHAR},
... ... @@ -380,7 +380,7 @@
#{isPromotion,jdbcType=INTEGER},
</if>
<if test="attribute != null">
#{attribute,jdbcType=TINYINT},
#{attribute,jdbcType=INTEGER},
</if>
<if test="seasons != null">
#{seasons,jdbcType=CHAR},
... ... @@ -413,13 +413,13 @@
#{isDown,jdbcType=CHAR},
</if>
<if test="status != null">
#{status,jdbcType=TINYINT},
#{status,jdbcType=INTEGER},
</if>
<if test="isEdit != null">
#{isEdit,jdbcType=TINYINT},
#{isEdit,jdbcType=INTEGER},
</if>
<if test="vipDiscountType != null">
#{vipDiscountType,jdbcType=TINYINT},
#{vipDiscountType,jdbcType=INTEGER},
</if>
<if test="storage != null">
#{storage,jdbcType=INTEGER},
... ... @@ -515,7 +515,7 @@
is_sales = #{isSales,jdbcType=CHAR},
</if>
<if test="isReplenishment != null">
is_replenishment = #{isReplenishment,jdbcType=TINYINT},
is_replenishment = #{isReplenishment,jdbcType=INTEGER},
</if>
<if test="isAdvance != null">
is_advance = #{isAdvance,jdbcType=CHAR},
... ... @@ -533,7 +533,7 @@
is_promotion = #{isPromotion,jdbcType=INTEGER},
</if>
<if test="attribute != null">
attribute = #{attribute,jdbcType=TINYINT},
attribute = #{attribute,jdbcType=INTEGER},
</if>
<if test="seasons != null">
seasons = #{seasons,jdbcType=CHAR},
... ... @@ -567,13 +567,13 @@
is_down = #{isDown,jdbcType=CHAR},
</if>
<if test="status != null">
status = #{status,jdbcType=TINYINT},
status = #{status,jdbcType=INTEGER},
</if>
<if test="isEdit != null">
is_edit = #{isEdit,jdbcType=TINYINT},
is_edit = #{isEdit,jdbcType=INTEGER},
</if>
<if test="vipDiscountType != null">
vip_discount_type = #{vipDiscountType,jdbcType=TINYINT},
vip_discount_type = #{vipDiscountType,jdbcType=INTEGER},
</if>
<if test="storage != null">
storage = #{storage,jdbcType=INTEGER},
... ... @@ -639,7 +639,7 @@
is_special = #{isSpecial,jdbcType=CHAR},
is_sales = #{isSales,jdbcType=CHAR},
is_replenishment =
#{isReplenishment,jdbcType=TINYINT},
#{isReplenishment,jdbcType=INTEGER},
is_advance =
#{isAdvance,jdbcType=CHAR},
is_retrieval =
... ... @@ -651,7 +651,7 @@
is_promotion =
#{isPromotion,jdbcType=INTEGER},
attribute =
#{attribute,jdbcType=TINYINT},
#{attribute,jdbcType=INTEGER},
seasons = #{seasons,jdbcType=CHAR},
salable_time = #{salableTime,jdbcType=VARCHAR},
first_shelve_time =
... ... @@ -669,11 +669,11 @@
auditing_time =
#{auditingTime,jdbcType=INTEGER},
is_down = #{isDown,jdbcType=CHAR},
status = #{status,jdbcType=TINYINT},
status = #{status,jdbcType=INTEGER},
is_edit =
#{isEdit,jdbcType=TINYINT},
#{isEdit,jdbcType=INTEGER},
vip_discount_type =
#{vipDiscountType,jdbcType=TINYINT},
#{vipDiscountType,jdbcType=INTEGER},
storage =
#{storage,jdbcType=INTEGER},
is_outlets = #{isOutlets,jdbcType=CHAR},
... ...
... ... @@ -15,7 +15,7 @@
jdbcType="DECIMAL" />
<result column="tariff" property="tariff" jdbcType="DECIMAL" />
<result column="vip_discount_type" property="vipDiscountType"
jdbcType="TINYINT" />
jdbcType="INTEGER" />
<result column="vip_discount" property="vipDiscount" jdbcType="DECIMAL" />
<result column="vip_price" property="vipPrice" jdbcType="DECIMAL" />
<result column="vip1_price" property="vip1Price" jdbcType="DECIMAL" />
... ... @@ -55,7 +55,7 @@
#{purchasePrice,jdbcType=DECIMAL}, #{specialPrice,jdbcType=DECIMAL}, #{yohoCoinNum,jdbcType=INTEGER},
#{purchaseNum,jdbcType=DECIMAL}, #{purchaseCost,jdbcType=DECIMAL},
#{tariff,jdbcType=DECIMAL},
#{vipDiscountType,jdbcType=TINYINT}, #{vipDiscount,jdbcType=DECIMAL}, #{vipPrice,jdbcType=DECIMAL},
#{vipDiscountType,jdbcType=INTEGER}, #{vipDiscount,jdbcType=DECIMAL}, #{vipPrice,jdbcType=DECIMAL},
#{vip1Price,jdbcType=DECIMAL}, #{vip2Price,jdbcType=DECIMAL},
#{vip3Price,jdbcType=DECIMAL},#{studentPrice,jdbcType=DECIMAL},
#{productSkn,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER} ,#{studentCoinRate,jdbcType=DECIMAL})
... ... @@ -150,7 +150,7 @@
#{tariff,jdbcType=DECIMAL},
</if>
<if test="vipDiscountType != null">
#{vipDiscountType,jdbcType=TINYINT},
#{vipDiscountType,jdbcType=INTEGER},
</if>
<if test="vipDiscount != null">
#{vipDiscount,jdbcType=DECIMAL},
... ... @@ -209,7 +209,7 @@
tariff = #{tariff,jdbcType=DECIMAL},
</if>
<if test="vipDiscountType != null">
vip_discount_type = #{vipDiscountType,jdbcType=TINYINT},
vip_discount_type = #{vipDiscountType,jdbcType=INTEGER},
</if>
<if test="vipDiscount != null">
vip_discount = #{vipDiscount,jdbcType=DECIMAL},
... ... @@ -249,7 +249,7 @@
purchase_num = #{purchaseNum,jdbcType=DECIMAL},
purchase_cost = #{purchaseCost,jdbcType=DECIMAL},
tariff = #{tariff,jdbcType=DECIMAL},
vip_discount_type = #{vipDiscountType,jdbcType=TINYINT},
vip_discount_type = #{vipDiscountType,jdbcType=INTEGER},
vip_discount = #{vipDiscount,jdbcType=DECIMAL},
vip_price = #{vipPrice,jdbcType=DECIMAL},
vip1_price = #{vip1Price,jdbcType=DECIMAL},
... ...
... ... @@ -6,7 +6,7 @@
<result column="sort_name" property="sortName" jdbcType="VARCHAR" />
<result column="sort_initials" property="sortInitials"
jdbcType="VARCHAR" />
<result column="sort_units_id" property="sortUnitsId" jdbcType="TINYINT" />
<result column="sort_units_id" property="sortUnitsId" jdbcType="INTEGER" />
<result column="sort_ico" property="sortIco" jdbcType="VARCHAR" />
<result column="sort_template_id" property="sortTemplateId"
jdbcType="INTEGER" />
... ... @@ -14,7 +14,7 @@
<result column="gender" property="gender" jdbcType="CHAR" />
<result column="is_hot" property="isHot" jdbcType="CHAR" />
<result column="order_by" property="orderBy" jdbcType="INTEGER" />
<result column="status" property="status" jdbcType="TINYINT" />
<result column="status" property="status" jdbcType="INTEGER" />
</resultMap>
<sql id="Base_Column_List">
id, sort_name, sort_initials, sort_units_id, sort_ico, sort_template_id,
... ... @@ -39,10 +39,10 @@
order_by, status)
values (#{id,jdbcType=INTEGER}, #{sortName,jdbcType=VARCHAR},
#{sortInitials,jdbcType=VARCHAR},
#{sortUnitsId,jdbcType=TINYINT}, #{sortIco,jdbcType=VARCHAR}, #{sortTemplateId,jdbcType=INTEGER},
#{sortUnitsId,jdbcType=INTEGER}, #{sortIco,jdbcType=VARCHAR}, #{sortTemplateId,jdbcType=INTEGER},
#{parentId,jdbcType=INTEGER}, #{gender,jdbcType=CHAR},
#{isHot,jdbcType=CHAR},
#{orderBy,jdbcType=INTEGER}, #{status,jdbcType=TINYINT})
#{orderBy,jdbcType=INTEGER}, #{status,jdbcType=INTEGER})
</insert>
<insert id="insertSelective" parameterType="com.yoho.search.dal.model.ProductSort" timeout="20000">
insert ignore into product_sort
... ... @@ -92,7 +92,7 @@
#{sortInitials,jdbcType=VARCHAR},
</if>
<if test="sortUnitsId != null">
#{sortUnitsId,jdbcType=TINYINT},
#{sortUnitsId,jdbcType=INTEGER},
</if>
<if test="sortIco != null">
#{sortIco,jdbcType=VARCHAR},
... ... @@ -113,7 +113,7 @@
#{orderBy,jdbcType=INTEGER},
</if>
<if test="status != null">
#{status,jdbcType=TINYINT},
#{status,jdbcType=INTEGER},
</if>
</trim>
</insert>
... ... @@ -127,7 +127,7 @@
sort_initials = #{sortInitials,jdbcType=VARCHAR},
</if>
<if test="sortUnitsId != null">
sort_units_id = #{sortUnitsId,jdbcType=TINYINT},
sort_units_id = #{sortUnitsId,jdbcType=INTEGER},
</if>
<if test="sortIco != null">
sort_ico = #{sortIco,jdbcType=VARCHAR},
... ... @@ -148,7 +148,7 @@
order_by = #{orderBy,jdbcType=INTEGER},
</if>
<if test="status != null">
status = #{status,jdbcType=TINYINT},
status = #{status,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
... ... @@ -157,14 +157,14 @@
update product_sort
set sort_name = #{sortName,jdbcType=VARCHAR},
sort_initials = #{sortInitials,jdbcType=VARCHAR},
sort_units_id = #{sortUnitsId,jdbcType=TINYINT},
sort_units_id = #{sortUnitsId,jdbcType=INTEGER},
sort_ico = #{sortIco,jdbcType=VARCHAR},
sort_template_id = #{sortTemplateId,jdbcType=INTEGER},
parent_id = #{parentId,jdbcType=INTEGER},
gender = #{gender,jdbcType=CHAR},
is_hot = #{isHot,jdbcType=CHAR},
order_by = #{orderBy,jdbcType=INTEGER},
status = #{status,jdbcType=TINYINT}
status = #{status,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
<select id="count" resultType="java.lang.Integer" timeout="20000">
... ...
... ... @@ -6,7 +6,7 @@
<result column="product_skn" property="productSkn" jdbcType="INTEGER" />
<result column="object_id" property="objectId" jdbcType="INTEGER" />
<result column="pid" property="pid" jdbcType="INTEGER" />
<result column="status" property="status" jdbcType="TINYINT" />
<result column="status" property="status" jdbcType="INTEGER" />
<result column="create_time" property="createTime" jdbcType="INTEGER" />
</resultMap>
<sql id="Base_Column_List">
... ... @@ -29,7 +29,7 @@
)
values (#{id,jdbcType=INTEGER}, #{productSkn,jdbcType=INTEGER},
#{objectId,jdbcType=INTEGER},
#{pid,jdbcType=INTEGER}, #{status,jdbcType=TINYINT}, #{createTime,jdbcType=INTEGER}
#{pid,jdbcType=INTEGER}, #{status,jdbcType=INTEGER}, #{createTime,jdbcType=INTEGER}
)
</insert>
<insert id="insertSelective" parameterType="com.yoho.search.dal.model.SearchAction" timeout="20000">
... ... @@ -68,7 +68,7 @@
#{pid,jdbcType=INTEGER},
</if>
<if test="status != null">
#{status,jdbcType=TINYINT},
#{status,jdbcType=INTEGER},
</if>
<if test="createTime != null">
#{createTime,jdbcType=INTEGER},
... ... @@ -88,7 +88,7 @@
pid = #{pid,jdbcType=INTEGER},
</if>
<if test="status != null">
status = #{status,jdbcType=TINYINT},
status = #{status,jdbcType=INTEGER},
</if>
<if test="createTime != null">
create_time = #{createTime,jdbcType=INTEGER},
... ... @@ -101,7 +101,7 @@
set product_skn = #{productSkn,jdbcType=INTEGER},
object_id = #{objectId,jdbcType=INTEGER},
pid = #{pid,jdbcType=INTEGER},
status = #{status,jdbcType=TINYINT},
status = #{status,jdbcType=INTEGER},
create_time = #{createTime,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
... ...
... ... @@ -17,7 +17,7 @@
<result column="search_make" property="searchMake" jdbcType="CHAR" />
<result column="search_order_by" property="searchOrderBy"
jdbcType="INTEGER" />
<result column="status" property="status" jdbcType="TINYINT" />
<result column="status" property="status" jdbcType="INTEGER" />
</resultMap>
<sql id="Base_Column_List">
id, standard_name, standard_sort_id, sort_id, order_by,
... ... @@ -54,7 +54,7 @@
#{searchView,jdbcType=CHAR},
#{parameterMake,jdbcType=CHAR},
#{searchMake,jdbcType=CHAR}, #{searchOrderBy,jdbcType=INTEGER},
#{status,jdbcType=TINYINT}
#{status,jdbcType=INTEGER}
)
</insert>
<insert id="insertSelective" parameterType="com.yoho.search.dal.model.Standard"
... ... @@ -133,7 +133,7 @@
#{searchOrderBy,jdbcType=INTEGER},
</if>
<if test="status != null">
#{status,jdbcType=TINYINT},
#{status,jdbcType=INTEGER},
</if>
</trim>
</insert>
... ... @@ -172,7 +172,7 @@
search_order_by = #{searchOrderBy,jdbcType=INTEGER},
</if>
<if test="status != null">
status = #{status,jdbcType=TINYINT},
status = #{status,jdbcType=INTEGER},
</if>
</set>
where id = #{id,jdbcType=INTEGER}
... ... @@ -196,7 +196,7 @@
#{searchMake,jdbcType=CHAR},
search_order_by =
#{searchOrderBy,jdbcType=INTEGER},
status = #{status,jdbcType=TINYINT}
status = #{status,jdbcType=INTEGER}
where id = #{id,jdbcType=INTEGER}
</update>
<select id="count" resultType="java.lang.Integer" timeout="20000">
... ...
... ... @@ -10,8 +10,8 @@
<result column="storage_num" property="storageNum" jdbcType="INTEGER"/>
<result column="sales_num" property="salesNum" jdbcType="INTEGER"/>
<result column="frozen_num" property="frozenNum" jdbcType="INTEGER"/>
<result column="storeroom" property="storeroom" jdbcType="TINYINT"/>
<result column="status" property="status" jdbcType="TINYINT"/>
<result column="storeroom" property="storeroom" jdbcType="INTEGER"/>
<result column="status" property="status" jdbcType="INTEGER"/>
</resultMap>
<sql id="Base_Column_List">
erp_sku_id, product_id, goods_id, goods_dimension_id, storage_num, sales_num,
... ... @@ -37,8 +37,8 @@
values (#{erpSkuId,jdbcType=INTEGER}, #{productId,jdbcType=INTEGER},
#{goodsId,jdbcType=INTEGER},
#{goodsDimensionId,jdbcType=INTEGER}, #{storageNum,jdbcType=INTEGER}, #{salesNum,jdbcType=INTEGER},
#{frozenNum,jdbcType=INTEGER}, #{storeroom,jdbcType=TINYINT},
#{status,jdbcType=TINYINT}
#{frozenNum,jdbcType=INTEGER}, #{storeroom,jdbcType=INTEGER},
#{status,jdbcType=INTEGER}
)
</insert>
<insert id="insertSelective" parameterType="com.yoho.search.dal.model.Storage" timeout="20000">
... ... @@ -95,10 +95,10 @@
#{frozenNum,jdbcType=INTEGER},
</if>
<if test="storeroom != null">
#{storeroom,jdbcType=TINYINT},
#{storeroom,jdbcType=INTEGER},
</if>
<if test="status != null">
#{status,jdbcType=TINYINT},
#{status,jdbcType=INTEGER},
</if>
</trim>
</insert>
... ... @@ -124,10 +124,10 @@
frozen_num = #{frozenNum,jdbcType=INTEGER},
</if>
<if test="storeroom != null">
storeroom = #{storeroom,jdbcType=TINYINT},
storeroom = #{storeroom,jdbcType=INTEGER},
</if>
<if test="status != null">
status = #{status,jdbcType=TINYINT},
status = #{status,jdbcType=INTEGER},
</if>
</set>
where erp_sku_id = #{erpSkuId,jdbcType=INTEGER}
... ... @@ -140,8 +140,8 @@
storage_num = #{storageNum,jdbcType=INTEGER},
sales_num = #{salesNum,jdbcType=INTEGER},
frozen_num = #{frozenNum,jdbcType=INTEGER},
storeroom = #{storeroom,jdbcType=TINYINT},
status = #{status,jdbcType=TINYINT}
storeroom = #{storeroom,jdbcType=INTEGER},
status = #{status,jdbcType=INTEGER}
where erp_sku_id = #{erpSkuId,jdbcType=INTEGER}
</update>
<select id="count" resultType="java.lang.Integer" timeout="20000">
... ...