|
@@ -81,10 +81,10 @@
|
|
|
</delete>
|
|
</delete>
|
|
|
|
|
|
|
|
<insert id="insertLotCategoryRelation">
|
|
<insert id="insertLotCategoryRelation">
|
|
|
- INSERT INTO lot_category_relation (lot_id, category_id, del_flag)
|
|
|
|
|
|
|
+ INSERT INTO lot_category_relation (lot_id, category_id, del_flag, create_time)
|
|
|
VALUES
|
|
VALUES
|
|
|
<foreach collection="categoryIds" item="categoryId" separator=",">
|
|
<foreach collection="categoryIds" item="categoryId" separator=",">
|
|
|
- (#{lotId}, #{categoryId}, 0)
|
|
|
|
|
|
|
+ (#{lotId}, #{categoryId}, 0, CURRENT_TIMESTAMP)
|
|
|
</foreach>
|
|
</foreach>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|