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, order_dicount_fee, order_act_fee, order_total_fee, cust_type, cust_id, terminal_source, acct_type, acct_id, invoice_state, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, remark, org_id, org_name, business_id, business_name delete from order_recharge where id = #{id,jdbcType=BIGINT} delete from order_recharge SELECT LAST_INSERT_ID() insert into order_recharge (order_id, order_type, order_state, order_dicount_fee, order_act_fee, order_total_fee, cust_type, cust_id, terminal_source, acct_type, acct_id, invoice_state, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, remark, org_id, org_name, business_id, business_name ) values (#{orderId,jdbcType=VARCHAR}, #{orderType,jdbcType=INTEGER}, #{orderState,jdbcType=INTEGER}, #{orderDicountFee,jdbcType=BIGINT}, #{orderActFee,jdbcType=BIGINT}, #{orderTotalFee,jdbcType=BIGINT}, #{custType,jdbcType=INTEGER}, #{custId,jdbcType=VARCHAR}, #{terminalSource,jdbcType=INTEGER}, #{acctType,jdbcType=INTEGER}, #{acctId,jdbcType=VARCHAR}, #{invoiceState,jdbcType=INTEGER}, #{dataState,jdbcType=INTEGER}, #{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpId,jdbcType=VARCHAR}, #{modfiyEmpName,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR}, #{businessId,jdbcType=BIGINT}, #{businessName,jdbcType=VARCHAR} ) SELECT LAST_INSERT_ID() insert into order_recharge order_id, order_type, order_state, order_dicount_fee, order_act_fee, order_total_fee, cust_type, cust_id, terminal_source, acct_type, acct_id, invoice_state, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, remark, org_id, org_name, business_id, business_name, #{orderId,jdbcType=VARCHAR}, #{orderType,jdbcType=INTEGER}, #{orderState,jdbcType=INTEGER}, #{orderDicountFee,jdbcType=BIGINT}, #{orderActFee,jdbcType=BIGINT}, #{orderTotalFee,jdbcType=BIGINT}, #{custType,jdbcType=INTEGER}, #{custId,jdbcType=VARCHAR}, #{terminalSource,jdbcType=INTEGER}, #{acctType,jdbcType=INTEGER}, #{acctId,jdbcType=VARCHAR}, #{invoiceState,jdbcType=INTEGER}, #{dataState,jdbcType=INTEGER}, #{createEmpId,jdbcType=VARCHAR}, #{createEmpName,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpId,jdbcType=VARCHAR}, #{modfiyEmpName,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{remark,jdbcType=VARCHAR}, #{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR}, #{businessId,jdbcType=BIGINT}, #{businessName,jdbcType=VARCHAR}, update order_recharge id = #{record.id,jdbcType=BIGINT}, order_id = #{record.orderId,jdbcType=VARCHAR}, order_type = #{record.orderType,jdbcType=INTEGER}, order_state = #{record.orderState,jdbcType=INTEGER}, order_dicount_fee = #{record.orderDicountFee,jdbcType=BIGINT}, order_act_fee = #{record.orderActFee,jdbcType=BIGINT}, order_total_fee = #{record.orderTotalFee,jdbcType=BIGINT}, cust_type = #{record.custType,jdbcType=INTEGER}, cust_id = #{record.custId,jdbcType=VARCHAR}, terminal_source = #{record.terminalSource,jdbcType=INTEGER}, acct_type = #{record.acctType,jdbcType=INTEGER}, acct_id = #{record.acctId,jdbcType=VARCHAR}, invoice_state = #{record.invoiceState,jdbcType=INTEGER}, 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}, org_id = #{record.orgId,jdbcType=BIGINT}, org_name = #{record.orgName,jdbcType=VARCHAR}, business_id = #{record.businessId,jdbcType=BIGINT}, business_name = #{record.businessName,jdbcType=VARCHAR}, update order_recharge set id = #{record.id,jdbcType=BIGINT}, order_id = #{record.orderId,jdbcType=VARCHAR}, order_type = #{record.orderType,jdbcType=INTEGER}, order_state = #{record.orderState,jdbcType=INTEGER}, order_dicount_fee = #{record.orderDicountFee,jdbcType=BIGINT}, order_act_fee = #{record.orderActFee,jdbcType=BIGINT}, order_total_fee = #{record.orderTotalFee,jdbcType=BIGINT}, cust_type = #{record.custType,jdbcType=INTEGER}, cust_id = #{record.custId,jdbcType=VARCHAR}, terminal_source = #{record.terminalSource,jdbcType=INTEGER}, acct_type = #{record.acctType,jdbcType=INTEGER}, acct_id = #{record.acctId,jdbcType=VARCHAR}, invoice_state = #{record.invoiceState,jdbcType=INTEGER}, 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}, org_id = #{record.orgId,jdbcType=BIGINT}, org_name = #{record.orgName,jdbcType=VARCHAR}, business_id = #{record.businessId,jdbcType=BIGINT}, business_name = #{record.businessName,jdbcType=VARCHAR} update order_recharge order_id = #{orderId,jdbcType=VARCHAR}, order_type = #{orderType,jdbcType=INTEGER}, order_state = #{orderState,jdbcType=INTEGER}, order_dicount_fee = #{orderDicountFee,jdbcType=BIGINT}, order_act_fee = #{orderActFee,jdbcType=BIGINT}, order_total_fee = #{orderTotalFee,jdbcType=BIGINT}, cust_type = #{custType,jdbcType=INTEGER}, cust_id = #{custId,jdbcType=VARCHAR}, terminal_source = #{terminalSource,jdbcType=INTEGER}, acct_type = #{acctType,jdbcType=INTEGER}, acct_id = #{acctId,jdbcType=VARCHAR}, invoice_state = #{invoiceState,jdbcType=INTEGER}, 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}, org_id = #{orgId,jdbcType=BIGINT}, org_name = #{orgName,jdbcType=VARCHAR}, business_id = #{businessId,jdbcType=BIGINT}, business_name = #{businessName,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update order_recharge set order_id = #{orderId,jdbcType=VARCHAR}, order_type = #{orderType,jdbcType=INTEGER}, order_state = #{orderState,jdbcType=INTEGER}, order_dicount_fee = #{orderDicountFee,jdbcType=BIGINT}, order_act_fee = #{orderActFee,jdbcType=BIGINT}, order_total_fee = #{orderTotalFee,jdbcType=BIGINT}, cust_type = #{custType,jdbcType=INTEGER}, cust_id = #{custId,jdbcType=VARCHAR}, terminal_source = #{terminalSource,jdbcType=INTEGER}, acct_type = #{acctType,jdbcType=INTEGER}, acct_id = #{acctId,jdbcType=VARCHAR}, invoice_state = #{invoiceState,jdbcType=INTEGER}, 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}, org_id = #{orgId,jdbcType=BIGINT}, org_name = #{orgName,jdbcType=VARCHAR}, business_id = #{businessId,jdbcType=BIGINT}, business_name = #{businessName,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT}