id, ds_id, catalog, name, brief, remarks, owner_id, update_user_id, create_time, update_time, status, query_cnt,
query_user_cnt, last_query_time
insert into bi_table
ds_id,
catalog,
name,
brief,
remarks,
owner_id,
update_user_id,
status,
query_cnt,
query_user_cnt,
last_query_time,
#{dsId,jdbcType=INTEGER},
#{catalog,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{brief,jdbcType=VARCHAR},
#{remarks,jdbcType=VARCHAR},
#{ownerId,jdbcType=INTEGER},
#{updateUserId,jdbcType=INTEGER},
#{status,jdbcType=INTEGER},
#{queryCnt,jdbcType=INTEGER},
#{queryUserCnt,jdbcType=INTEGER},
#{lastQueryTime,jdbcType=TIMESTAMP},
update bi_table
ds_id = #{dsId,jdbcType=INTEGER},
catalog = #{catalog,jdbcType=VARCHAR},
name = #{name,jdbcType=VARCHAR},
brief = #{brief,jdbcType=VARCHAR},
remarks = #{remarks,jdbcType=VARCHAR},
owner_id = #{ownerId,jdbcType=INTEGER},
update_user_id = #{updateUserId,jdbcType=INTEGER},
status = #{status,jdbcType=INTEGER},
query_cnt = #{queryCnt,jdbcType=INTEGER},
query_user_cnt = #{queryUserCnt,jdbcType=INTEGER},
last_query_time = #{lastQueryTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=INTEGER}
update bi_table set status = 1
where id in
#{item,jdbcType=BIGINT}
update bi_table
when id=#{table.id} then #{table.queryCnt}
when id=#{table.id} then #{table.queryUserCnt}
when id=#{table.id} then #{table.lastQueryTime}
where id in
#{table.id}