|
|
|
@ -51,15 +51,6 @@
|
|
|
|
|
,#{locked,jdbcType=INTEGER},#{tryTimes,jdbcType=BOOLEAN},#{gmtLocked,jdbcType=TIMESTAMP}
|
|
|
|
|
,#{gmtCreate,jdbcType=TIMESTAMP},#{gmtModified,jdbcType=TIMESTAMP})
|
|
|
|
|
</insert>
|
|
|
|
|
<insert id="insert" keyColumn="rsync_category_queue_id" keyProperty="rsyncCategoryQueueId" parameterType="com.ms.dal.entity.RsyncCategoryQueue" useGeneratedKeys="true">
|
|
|
|
|
insert into rsync_category_queue
|
|
|
|
|
( rsync_category_queue_id,shop_id,hostname
|
|
|
|
|
,locked,try_times,gmt_locked
|
|
|
|
|
,gmt_create,gmt_modified)
|
|
|
|
|
values (#{rsyncCategoryQueueId,jdbcType=INTEGER},#{shopId,jdbcType=INTEGER},#{hostname,jdbcType=VARCHAR}
|
|
|
|
|
,#{locked,jdbcType=INTEGER},#{tryTimes,jdbcType=BOOLEAN},#{gmtLocked,jdbcType=TIMESTAMP}
|
|
|
|
|
,#{gmtCreate,jdbcType=TIMESTAMP},#{gmtModified,jdbcType=TIMESTAMP})
|
|
|
|
|
</insert>
|
|
|
|
|
<update id="insertOrUpdate" keyColumn="rsync_category_queue_id" keyProperty="rsyncCategoryQueueId" parameterType="com.ms.dal.entity.RsyncCategoryQueue"
|
|
|
|
|
useGeneratedKeys="true">
|
|
|
|
|
insert into rsync_category_queue
|
|
|
|
|