and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} and ${criterion.condition} and ${criterion.condition} #{criterion.value} and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} and ${criterion.condition} #{listItem} id, inspect_record_no, inspect_type, inspect_eqp_no, inspect_eqp_name, pl_no, pl_name, park_area_code, park_area_name, berth_no, eqp_no, charger_code, charger_name, inspect_code, inspect_name, handler_code, handler_name, trace_id, accept_time, inspect_img_url1, inspect_img_url2, inspect_img_url3, inspect_time, inspect_level, inspect_address, inspect_extra_remark, remark, deal_state, data_state, create_time, create_op, modify_time, modify_op, org_id delete from tp_p_inspect_record where id = #{id,jdbcType=BIGINT} delete from tp_p_inspect_record SELECT LAST_INSERT_ID() insert into tp_p_inspect_record (inspect_record_no, inspect_type, inspect_eqp_no, inspect_eqp_name, pl_no, pl_name, park_area_code, park_area_name, berth_no, eqp_no, charger_code, charger_name, inspect_code, inspect_name, handler_code, handler_name, trace_id, accept_time, inspect_img_url1, inspect_img_url2, inspect_img_url3, inspect_time, inspect_level, inspect_address, inspect_extra_remark, remark, deal_state, data_state, create_time, create_op, modify_time, modify_op, org_id ) values (#{inspectRecordNo,jdbcType=VARCHAR}, #{inspectType,jdbcType=INTEGER}, #{inspectEqpNo,jdbcType=VARCHAR}, #{inspectEqpName,jdbcType=VARCHAR}, #{plNo,jdbcType=VARCHAR}, #{plName,jdbcType=VARCHAR}, #{parkAreaCode,jdbcType=VARCHAR}, #{parkAreaName,jdbcType=VARCHAR}, #{berthNo,jdbcType=VARCHAR}, #{eqpNo,jdbcType=VARCHAR}, #{chargerCode,jdbcType=VARCHAR}, #{chargerName,jdbcType=VARCHAR}, #{inspectCode,jdbcType=VARCHAR}, #{inspectName,jdbcType=VARCHAR}, #{handlerCode,jdbcType=VARCHAR}, #{handlerName,jdbcType=VARCHAR}, #{traceId,jdbcType=BIGINT}, #{acceptTime,jdbcType=TIMESTAMP}, #{inspectImgUrl1,jdbcType=VARCHAR}, #{inspectImgUrl2,jdbcType=VARCHAR}, #{inspectImgUrl3,jdbcType=VARCHAR}, #{inspectTime,jdbcType=TIMESTAMP}, #{inspectLevel,jdbcType=INTEGER}, #{inspectAddress,jdbcType=VARCHAR}, #{inspectExtraRemark,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{dealState,jdbcType=INTEGER}, #{dataState,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createOp,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyOp,jdbcType=VARCHAR}, #{orgId,jdbcType=BIGINT} ) SELECT LAST_INSERT_ID() insert into tp_p_inspect_record inspect_record_no, inspect_type, inspect_eqp_no, inspect_eqp_name, pl_no, pl_name, park_area_code, park_area_name, berth_no, eqp_no, charger_code, charger_name, inspect_code, inspect_name, handler_code, handler_name, trace_id, accept_time, inspect_img_url1, inspect_img_url2, inspect_img_url3, inspect_time, inspect_level, inspect_address, inspect_extra_remark, remark, deal_state, data_state, create_time, create_op, modify_time, modify_op, org_id, #{inspectRecordNo,jdbcType=VARCHAR}, #{inspectType,jdbcType=INTEGER}, #{inspectEqpNo,jdbcType=VARCHAR}, #{inspectEqpName,jdbcType=VARCHAR}, #{plNo,jdbcType=VARCHAR}, #{plName,jdbcType=VARCHAR}, #{parkAreaCode,jdbcType=VARCHAR}, #{parkAreaName,jdbcType=VARCHAR}, #{berthNo,jdbcType=VARCHAR}, #{eqpNo,jdbcType=VARCHAR}, #{chargerCode,jdbcType=VARCHAR}, #{chargerName,jdbcType=VARCHAR}, #{inspectCode,jdbcType=VARCHAR}, #{inspectName,jdbcType=VARCHAR}, #{handlerCode,jdbcType=VARCHAR}, #{handlerName,jdbcType=VARCHAR}, #{traceId,jdbcType=BIGINT}, #{acceptTime,jdbcType=TIMESTAMP}, #{inspectImgUrl1,jdbcType=VARCHAR}, #{inspectImgUrl2,jdbcType=VARCHAR}, #{inspectImgUrl3,jdbcType=VARCHAR}, #{inspectTime,jdbcType=TIMESTAMP}, #{inspectLevel,jdbcType=INTEGER}, #{inspectAddress,jdbcType=VARCHAR}, #{inspectExtraRemark,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{dealState,jdbcType=INTEGER}, #{dataState,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createOp,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyOp,jdbcType=VARCHAR}, #{orgId,jdbcType=BIGINT}, update tp_p_inspect_record id = #{record.id,jdbcType=BIGINT}, inspect_record_no = #{record.inspectRecordNo,jdbcType=VARCHAR}, inspect_type = #{record.inspectType,jdbcType=INTEGER}, inspect_eqp_no = #{record.inspectEqpNo,jdbcType=VARCHAR}, inspect_eqp_name = #{record.inspectEqpName,jdbcType=VARCHAR}, pl_no = #{record.plNo,jdbcType=VARCHAR}, pl_name = #{record.plName,jdbcType=VARCHAR}, park_area_code = #{record.parkAreaCode,jdbcType=VARCHAR}, park_area_name = #{record.parkAreaName,jdbcType=VARCHAR}, berth_no = #{record.berthNo,jdbcType=VARCHAR}, eqp_no = #{record.eqpNo,jdbcType=VARCHAR}, charger_code = #{record.chargerCode,jdbcType=VARCHAR}, charger_name = #{record.chargerName,jdbcType=VARCHAR}, inspect_code = #{record.inspectCode,jdbcType=VARCHAR}, inspect_name = #{record.inspectName,jdbcType=VARCHAR}, handler_code = #{record.handlerCode,jdbcType=VARCHAR}, handler_name = #{record.handlerName,jdbcType=VARCHAR}, trace_id = #{record.traceId,jdbcType=BIGINT}, accept_time = #{record.acceptTime,jdbcType=TIMESTAMP}, inspect_img_url1 = #{record.inspectImgUrl1,jdbcType=VARCHAR}, inspect_img_url2 = #{record.inspectImgUrl2,jdbcType=VARCHAR}, inspect_img_url3 = #{record.inspectImgUrl3,jdbcType=VARCHAR}, inspect_time = #{record.inspectTime,jdbcType=TIMESTAMP}, inspect_level = #{record.inspectLevel,jdbcType=INTEGER}, inspect_address = #{record.inspectAddress,jdbcType=VARCHAR}, inspect_extra_remark = #{record.inspectExtraRemark,jdbcType=VARCHAR}, remark = #{record.remark,jdbcType=VARCHAR}, deal_state = #{record.dealState,jdbcType=INTEGER}, data_state = #{record.dataState,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, create_op = #{record.createOp,jdbcType=VARCHAR}, modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, modify_op = #{record.modifyOp,jdbcType=VARCHAR}, org_id = #{record.orgId,jdbcType=BIGINT}, update tp_p_inspect_record set id = #{record.id,jdbcType=BIGINT}, inspect_record_no = #{record.inspectRecordNo,jdbcType=VARCHAR}, inspect_type = #{record.inspectType,jdbcType=INTEGER}, inspect_eqp_no = #{record.inspectEqpNo,jdbcType=VARCHAR}, inspect_eqp_name = #{record.inspectEqpName,jdbcType=VARCHAR}, pl_no = #{record.plNo,jdbcType=VARCHAR}, pl_name = #{record.plName,jdbcType=VARCHAR}, park_area_code = #{record.parkAreaCode,jdbcType=VARCHAR}, park_area_name = #{record.parkAreaName,jdbcType=VARCHAR}, berth_no = #{record.berthNo,jdbcType=VARCHAR}, eqp_no = #{record.eqpNo,jdbcType=VARCHAR}, charger_code = #{record.chargerCode,jdbcType=VARCHAR}, charger_name = #{record.chargerName,jdbcType=VARCHAR}, inspect_code = #{record.inspectCode,jdbcType=VARCHAR}, inspect_name = #{record.inspectName,jdbcType=VARCHAR}, handler_code = #{record.handlerCode,jdbcType=VARCHAR}, handler_name = #{record.handlerName,jdbcType=VARCHAR}, trace_id = #{record.traceId,jdbcType=BIGINT}, accept_time = #{record.acceptTime,jdbcType=TIMESTAMP}, inspect_img_url1 = #{record.inspectImgUrl1,jdbcType=VARCHAR}, inspect_img_url2 = #{record.inspectImgUrl2,jdbcType=VARCHAR}, inspect_img_url3 = #{record.inspectImgUrl3,jdbcType=VARCHAR}, inspect_time = #{record.inspectTime,jdbcType=TIMESTAMP}, inspect_level = #{record.inspectLevel,jdbcType=INTEGER}, inspect_address = #{record.inspectAddress,jdbcType=VARCHAR}, inspect_extra_remark = #{record.inspectExtraRemark,jdbcType=VARCHAR}, remark = #{record.remark,jdbcType=VARCHAR}, deal_state = #{record.dealState,jdbcType=INTEGER}, data_state = #{record.dataState,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, create_op = #{record.createOp,jdbcType=VARCHAR}, modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, modify_op = #{record.modifyOp,jdbcType=VARCHAR}, org_id = #{record.orgId,jdbcType=BIGINT} update tp_p_inspect_record inspect_record_no = #{inspectRecordNo,jdbcType=VARCHAR}, inspect_type = #{inspectType,jdbcType=INTEGER}, inspect_eqp_no = #{inspectEqpNo,jdbcType=VARCHAR}, inspect_eqp_name = #{inspectEqpName,jdbcType=VARCHAR}, pl_no = #{plNo,jdbcType=VARCHAR}, pl_name = #{plName,jdbcType=VARCHAR}, park_area_code = #{parkAreaCode,jdbcType=VARCHAR}, park_area_name = #{parkAreaName,jdbcType=VARCHAR}, berth_no = #{berthNo,jdbcType=VARCHAR}, eqp_no = #{eqpNo,jdbcType=VARCHAR}, charger_code = #{chargerCode,jdbcType=VARCHAR}, charger_name = #{chargerName,jdbcType=VARCHAR}, inspect_code = #{inspectCode,jdbcType=VARCHAR}, inspect_name = #{inspectName,jdbcType=VARCHAR}, handler_code = #{handlerCode,jdbcType=VARCHAR}, handler_name = #{handlerName,jdbcType=VARCHAR}, trace_id = #{traceId,jdbcType=BIGINT}, accept_time = #{acceptTime,jdbcType=TIMESTAMP}, inspect_img_url1 = #{inspectImgUrl1,jdbcType=VARCHAR}, inspect_img_url2 = #{inspectImgUrl2,jdbcType=VARCHAR}, inspect_img_url3 = #{inspectImgUrl3,jdbcType=VARCHAR}, inspect_time = #{inspectTime,jdbcType=TIMESTAMP}, inspect_level = #{inspectLevel,jdbcType=INTEGER}, inspect_address = #{inspectAddress,jdbcType=VARCHAR}, inspect_extra_remark = #{inspectExtraRemark,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, deal_state = #{dealState,jdbcType=INTEGER}, data_state = #{dataState,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_op = #{createOp,jdbcType=VARCHAR}, modify_time = #{modifyTime,jdbcType=TIMESTAMP}, modify_op = #{modifyOp,jdbcType=VARCHAR}, org_id = #{orgId,jdbcType=BIGINT}, where id = #{id,jdbcType=BIGINT} update tp_p_inspect_record set inspect_record_no = #{inspectRecordNo,jdbcType=VARCHAR}, inspect_type = #{inspectType,jdbcType=INTEGER}, inspect_eqp_no = #{inspectEqpNo,jdbcType=VARCHAR}, inspect_eqp_name = #{inspectEqpName,jdbcType=VARCHAR}, pl_no = #{plNo,jdbcType=VARCHAR}, pl_name = #{plName,jdbcType=VARCHAR}, park_area_code = #{parkAreaCode,jdbcType=VARCHAR}, park_area_name = #{parkAreaName,jdbcType=VARCHAR}, berth_no = #{berthNo,jdbcType=VARCHAR}, eqp_no = #{eqpNo,jdbcType=VARCHAR}, charger_code = #{chargerCode,jdbcType=VARCHAR}, charger_name = #{chargerName,jdbcType=VARCHAR}, inspect_code = #{inspectCode,jdbcType=VARCHAR}, inspect_name = #{inspectName,jdbcType=VARCHAR}, handler_code = #{handlerCode,jdbcType=VARCHAR}, handler_name = #{handlerName,jdbcType=VARCHAR}, trace_id = #{traceId,jdbcType=BIGINT}, accept_time = #{acceptTime,jdbcType=TIMESTAMP}, inspect_img_url1 = #{inspectImgUrl1,jdbcType=VARCHAR}, inspect_img_url2 = #{inspectImgUrl2,jdbcType=VARCHAR}, inspect_img_url3 = #{inspectImgUrl3,jdbcType=VARCHAR}, inspect_time = #{inspectTime,jdbcType=TIMESTAMP}, inspect_level = #{inspectLevel,jdbcType=INTEGER}, inspect_address = #{inspectAddress,jdbcType=VARCHAR}, inspect_extra_remark = #{inspectExtraRemark,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, deal_state = #{dealState,jdbcType=INTEGER}, data_state = #{dataState,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_op = #{createOp,jdbcType=VARCHAR}, modify_time = #{modifyTime,jdbcType=TIMESTAMP}, modify_op = #{modifyOp,jdbcType=VARCHAR}, org_id = #{orgId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}