|
@@ -49,34 +49,34 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<insert id="insertRecSaleInfo" parameterType="RecSaleInfo">
|
|
|
insert into rec_sale_info
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
- <if test="id != null">id,</if>
|
|
|
- <if test="saleName != null">sale_name,</if>
|
|
|
- <if test="salePrice != null">sale_price,</if>
|
|
|
- <if test="market != null">market,</if>
|
|
|
- <if test="storeId != null">store_id,</if>
|
|
|
- <if test="createBy != null">create_by,</if>
|
|
|
- <if test="createDate != null">create_date,</if>
|
|
|
- <if test="updateBy != null">update_by,</if>
|
|
|
- <if test="updateDate != null">update_date,</if>
|
|
|
- <if test="catalog != null">catalog,</if>
|
|
|
- <if test="images != null">images,</if>
|
|
|
- <if test="eventStartTime != null">event_start_time,</if>
|
|
|
- <if test="endTimeOfActivity != null">end_time_of_activity,</if>
|
|
|
+ <if test="info.id != null">id,</if>
|
|
|
+ <if test="info.saleName != null">sale_name,</if>
|
|
|
+ <if test="info.salePrice != null">sale_price,</if>
|
|
|
+ <if test="info.market != null">market,</if>
|
|
|
+ <if test="info.storeId != null">store_id,</if>
|
|
|
+ <if test="info.createBy != null">create_by,</if>
|
|
|
+ <if test="info.createDate != null">create_date,</if>
|
|
|
+ <if test="info.updateBy != null">update_by,</if>
|
|
|
+ <if test="info.updateDate != null">update_date,</if>
|
|
|
+ <if test="info.catalog != null">catalog,</if>
|
|
|
+ <if test="info.images != null">images,</if>
|
|
|
+ <if test="info.eventStartTime != null">event_start_time,</if>
|
|
|
+ <if test="info.endTimeOfActivity != null">end_time_of_activity,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
- <if test="id != null">#{id},</if>
|
|
|
- <if test="saleName != null">#{saleName},</if>
|
|
|
- <if test="salePrice != null">#{salePrice},</if>
|
|
|
- <if test="market != null">#{market},</if>
|
|
|
- <if test="storeId != null">#{storeId},</if>
|
|
|
- <if test="createBy != null">#{createBy},</if>
|
|
|
- <if test="createDate != null">#{createDate},</if>
|
|
|
- <if test="updateBy != null">#{updateBy},</if>
|
|
|
- <if test="updateDate != null">#{updateDate},</if>
|
|
|
- <if test="catalog != null">#{catalog},</if>
|
|
|
- <if test="images != null">#{images},</if>
|
|
|
- <if test="eventStartTime != null">#{eventStartTime},</if>
|
|
|
- <if test="endTimeOfActivity != null">#{endTimeOfActivity},</if>
|
|
|
+ <if test="info.id != null">#{info.id},</if>
|
|
|
+ <if test="info.saleName != null">#{info.saleName},</if>
|
|
|
+ <if test="info.salePrice != null">#{info.salePrice},</if>
|
|
|
+ <if test="info.market != null">#{info.market},</if>
|
|
|
+ <if test="info.storeId != null">#{info.storeId},</if>
|
|
|
+ <if test="info.createBy != null">#{info.createBy},</if>
|
|
|
+ <if test="info.createDate != null">#{info.createDate},</if>
|
|
|
+ <if test="info.updateBy != null">#{info.updateBy},</if>
|
|
|
+ <if test="info.updateDate != null">#{info.updateDate},</if>
|
|
|
+ <if test="info.catalog != null">#{info.catalog},</if>
|
|
|
+ <if test="info.images != null">#{info.images},</if>
|
|
|
+ <if test="info.eventStartTime != null">#{info.eventStartTime},</if>
|
|
|
+ <if test="info.endTimeOfActivity != null">#{info.endTimeOfActivity},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|