id, model_title, `method`, task, type_id, num, `description`, json_result, `time`, creator,
remark, `status`
delete from bm_num_logs
where id = #{id,jdbcType=INTEGER}
insert into bm_num_logs (model_title, `method`, task_id, type_id,
description, json_result, create_time, creator, remark,
pre_num, input_num, out_num, audit_num, manage_type,
type_name, type_model_name, pre_store_num
)
values (#{modelTitle,jdbcType=VARCHAR}, #{method,jdbcType=VARCHAR}, #{taskId,jdbcType=VARCHAR}, #{typeId,jdbcType=INTEGER},
#{description,jdbcType=VARCHAR}, #{jsonResult,jdbcType=VARCHAR}, now(), #{creator,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR},
#{preNum,jdbcType=VARCHAR}, #{inputNum,jdbcType=VARCHAR}, #{outNum,jdbcType=VARCHAR}, #{auditNum,jdbcType=VARCHAR}, #{manageType,jdbcType=VARCHAR},
#{typeName,jdbcType=VARCHAR}, #{typeModelName,jdbcType=VARCHAR}, #{preStoreNum,jdbcType=VARCHAR}
)
insert into bm_num_logs
model_title,
`method`,
task,
type_id,
num,
`description`,
json_result,
`time`,
creator,
remark,
#{modelTitle,jdbcType=VARCHAR},
#{method,jdbcType=VARCHAR},
#{task,jdbcType=VARCHAR},
#{typeId,jdbcType=INTEGER},
#{num,jdbcType=VARCHAR},
#{description,jdbcType=VARCHAR},
#{jsonResult,jdbcType=VARCHAR},
#{time,jdbcType=TIMESTAMP},
#{creator,jdbcType=VARCHAR},
#{remark,jdbcType=VARCHAR},
update bm_num_logs
model_title = #{modelTitle,jdbcType=VARCHAR},
`method` = #{method,jdbcType=VARCHAR},
task = #{task,jdbcType=VARCHAR},
type_id = #{typeId,jdbcType=INTEGER},
description = #{description,jdbcType=VARCHAR},
json_result = #{jsonResult,jdbcType=VARCHAR},
`time` = #{time,jdbcType=TIMESTAMP},
creator = #{creator,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR},
where id = #{id,jdbcType=INTEGER}
update bm_num_logs
set model_title = #{modelTitle,jdbcType=VARCHAR},
`method` = #{method,jdbcType=VARCHAR},
task = #{task,jdbcType=VARCHAR},
type_id = #{typeId,jdbcType=INTEGER},
description = #{description,jdbcType=VARCHAR},
json_result = #{jsonResult,jdbcType=VARCHAR},
`time` = #{time,jdbcType=TIMESTAMP},
creator = #{creator,jdbcType=VARCHAR},
remark = #{remark,jdbcType=VARCHAR}
where id = #{id,jdbcType=INTEGER}