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, order_id, operator_id, charge_order_state, connector_id, connector_state, start_time, end_time, total_power, order_elec_fee, order_sevice_fee, sum_period, charge_details, remark, data_state, create_emp_id, create_emp_name, create_date, org_id, org_name delete from order_charge_log where id = #{id,jdbcType=BIGINT} delete from order_charge_log SELECT LAST_INSERT_ID() insert into order_charge_log (order_id, operator_id, charge_order_state, connector_id, connector_state, start_time, end_time, total_power, order_elec_fee, order_sevice_fee, sum_period, charge_details, remark, data_state, create_emp_id, create_emp_name, create_date, org_id, org_name) values (#{orderId,jdbcType=VARCHAR}, #{operatorId,jdbcType=VARCHAR}, #{chargeOrderState,jdbcType=INTEGER}, #{connectorId,jdbcType=VARCHAR}, #{connectorState,jdbcType=INTEGER}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{totalPower,jdbcType=DECIMAL}, #{orderElecFee,jdbcType=BIGINT}, #{orderSeviceFee,jdbcType=BIGINT}, #{sumPeriod,jdbcType=INTEGER}, #{chargeDetails,jdbcType=OTHER}, #{remark,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into order_charge_log order_id, operator_id, charge_order_state, connector_id, connector_state, start_time, end_time, total_power, order_elec_fee, order_sevice_fee, sum_period, charge_details, remark, data_state, create_emp_id, create_emp_name, create_date, org_id, org_name, #{orderId,jdbcType=VARCHAR}, #{operatorId,jdbcType=VARCHAR}, #{chargeOrderState,jdbcType=INTEGER}, #{connectorId,jdbcType=VARCHAR}, #{connectorState,jdbcType=INTEGER}, #{startTime,jdbcType=TIMESTAMP}, #{endTime,jdbcType=TIMESTAMP}, #{totalPower,jdbcType=DECIMAL}, #{orderElecFee,jdbcType=BIGINT}, #{orderSeviceFee,jdbcType=BIGINT}, #{sumPeriod,jdbcType=INTEGER}, #{chargeDetails,jdbcType=OTHER}, #{remark,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR}, update order_charge_log id = #{record.id,jdbcType=BIGINT}, order_id = #{record.orderId,jdbcType=VARCHAR}, operator_id = #{record.operatorId,jdbcType=VARCHAR}, charge_order_state = #{record.chargeOrderState,jdbcType=INTEGER}, connector_id = #{record.connectorId,jdbcType=VARCHAR}, connector_state = #{record.connectorState,jdbcType=INTEGER}, start_time = #{record.startTime,jdbcType=TIMESTAMP}, end_time = #{record.endTime,jdbcType=TIMESTAMP}, total_power = #{record.totalPower,jdbcType=DECIMAL}, order_elec_fee = #{record.orderElecFee,jdbcType=BIGINT}, order_sevice_fee = #{record.orderSeviceFee,jdbcType=BIGINT}, sum_period = #{record.sumPeriod,jdbcType=INTEGER}, charge_details = #{record.chargeDetails,jdbcType=OTHER}, 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}, org_id = #{record.orgId,jdbcType=BIGINT}, org_name = #{record.orgName,jdbcType=VARCHAR}, update order_charge_log set id = #{record.id,jdbcType=BIGINT}, order_id = #{record.orderId,jdbcType=VARCHAR}, operator_id = #{record.operatorId,jdbcType=VARCHAR}, charge_order_state = #{record.chargeOrderState,jdbcType=INTEGER}, connector_id = #{record.connectorId,jdbcType=VARCHAR}, connector_state = #{record.connectorState,jdbcType=INTEGER}, start_time = #{record.startTime,jdbcType=TIMESTAMP}, end_time = #{record.endTime,jdbcType=TIMESTAMP}, total_power = #{record.totalPower,jdbcType=DECIMAL}, order_elec_fee = #{record.orderElecFee,jdbcType=BIGINT}, order_sevice_fee = #{record.orderSeviceFee,jdbcType=BIGINT}, sum_period = #{record.sumPeriod,jdbcType=INTEGER}, charge_details = #{record.chargeDetails,jdbcType=OTHER}, 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}, org_id = #{record.orgId,jdbcType=BIGINT}, org_name = #{record.orgName,jdbcType=VARCHAR} update order_charge_log order_id = #{orderId,jdbcType=VARCHAR}, operator_id = #{operatorId,jdbcType=VARCHAR}, charge_order_state = #{chargeOrderState,jdbcType=INTEGER}, connector_id = #{connectorId,jdbcType=VARCHAR}, connector_state = #{connectorState,jdbcType=INTEGER}, start_time = #{startTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, total_power = #{totalPower,jdbcType=DECIMAL}, order_elec_fee = #{orderElecFee,jdbcType=BIGINT}, order_sevice_fee = #{orderSeviceFee,jdbcType=BIGINT}, sum_period = #{sumPeriod,jdbcType=INTEGER}, charge_details = #{chargeDetails,jdbcType=OTHER}, 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}, org_id = #{orgId,jdbcType=BIGINT}, org_name = #{orgName,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update order_charge_log set order_id = #{orderId,jdbcType=VARCHAR}, operator_id = #{operatorId,jdbcType=VARCHAR}, charge_order_state = #{chargeOrderState,jdbcType=INTEGER}, connector_id = #{connectorId,jdbcType=VARCHAR}, connector_state = #{connectorState,jdbcType=INTEGER}, start_time = #{startTime,jdbcType=TIMESTAMP}, end_time = #{endTime,jdbcType=TIMESTAMP}, total_power = #{totalPower,jdbcType=DECIMAL}, order_elec_fee = #{orderElecFee,jdbcType=BIGINT}, order_sevice_fee = #{orderSeviceFee,jdbcType=BIGINT}, sum_period = #{sumPeriod,jdbcType=INTEGER}, charge_details = #{chargeDetails,jdbcType=OTHER}, 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}, org_id = #{orgId,jdbcType=BIGINT}, org_name = #{orgName,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT}