record_id, from_accid, to_obj_type, msg_type, to_accids, to_erban_nos, title, web_url, pic_url, skip_type, skip_uri, msg_desc, admin_id, crate_time,msg_id,status SELECT LAST_INSERT_ID() insert into msg_push_record (from_accid, to_obj_type, msg_type, to_accids, to_erban_nos, title, web_url, pic_url, skip_type, skip_uri, msg_desc, admin_id, crate_time,msg_id,status) values (#{fromAccid,jdbcType=BIGINT}, #{toObjType,jdbcType=TINYINT}, #{msgType,jdbcType=TINYINT}, #{toAccids,jdbcType=VARCHAR}, #{toErbanNos,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{webUrl,jdbcType=VARCHAR}, #{picUrl,jdbcType=VARCHAR}, #{skipType,jdbcType=TINYINT}, #{skipUri,jdbcType=VARCHAR}, #{msgDesc,jdbcType=VARCHAR}, #{adminId,jdbcType=VARCHAR}, #{crateTime,jdbcType=TIMESTAMP},#{msgId,jdbcType=VARCHAR},#{status,jdbcType=TINYINT}) SELECT LAST_INSERT_ID() insert into msg_push_record from_accid, to_obj_type, msg_type, to_accids, to_erban_nos, title, web_url, pic_url, skip_type, skip_uri, msg_desc, admin_id, crate_time, status, msg_id, #{fromAccid,jdbcType=BIGINT}, #{toObjType,jdbcType=TINYINT}, #{msgType,jdbcType=TINYINT}, #{toAccids,jdbcType=VARCHAR}, #{toErbanNos,jdbcType=VARCHAR}, #{title,jdbcType=VARCHAR}, #{webUrl,jdbcType=VARCHAR}, #{picUrl,jdbcType=VARCHAR}, #{skipType,jdbcType=TINYINT}, #{skipUri,jdbcType=VARCHAR}, #{msgDesc,jdbcType=VARCHAR}, #{adminId,jdbcType=VARCHAR}, #{crateTime,jdbcType=TIMESTAMP}, #{status,jdbcType=VARCHAR}, #{msgId,jdbcType=TINYINT}, update msg_push_record from_accid = #{fromAccid,jdbcType=BIGINT}, to_obj_type = #{toObjType,jdbcType=TINYINT}, msg_type = #{msgType,jdbcType=TINYINT}, to_accids = #{toAccids,jdbcType=VARCHAR}, to_erban_nos = #{toErbanNos,jdbcType=VARCHAR}, title = #{title,jdbcType=VARCHAR}, web_url = #{webUrl,jdbcType=VARCHAR}, pic_url = #{picUrl,jdbcType=VARCHAR}, skip_type = #{skipType,jdbcType=TINYINT}, skip_uri = #{skipUri,jdbcType=VARCHAR}, msg_desc = #{msgDesc,jdbcType=VARCHAR}, admin_id = #{adminId,jdbcType=VARCHAR}, crate_time = #{crateTime,jdbcType=TIMESTAMP}, msg_id = #{msgId,jdbcType=VARCHAR}, status = #{status,jdbcType=TINYINT}, where record_id = #{recordId,jdbcType=INTEGER}