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, pl_no, park_area_code, berth_no, car_no, order_id, is_occupy, road_position, direction, park_type, berth_address, remark, data_state, create_time, car_status, create_op, modify_time, modify_op, opt_flg, pda_in_time, eqp_in_time, eqp_out_time, pda_out_time delete from tp_p_berths where id = #{id,jdbcType=BIGINT} delete from tp_p_berths SELECT LAST_INSERT_ID() insert into tp_p_berths (pl_no, park_area_code, berth_no, car_no, order_id, is_occupy, road_position, direction, park_type, berth_address, remark, data_state, create_time, car_status, create_op, modify_time, modify_op, opt_flg, pda_in_time, eqp_in_time, eqp_out_time, pda_out_time) values (#{plNo,jdbcType=VARCHAR}, #{parkAreaCode,jdbcType=VARCHAR}, #{berthNo,jdbcType=VARCHAR}, #{carNo,jdbcType=VARCHAR}, #{orderId,jdbcType=VARCHAR}, #{isOccupy,jdbcType=CHAR}, #{roadPosition,jdbcType=CHAR}, #{direction,jdbcType=CHAR}, #{parkType,jdbcType=CHAR}, #{berthAddress,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{carStatus,jdbcType=VARCHAR}, #{createOp,jdbcType=BIGINT}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyOp,jdbcType=BIGINT}, #{optFlg,jdbcType=CHAR}, #{pdaInTime,jdbcType=TIMESTAMP}, #{eqpInTime,jdbcType=TIMESTAMP}, #{eqpOutTime,jdbcType=TIMESTAMP}, #{pdaOutTime,jdbcType=TIMESTAMP}) SELECT LAST_INSERT_ID() insert into tp_p_berths pl_no, park_area_code, berth_no, car_no, order_id, is_occupy, road_position, direction, park_type, berth_address, remark, data_state, create_time, car_status, create_op, modify_time, modify_op, opt_flg, pda_in_time, eqp_in_time, eqp_out_time, pda_out_time, #{plNo,jdbcType=VARCHAR}, #{parkAreaCode,jdbcType=VARCHAR}, #{berthNo,jdbcType=VARCHAR}, #{carNo,jdbcType=VARCHAR}, #{orderId,jdbcType=VARCHAR}, #{isOccupy,jdbcType=CHAR}, #{roadPosition,jdbcType=CHAR}, #{direction,jdbcType=CHAR}, #{parkType,jdbcType=CHAR}, #{berthAddress,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{carStatus,jdbcType=VARCHAR}, #{createOp,jdbcType=BIGINT}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyOp,jdbcType=BIGINT}, #{optFlg,jdbcType=CHAR}, #{pdaInTime,jdbcType=TIMESTAMP}, #{eqpInTime,jdbcType=TIMESTAMP}, #{eqpOutTime,jdbcType=TIMESTAMP}, #{pdaOutTime,jdbcType=TIMESTAMP}, update tp_p_berths id = #{record.id,jdbcType=BIGINT}, pl_no = #{record.plNo,jdbcType=VARCHAR}, park_area_code = #{record.parkAreaCode,jdbcType=VARCHAR}, berth_no = #{record.berthNo,jdbcType=VARCHAR}, car_no = #{record.carNo,jdbcType=VARCHAR}, order_id = #{record.orderId,jdbcType=VARCHAR}, is_occupy = #{record.isOccupy,jdbcType=CHAR}, road_position = #{record.roadPosition,jdbcType=CHAR}, direction = #{record.direction,jdbcType=CHAR}, park_type = #{record.parkType,jdbcType=CHAR}, berth_address = #{record.berthAddress,jdbcType=VARCHAR}, remark = #{record.remark,jdbcType=VARCHAR}, data_state = #{record.dataState,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, car_status = #{record.carStatus,jdbcType=VARCHAR}, create_op = #{record.createOp,jdbcType=BIGINT}, modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, modify_op = #{record.modifyOp,jdbcType=BIGINT}, opt_flg = #{record.optFlg,jdbcType=CHAR}, pda_in_time = #{record.pdaInTime,jdbcType=TIMESTAMP}, eqp_in_time = #{record.eqpInTime,jdbcType=TIMESTAMP}, eqp_out_time = #{record.eqpOutTime,jdbcType=TIMESTAMP}, pda_out_time = #{record.pdaOutTime,jdbcType=TIMESTAMP}, update tp_p_berths set id = #{record.id,jdbcType=BIGINT}, pl_no = #{record.plNo,jdbcType=VARCHAR}, park_area_code = #{record.parkAreaCode,jdbcType=VARCHAR}, berth_no = #{record.berthNo,jdbcType=VARCHAR}, car_no = #{record.carNo,jdbcType=VARCHAR}, order_id = #{record.orderId,jdbcType=VARCHAR}, is_occupy = #{record.isOccupy,jdbcType=CHAR}, road_position = #{record.roadPosition,jdbcType=CHAR}, direction = #{record.direction,jdbcType=CHAR}, park_type = #{record.parkType,jdbcType=CHAR}, berth_address = #{record.berthAddress,jdbcType=VARCHAR}, remark = #{record.remark,jdbcType=VARCHAR}, data_state = #{record.dataState,jdbcType=INTEGER}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, car_status = #{record.carStatus,jdbcType=VARCHAR}, create_op = #{record.createOp,jdbcType=BIGINT}, modify_time = #{record.modifyTime,jdbcType=TIMESTAMP}, modify_op = #{record.modifyOp,jdbcType=BIGINT}, opt_flg = #{record.optFlg,jdbcType=CHAR}, pda_in_time = #{record.pdaInTime,jdbcType=TIMESTAMP}, eqp_in_time = #{record.eqpInTime,jdbcType=TIMESTAMP}, eqp_out_time = #{record.eqpOutTime,jdbcType=TIMESTAMP}, pda_out_time = #{record.pdaOutTime,jdbcType=TIMESTAMP} update tp_p_berths pl_no = #{plNo,jdbcType=VARCHAR}, park_area_code = #{parkAreaCode,jdbcType=VARCHAR}, berth_no = #{berthNo,jdbcType=VARCHAR}, car_no = #{carNo,jdbcType=VARCHAR}, order_id = #{orderId,jdbcType=VARCHAR}, is_occupy = #{isOccupy,jdbcType=CHAR}, road_position = #{roadPosition,jdbcType=CHAR}, direction = #{direction,jdbcType=CHAR}, park_type = #{parkType,jdbcType=CHAR}, berth_address = #{berthAddress,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, data_state = #{dataState,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, car_status = #{carStatus,jdbcType=VARCHAR}, create_op = #{createOp,jdbcType=BIGINT}, modify_time = #{modifyTime,jdbcType=TIMESTAMP}, modify_op = #{modifyOp,jdbcType=BIGINT}, opt_flg = #{optFlg,jdbcType=CHAR}, pda_in_time = #{pdaInTime,jdbcType=TIMESTAMP}, eqp_in_time = #{eqpInTime,jdbcType=TIMESTAMP}, eqp_out_time = #{eqpOutTime,jdbcType=TIMESTAMP}, pda_out_time = #{pdaOutTime,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update tp_p_berths set pl_no = #{plNo,jdbcType=VARCHAR}, park_area_code = #{parkAreaCode,jdbcType=VARCHAR}, berth_no = #{berthNo,jdbcType=VARCHAR}, car_no = #{carNo,jdbcType=VARCHAR}, order_id = #{orderId,jdbcType=VARCHAR}, is_occupy = #{isOccupy,jdbcType=CHAR}, road_position = #{roadPosition,jdbcType=CHAR}, direction = #{direction,jdbcType=CHAR}, park_type = #{parkType,jdbcType=CHAR}, berth_address = #{berthAddress,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, data_state = #{dataState,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, car_status = #{carStatus,jdbcType=VARCHAR}, create_op = #{createOp,jdbcType=BIGINT}, modify_time = #{modifyTime,jdbcType=TIMESTAMP}, modify_op = #{modifyOp,jdbcType=BIGINT}, opt_flg = #{optFlg,jdbcType=CHAR}, pda_in_time = #{pdaInTime,jdbcType=TIMESTAMP}, eqp_in_time = #{eqpInTime,jdbcType=TIMESTAMP}, eqp_out_time = #{eqpOutTime,jdbcType=TIMESTAMP}, pda_out_time = #{pdaOutTime,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT}