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, inspection_log_id, pl_no, pl_name, input_time, img_before_path1, img_before_path2, img_before_path3, img_before_path4, img_before_path5, img_after_path1, img_after_path2, img_after_path3, img_after_path4, img_after_path5, complaint_name, remark, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, org_id delete from inspection_log where id = #{id,jdbcType=BIGINT} delete from inspection_log SELECT LAST_INSERT_ID() insert into inspection_log (inspection_log_id, pl_no, pl_name, input_time, img_before_path1, img_before_path2, img_before_path3, img_before_path4, img_before_path5, img_after_path1, img_after_path2, img_after_path3, img_after_path4, img_after_path5, complaint_name, remark, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, org_id ) values (#{inspectionLogId,jdbcType=VARCHAR}, #{plNo,jdbcType=VARCHAR}, #{plName,jdbcType=VARCHAR}, #{inputTime,jdbcType=TIMESTAMP}, #{imgBeforePath1,jdbcType=VARCHAR}, #{imgBeforePath2,jdbcType=VARCHAR}, #{imgBeforePath3,jdbcType=VARCHAR}, #{imgBeforePath4,jdbcType=VARCHAR}, #{imgBeforePath5,jdbcType=VARCHAR}, #{imgAfterPath1,jdbcType=VARCHAR}, #{imgAfterPath2,jdbcType=VARCHAR}, #{imgAfterPath3,jdbcType=VARCHAR}, #{imgAfterPath4,jdbcType=VARCHAR}, #{imgAfterPath5,jdbcType=VARCHAR}, #{complaintName,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpId,jdbcType=VARCHAR}, #{modfiyEmpName,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{orgId,jdbcType=BIGINT} ) SELECT LAST_INSERT_ID() insert into inspection_log inspection_log_id, pl_no, pl_name, input_time, img_before_path1, img_before_path2, img_before_path3, img_before_path4, img_before_path5, img_after_path1, img_after_path2, img_after_path3, img_after_path4, img_after_path5, complaint_name, remark, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, org_id, #{inspectionLogId,jdbcType=VARCHAR}, #{plNo,jdbcType=VARCHAR}, #{plName,jdbcType=VARCHAR}, #{inputTime,jdbcType=TIMESTAMP}, #{imgBeforePath1,jdbcType=VARCHAR}, #{imgBeforePath2,jdbcType=VARCHAR}, #{imgBeforePath3,jdbcType=VARCHAR}, #{imgBeforePath4,jdbcType=VARCHAR}, #{imgBeforePath5,jdbcType=VARCHAR}, #{imgAfterPath1,jdbcType=VARCHAR}, #{imgAfterPath2,jdbcType=VARCHAR}, #{imgAfterPath3,jdbcType=VARCHAR}, #{imgAfterPath4,jdbcType=VARCHAR}, #{imgAfterPath5,jdbcType=VARCHAR}, #{complaintName,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpId,jdbcType=VARCHAR}, #{modfiyEmpName,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{orgId,jdbcType=BIGINT}, update inspection_log id = #{record.id,jdbcType=BIGINT}, inspection_log_id = #{record.inspectionLogId,jdbcType=VARCHAR}, pl_no = #{record.plNo,jdbcType=VARCHAR}, pl_name = #{record.plName,jdbcType=VARCHAR}, input_time = #{record.inputTime,jdbcType=TIMESTAMP}, img_before_path1 = #{record.imgBeforePath1,jdbcType=VARCHAR}, img_before_path2 = #{record.imgBeforePath2,jdbcType=VARCHAR}, img_before_path3 = #{record.imgBeforePath3,jdbcType=VARCHAR}, img_before_path4 = #{record.imgBeforePath4,jdbcType=VARCHAR}, img_before_path5 = #{record.imgBeforePath5,jdbcType=VARCHAR}, img_after_path1 = #{record.imgAfterPath1,jdbcType=VARCHAR}, img_after_path2 = #{record.imgAfterPath2,jdbcType=VARCHAR}, img_after_path3 = #{record.imgAfterPath3,jdbcType=VARCHAR}, img_after_path4 = #{record.imgAfterPath4,jdbcType=VARCHAR}, img_after_path5 = #{record.imgAfterPath5,jdbcType=VARCHAR}, complaint_name = #{record.complaintName,jdbcType=VARCHAR}, remark = #{record.remark,jdbcType=VARCHAR}, data_state = #{record.dataState,jdbcType=INTEGER}, create_emp_id = #{record.createEmpId,jdbcType=VARCHAR}, create_emp_name = #{record.createEmpName,jdbcType=VARCHAR}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, modfiy_emp_id = #{record.modfiyEmpId,jdbcType=VARCHAR}, modfiy_emp_name = #{record.modfiyEmpName,jdbcType=VARCHAR}, modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP}, org_id = #{record.orgId,jdbcType=BIGINT}, update inspection_log set id = #{record.id,jdbcType=BIGINT}, inspection_log_id = #{record.inspectionLogId,jdbcType=VARCHAR}, pl_no = #{record.plNo,jdbcType=VARCHAR}, pl_name = #{record.plName,jdbcType=VARCHAR}, input_time = #{record.inputTime,jdbcType=TIMESTAMP}, img_before_path1 = #{record.imgBeforePath1,jdbcType=VARCHAR}, img_before_path2 = #{record.imgBeforePath2,jdbcType=VARCHAR}, img_before_path3 = #{record.imgBeforePath3,jdbcType=VARCHAR}, img_before_path4 = #{record.imgBeforePath4,jdbcType=VARCHAR}, img_before_path5 = #{record.imgBeforePath5,jdbcType=VARCHAR}, img_after_path1 = #{record.imgAfterPath1,jdbcType=VARCHAR}, img_after_path2 = #{record.imgAfterPath2,jdbcType=VARCHAR}, img_after_path3 = #{record.imgAfterPath3,jdbcType=VARCHAR}, img_after_path4 = #{record.imgAfterPath4,jdbcType=VARCHAR}, img_after_path5 = #{record.imgAfterPath5,jdbcType=VARCHAR}, complaint_name = #{record.complaintName,jdbcType=VARCHAR}, remark = #{record.remark,jdbcType=VARCHAR}, data_state = #{record.dataState,jdbcType=INTEGER}, create_emp_id = #{record.createEmpId,jdbcType=VARCHAR}, create_emp_name = #{record.createEmpName,jdbcType=VARCHAR}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, modfiy_emp_id = #{record.modfiyEmpId,jdbcType=VARCHAR}, modfiy_emp_name = #{record.modfiyEmpName,jdbcType=VARCHAR}, modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP}, org_id = #{record.orgId,jdbcType=BIGINT} update inspection_log inspection_log_id = #{inspectionLogId,jdbcType=VARCHAR}, pl_no = #{plNo,jdbcType=VARCHAR}, pl_name = #{plName,jdbcType=VARCHAR}, input_time = #{inputTime,jdbcType=TIMESTAMP}, img_before_path1 = #{imgBeforePath1,jdbcType=VARCHAR}, img_before_path2 = #{imgBeforePath2,jdbcType=VARCHAR}, img_before_path3 = #{imgBeforePath3,jdbcType=VARCHAR}, img_before_path4 = #{imgBeforePath4,jdbcType=VARCHAR}, img_before_path5 = #{imgBeforePath5,jdbcType=VARCHAR}, img_after_path1 = #{imgAfterPath1,jdbcType=VARCHAR}, img_after_path2 = #{imgAfterPath2,jdbcType=VARCHAR}, img_after_path3 = #{imgAfterPath3,jdbcType=VARCHAR}, img_after_path4 = #{imgAfterPath4,jdbcType=VARCHAR}, img_after_path5 = #{imgAfterPath5,jdbcType=VARCHAR}, complaint_name = #{complaintName,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, data_state = #{dataState,jdbcType=INTEGER}, create_emp_id = #{createEmpId,jdbcType=VARCHAR}, create_emp_name = #{createEmpName,jdbcType=VARCHAR}, create_date = #{createDate,jdbcType=TIMESTAMP}, modfiy_emp_id = #{modfiyEmpId,jdbcType=VARCHAR}, modfiy_emp_name = #{modfiyEmpName,jdbcType=VARCHAR}, modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP}, org_id = #{orgId,jdbcType=BIGINT}, where id = #{id,jdbcType=BIGINT} update inspection_log set inspection_log_id = #{inspectionLogId,jdbcType=VARCHAR}, pl_no = #{plNo,jdbcType=VARCHAR}, pl_name = #{plName,jdbcType=VARCHAR}, input_time = #{inputTime,jdbcType=TIMESTAMP}, img_before_path1 = #{imgBeforePath1,jdbcType=VARCHAR}, img_before_path2 = #{imgBeforePath2,jdbcType=VARCHAR}, img_before_path3 = #{imgBeforePath3,jdbcType=VARCHAR}, img_before_path4 = #{imgBeforePath4,jdbcType=VARCHAR}, img_before_path5 = #{imgBeforePath5,jdbcType=VARCHAR}, img_after_path1 = #{imgAfterPath1,jdbcType=VARCHAR}, img_after_path2 = #{imgAfterPath2,jdbcType=VARCHAR}, img_after_path3 = #{imgAfterPath3,jdbcType=VARCHAR}, img_after_path4 = #{imgAfterPath4,jdbcType=VARCHAR}, img_after_path5 = #{imgAfterPath5,jdbcType=VARCHAR}, complaint_name = #{complaintName,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, data_state = #{dataState,jdbcType=INTEGER}, create_emp_id = #{createEmpId,jdbcType=VARCHAR}, create_emp_name = #{createEmpName,jdbcType=VARCHAR}, create_date = #{createDate,jdbcType=TIMESTAMP}, modfiy_emp_id = #{modfiyEmpId,jdbcType=VARCHAR}, modfiy_emp_name = #{modfiyEmpName,jdbcType=VARCHAR}, modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP}, org_id = #{orgId,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}