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, order_type, order_state, terminal_source, order_dicount_fee, order_act_fee, order_total_fee, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, remark, qeual_type, diff_type, diff_compare_date, trade_service_fee, platform_service_fee, org_id, org_name delete from order_vipcard where id = #{id,jdbcType=BIGINT} delete from order_vipcard SELECT LAST_INSERT_ID() insert into order_vipcard (order_id, order_type, order_state, terminal_source, order_dicount_fee, order_act_fee, order_total_fee, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, remark, qeual_type, diff_type, diff_compare_date, trade_service_fee, platform_service_fee, org_id, org_name) values (#{orderId,jdbcType=VARCHAR}, #{orderType,jdbcType=INTEGER}, #{orderState,jdbcType=INTEGER}, #{terminalSource,jdbcType=INTEGER}, #{orderDicountFee,jdbcType=BIGINT}, #{orderActFee,jdbcType=BIGINT}, #{orderTotalFee,jdbcType=BIGINT}, #{dataState,jdbcType=INTEGER}, #{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpId,jdbcType=VARCHAR}, #{modfiyEmpName,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{qeualType,jdbcType=INTEGER}, #{diffType,jdbcType=INTEGER}, #{diffCompareDate,jdbcType=TIMESTAMP}, #{tradeServiceFee,jdbcType=BIGINT}, #{platformServiceFee,jdbcType=BIGINT}, #{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into order_vipcard order_id, order_type, order_state, terminal_source, order_dicount_fee, order_act_fee, order_total_fee, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, remark, qeual_type, diff_type, diff_compare_date, trade_service_fee, platform_service_fee, org_id, org_name, #{orderId,jdbcType=VARCHAR}, #{orderType,jdbcType=INTEGER}, #{orderState,jdbcType=INTEGER}, #{terminalSource,jdbcType=INTEGER}, #{orderDicountFee,jdbcType=BIGINT}, #{orderActFee,jdbcType=BIGINT}, #{orderTotalFee,jdbcType=BIGINT}, #{dataState,jdbcType=INTEGER}, #{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpId,jdbcType=VARCHAR}, #{modfiyEmpName,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{qeualType,jdbcType=INTEGER}, #{diffType,jdbcType=INTEGER}, #{diffCompareDate,jdbcType=TIMESTAMP}, #{tradeServiceFee,jdbcType=BIGINT}, #{platformServiceFee,jdbcType=BIGINT}, #{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR}, update order_vipcard id = #{record.id,jdbcType=BIGINT}, order_id = #{record.orderId,jdbcType=VARCHAR}, order_type = #{record.orderType,jdbcType=INTEGER}, order_state = #{record.orderState,jdbcType=INTEGER}, terminal_source = #{record.terminalSource,jdbcType=INTEGER}, order_dicount_fee = #{record.orderDicountFee,jdbcType=BIGINT}, order_act_fee = #{record.orderActFee,jdbcType=BIGINT}, order_total_fee = #{record.orderTotalFee,jdbcType=BIGINT}, 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}, remark = #{record.remark,jdbcType=VARCHAR}, qeual_type = #{record.qeualType,jdbcType=INTEGER}, diff_type = #{record.diffType,jdbcType=INTEGER}, diff_compare_date = #{record.diffCompareDate,jdbcType=TIMESTAMP}, trade_service_fee = #{record.tradeServiceFee,jdbcType=BIGINT}, platform_service_fee = #{record.platformServiceFee,jdbcType=BIGINT}, org_id = #{record.orgId,jdbcType=BIGINT}, org_name = #{record.orgName,jdbcType=VARCHAR}, update order_vipcard set id = #{record.id,jdbcType=BIGINT}, order_id = #{record.orderId,jdbcType=VARCHAR}, order_type = #{record.orderType,jdbcType=INTEGER}, order_state = #{record.orderState,jdbcType=INTEGER}, terminal_source = #{record.terminalSource,jdbcType=INTEGER}, order_dicount_fee = #{record.orderDicountFee,jdbcType=BIGINT}, order_act_fee = #{record.orderActFee,jdbcType=BIGINT}, order_total_fee = #{record.orderTotalFee,jdbcType=BIGINT}, 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}, remark = #{record.remark,jdbcType=VARCHAR}, qeual_type = #{record.qeualType,jdbcType=INTEGER}, diff_type = #{record.diffType,jdbcType=INTEGER}, diff_compare_date = #{record.diffCompareDate,jdbcType=TIMESTAMP}, trade_service_fee = #{record.tradeServiceFee,jdbcType=BIGINT}, platform_service_fee = #{record.platformServiceFee,jdbcType=BIGINT}, org_id = #{record.orgId,jdbcType=BIGINT}, org_name = #{record.orgName,jdbcType=VARCHAR} update order_vipcard order_id = #{orderId,jdbcType=VARCHAR}, order_type = #{orderType,jdbcType=INTEGER}, order_state = #{orderState,jdbcType=INTEGER}, terminal_source = #{terminalSource,jdbcType=INTEGER}, order_dicount_fee = #{orderDicountFee,jdbcType=BIGINT}, order_act_fee = #{orderActFee,jdbcType=BIGINT}, order_total_fee = #{orderTotalFee,jdbcType=BIGINT}, 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}, remark = #{remark,jdbcType=VARCHAR}, qeual_type = #{qeualType,jdbcType=INTEGER}, diff_type = #{diffType,jdbcType=INTEGER}, diff_compare_date = #{diffCompareDate,jdbcType=TIMESTAMP}, trade_service_fee = #{tradeServiceFee,jdbcType=BIGINT}, platform_service_fee = #{platformServiceFee,jdbcType=BIGINT}, org_id = #{orgId,jdbcType=BIGINT}, org_name = #{orgName,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update order_vipcard set order_id = #{orderId,jdbcType=VARCHAR}, order_type = #{orderType,jdbcType=INTEGER}, order_state = #{orderState,jdbcType=INTEGER}, terminal_source = #{terminalSource,jdbcType=INTEGER}, order_dicount_fee = #{orderDicountFee,jdbcType=BIGINT}, order_act_fee = #{orderActFee,jdbcType=BIGINT}, order_total_fee = #{orderTotalFee,jdbcType=BIGINT}, 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}, remark = #{remark,jdbcType=VARCHAR}, qeual_type = #{qeualType,jdbcType=INTEGER}, diff_type = #{diffType,jdbcType=INTEGER}, diff_compare_date = #{diffCompareDate,jdbcType=TIMESTAMP}, trade_service_fee = #{tradeServiceFee,jdbcType=BIGINT}, platform_service_fee = #{platformServiceFee,jdbcType=BIGINT}, org_id = #{orgId,jdbcType=BIGINT}, org_name = #{orgName,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT}