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, parent_id, area_name, area_description, whether_charge, area_type, area_level, create_time, create_op, modify_time, modify_op, remark, inner_area_number, inner_area_mon_number, inner_area_private_number, inner_area_big_number, inner_area_berth_number delete from parking_lot_areas where id = #{id,jdbcType=BIGINT} delete from parking_lot_areas SELECT LAST_INSERT_ID() insert into parking_lot_areas (pl_no, parent_id, area_name, area_description, whether_charge, area_type, area_level, create_time, create_op, modify_time, modify_op, remark, inner_area_number, inner_area_mon_number, inner_area_private_number, inner_area_berth_number, inner_area_big_number) values (#{plNo,jdbcType=VARCHAR}, #{parentId,jdbcType=BIGINT}, #{areaName,jdbcType=VARCHAR}, #{areaDescription,jdbcType=VARCHAR}, #{whetherCharge,jdbcType=CHAR}, #{areaType,jdbcType=INTEGER}, #{areaLevel,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createOp,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyOp,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{innerAreaNumber,jdbcType=BIGINT}, #{innerAreaMonNumber,jdbcType=BIGINT}, #{innerAreaPrivateNumber,jdbcType=BIGINT}, #{innerAreaBerthNumber,jdbcType=BIGINT}, #{innerAreaBigNumber,jdbcType=BIGINT}) SELECT LAST_INSERT_ID() insert into parking_lot_areas pl_no, parent_id, area_name, area_description, whether_charge, area_type, area_level, create_time, create_op, modify_time, modify_op, remark, inner_area_number, inner_area_mon_number, inner_area_private_number, inner_area_big_number, inner_area_berth_number, data_status, #{plNo,jdbcType=VARCHAR}, #{parentId,jdbcType=BIGINT}, #{areaName,jdbcType=VARCHAR}, #{areaDescription,jdbcType=VARCHAR}, #{whetherCharge,jdbcType=CHAR}, #{areaType,jdbcType=INTEGER}, #{areaLevel,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{createOp,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyOp,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{innerAreaNumber,jdbcType=BIGINT}, #{innerAreaMonNumber,jdbcType=BIGINT}, #{innerAreaPrivateNumber,jdbcType=BIGINT}, #{innerAreaBigNumber,jdbcType=BIGINT}, #{innerAreaBerthNumber,jdbcType=BIGINT}, #{dataStatus,jdbcType=BIGINT}, update parking_lot_areas id = #{record.id,jdbcType=BIGINT}, pl_no = #{record.plNo,jdbcType=VARCHAR}, parent_id = #{record.parentId,jdbcType=BIGINT}, area_name = #{record.areaName,jdbcType=VARCHAR}, area_description = #{record.areaDescription,jdbcType=VARCHAR}, whether_charge = #{record.whetherCharge,jdbcType=CHAR}, area_type = #{record.areaType,jdbcType=INTEGER}, area_level = #{record.areaLevel,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}, remark = #{record.remark,jdbcType=VARCHAR}, inner_area_number = #{record.innerAreaNumber,jdbcType=BIGINT}, inner_area_mon_number = #{record.innerAreaMonNumber,jdbcType=BIGINT}, inner_area_private_number = #{record.innerAreaPrivateNumber,jdbcType=BIGINT}, inner_area_big_number = #{record.innerAreaBigNumber,jdbcType=BIGINT}, inner_area_berth_number = #{record.innerAreaBerthNumber,jdbcType=BIGINT}, data_status = #{record.dataStatus,jdbcType=INTEGER}, update parking_lot_areas set id = #{record.id,jdbcType=BIGINT}, pl_no = #{record.plNo,jdbcType=VARCHAR}, parent_id = #{record.parentId,jdbcType=BIGINT}, area_name = #{record.areaName,jdbcType=VARCHAR}, area_description = #{record.areaDescription,jdbcType=VARCHAR}, whether_charge = #{record.whetherCharge,jdbcType=CHAR}, area_type = #{record.areaType,jdbcType=INTEGER}, area_level = #{record.areaLevel,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}, remark = #{record.remark,jdbcType=VARCHAR}, inner_area_number = #{record.innerAreaNumber,jdbcType=BIGINT}, inner_area_mon_number = #{record.innerAreaMonNumber,jdbcType=BIGINT}, inner_area_private_number = #{record.innerAreaPrivateNumber,jdbcType=BIGINT}, inner_area_big_number = #{record.innerAreaBigNumber,jdbcType=BIGINT} inner_area_berth_number = #{record.innerAreaBerthNumber,jdbcType=BIGINT} update parking_lot_areas pl_no = #{plNo,jdbcType=VARCHAR}, parent_id = #{parentId,jdbcType=BIGINT}, area_name = #{areaName,jdbcType=VARCHAR}, area_description = #{areaDescription,jdbcType=VARCHAR}, whether_charge = #{whetherCharge,jdbcType=CHAR}, area_type = #{areaType,jdbcType=INTEGER}, area_level = #{areaLevel,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_op = #{createOp,jdbcType=VARCHAR}, modify_time = #{modifyTime,jdbcType=TIMESTAMP}, modify_op = #{modifyOp,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, inner_area_number = #{innerAreaNumber,jdbcType=BIGINT}, inner_area_mon_number = #{innerAreaMonNumber,jdbcType=BIGINT}, inner_area_private_number = #{innerAreaPrivateNumber,jdbcType=BIGINT}, inner_area_berth_number = #{innerAreaBerthNumber,jdbcType=BIGINT}, inner_area_big_number = #{innerAreaBigNumber,jdbcType=BIGINT}, where id = #{id,jdbcType=BIGINT} update parking_lot_areas set pl_no = #{plNo,jdbcType=VARCHAR}, parent_id = #{parentId,jdbcType=BIGINT}, area_name = #{areaName,jdbcType=VARCHAR}, area_description = #{areaDescription,jdbcType=VARCHAR}, whether_charge = #{whetherCharge,jdbcType=CHAR}, area_type = #{areaType,jdbcType=INTEGER}, area_level = #{areaLevel,jdbcType=INTEGER}, create_time = #{createTime,jdbcType=TIMESTAMP}, create_op = #{createOp,jdbcType=VARCHAR}, modify_time = #{modifyTime,jdbcType=TIMESTAMP}, modify_op = #{modifyOp,jdbcType=VARCHAR}, remark = #{remark,jdbcType=VARCHAR}, inner_area_number = #{innerAreaNumber,jdbcType=BIGINT}, inner_area_mon_number = #{innerAreaMonNumber,jdbcType=BIGINT}, inner_area_private_number = #{innerAreaPrivateNumber,jdbcType=BIGINT}, inner_area_big_number = #{innerAreaBigNumber,jdbcType=BIGINT} inner_area_berth_number = #{innerAreaBerthNumber,jdbcType=BIGINT} where id = #{id,jdbcType=BIGINT}