select id,
code,
name,
note,
status,
type,
json_str,
api_url,
thumb,
create_by,
create_time,
update_by,
update_time,
del_flag,
api_method,
api_code,
template,
view_count,
css_str,
js_str,
tenant_id,
print_type,
is_start
from jimu_report
insert into jimu_report
id,
code,
name,
note,
status,
type,
json_str,
api_url,
thumb,
create_by,
create_time,
update_by,
update_time,
del_flag,
api_method,
api_code,
template,
view_count,
css_str,
js_str,
tenant_id,
print_type,
is_start,
#{id},
#{code},
#{name},
#{note},
#{status},
#{type},
#{jsonStr},
#{apiUrl},
#{thumb},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{delFlag},
#{apiMethod},
#{apiCode},
#{template},
#{viewCount},
#{cssStr},
#{jsStr},
#{tenantId},
#{printType},
#{isStart},
update jimu_report
code =
#{code},
name =
#{name},
note =
#{note},
status =
#{status},
type =
#{type},
json_str =
#{jsonStr},
api_url =
#{apiUrl},
thumb =
#{thumb},
create_by =
#{createBy},
create_time =
#{createTime},
update_by =
#{updateBy},
update_time =
#{updateTime},
del_flag =
#{delFlag},
api_method =
#{apiMethod},
api_code =
#{apiCode},
template =
#{template},
view_count =
#{viewCount},
css_str =
#{cssStr},
js_str =
#{jsStr},
tenant_id =
#{tenantId},
print_type =
#{printType},
is_start =
#{isStart},
where id = #{id}
delete
from jimu_report
where id = #{id}
delete from jimu_report where id in
#{id}