and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id
, gh_id, open_id, timestamp, msg_type, video_id, create_time
delete
from push_message_callback
where id = #{id,jdbcType=BIGINT}
delete from push_message_callback
SELECT LAST_INSERT_ID()
insert into push_message_callback (gh_id, open_id, timestamp,
msg_type, video_id, create_time
)
values (#{ghId,jdbcType=VARCHAR}, #{openId,jdbcType=VARCHAR}, #{timestamp,jdbcType=BIGINT},
#{msgType,jdbcType=INTEGER}, #{videoId,jdbcType=BIGINT}, #{createTime,jdbcType=TIMESTAMP}
)
SELECT LAST_INSERT_ID()
insert into push_message_callback
gh_id,
open_id,
timestamp,
msg_type,
video_id,
create_time,
#{ghId,jdbcType=VARCHAR},
#{openId,jdbcType=VARCHAR},
#{timestamp,jdbcType=BIGINT},
#{msgType,jdbcType=INTEGER},
#{videoId,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
update push_message_callback
id = #{row.id,jdbcType=BIGINT},
gh_id = #{row.ghId,jdbcType=VARCHAR},
open_id = #{row.openId,jdbcType=VARCHAR},
timestamp = #{row.timestamp,jdbcType=BIGINT},
msg_type = #{row.msgType,jdbcType=INTEGER},
video_id = #{row.videoId,jdbcType=BIGINT},
create_time = #{row.createTime,jdbcType=TIMESTAMP},
update push_message_callback
set id = #{row.id,jdbcType=BIGINT},
gh_id = #{row.ghId,jdbcType=VARCHAR},
open_id = #{row.openId,jdbcType=VARCHAR},
timestamp = #{row.timestamp,jdbcType=BIGINT},
msg_type = #{row.msgType,jdbcType=INTEGER},
video_id = #{row.videoId,jdbcType=BIGINT},
create_time = #{row.createTime,jdbcType=TIMESTAMP}
update push_message_callback
gh_id = #{ghId,jdbcType=VARCHAR},
open_id = #{openId,jdbcType=VARCHAR},
timestamp = #{timestamp,jdbcType=BIGINT},
msg_type = #{msgType,jdbcType=INTEGER},
video_id = #{videoId,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update push_message_callback
set gh_id = #{ghId,jdbcType=VARCHAR},
open_id = #{openId,jdbcType=VARCHAR},
timestamp = #{timestamp,jdbcType=BIGINT},
msg_type = #{msgType,jdbcType=INTEGER},
video_id = #{videoId,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}
insert into push_message_callback
(
gh_id,
open_id,
timestamp,
msg_type,
video_id,
create_time
)
values
(
#{item.ghId,jdbcType=VARCHAR},
#{item.openId,jdbcType=VARCHAR},
#{item.timestamp,jdbcType=BIGINT},
#{item.msgType,jdbcType=INTEGER},
#{item.videoId,jdbcType=BIGINT},
#{item.createTime,jdbcType=TIMESTAMP}
)