id, model_title, `method`, task, type_id, num, `description`, json_result, `time`, creator, remark, `status` delete from bm_storage_log where id = #{id,jdbcType=INTEGER} insert into bm_storage_log (model_title, `method`, task_id, type_id, create_time, creator, remark, out_num, manage_type, type_name, type_model_name, pre_store_num, in_num, back_num, pass_num, maintenance_num, agreement_id, scrap_num, `status`, post_store_num, result_code, result_msg, json_result ) values ( #{item.modelTitle,jdbcType=VARCHAR}, #{item.method,jdbcType=VARCHAR}, #{item.taskId,jdbcType=VARCHAR}, #{item.typeId,jdbcType=INTEGER}, now(), #{item.creator,jdbcType=VARCHAR}, #{item.remark,jdbcType=VARCHAR}, #{item.outNum,jdbcType=INTEGER}, #{item.manageType,jdbcType=VARCHAR}, #{item.typeName,jdbcType=VARCHAR}, #{item.typeModelName,jdbcType=VARCHAR}, #{item.preStoreNum,jdbcType=INTEGER}, #{item.inNum,jdbcType=INTEGER}, #{item.backNum,jdbcType=INTEGER}, #{item.passNum,jdbcType=INTEGER}, #{item.maintenanceNum,jdbcType=INTEGER}, #{item.agreementId,jdbcType=INTEGER}, #{item.scrapNum,jdbcType=INTEGER}, #{item.status,jdbcType=VARCHAR}, #{item.postStoreNum,jdbcType=INTEGER}, #{item.resultCode,jdbcType=INTEGER}, #{item.resultMsg,jdbcType=VARCHAR}, #{item.jsonResult,jdbcType=VARCHAR} ) insert into bm_storage_log 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_storage_log 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_storage_log 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}