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, payout_bill_id, acct_id, cust_id, acct_type, trade_type, trade_detial_type, trade_fee, trade_balance, trader_id, trader_name, trade_time, rlt_payorder_id, rlt_order_id, rlt_order_type, acct_upt_state, data_state, create_empid, create_date, modfiy_empid, modfiy_date, org_id, org_name delete from td_c_acct_payout where id = #{id,jdbcType=BIGINT} delete from td_c_acct_payout SELECT LAST_INSERT_ID() insert into td_c_acct_payout (payout_bill_id, acct_id, cust_id, acct_type, trade_type, trade_detial_type, trade_fee, trade_balance, trader_id, trader_name, trade_time, rlt_payorder_id, rlt_order_id, rlt_order_type, acct_upt_state, data_state, create_empid, create_date, modfiy_empid, modfiy_date, org_id, org_name) values (#{payoutBillId,jdbcType=VARCHAR}, #{acctId,jdbcType=VARCHAR}, #{custId,jdbcType=VARCHAR}, #{acctType,jdbcType=INTEGER}, #{tradeType,jdbcType=INTEGER}, #{tradeDetialType,jdbcType=INTEGER}, #{tradeFee,jdbcType=DECIMAL}, #{tradeBalance,jdbcType=DECIMAL}, #{traderId,jdbcType=VARCHAR}, #{traderName,jdbcType=VARCHAR}, #{tradeTime,jdbcType=TIMESTAMP}, #{rltPayorderId,jdbcType=VARCHAR}, #{rltOrderId,jdbcType=VARCHAR}, #{rltOrderType,jdbcType=VARCHAR}, #{acctUptState,jdbcType=INTEGER}, #{dataState,jdbcType=INTEGER}, #{createEmpid,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpid,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR}) SELECT LAST_INSERT_ID() insert into td_c_acct_payout payout_bill_id, acct_id, cust_id, acct_type, trade_type, trade_detial_type, trade_fee, trade_balance, trader_id, trader_name, trade_time, rlt_payorder_id, rlt_order_id, rlt_order_type, acct_upt_state, data_state, create_empid, create_date, modfiy_empid, modfiy_date, org_id, org_name, #{payoutBillId,jdbcType=VARCHAR}, #{acctId,jdbcType=VARCHAR}, #{custId,jdbcType=VARCHAR}, #{acctType,jdbcType=INTEGER}, #{tradeType,jdbcType=INTEGER}, #{tradeDetialType,jdbcType=INTEGER}, #{tradeFee,jdbcType=DECIMAL}, #{tradeBalance,jdbcType=DECIMAL}, #{traderId,jdbcType=VARCHAR}, #{traderName,jdbcType=VARCHAR}, #{tradeTime,jdbcType=TIMESTAMP}, #{rltPayorderId,jdbcType=VARCHAR}, #{rltOrderId,jdbcType=VARCHAR}, #{rltOrderType,jdbcType=VARCHAR}, #{acctUptState,jdbcType=INTEGER}, #{dataState,jdbcType=INTEGER}, #{createEmpid,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpid,jdbcType=VARCHAR}, #{modfiyDate,jdbcType=TIMESTAMP}, #{orgId,jdbcType=BIGINT}, #{orgName,jdbcType=VARCHAR}, update td_c_acct_payout id = #{record.id,jdbcType=BIGINT}, payout_bill_id = #{record.payoutBillId,jdbcType=VARCHAR}, acct_id = #{record.acctId,jdbcType=VARCHAR}, cust_id = #{record.custId,jdbcType=VARCHAR}, acct_type = #{record.acctType,jdbcType=INTEGER}, trade_type = #{record.tradeType,jdbcType=INTEGER}, trade_detial_type = #{record.tradeDetialType,jdbcType=INTEGER}, trade_fee = #{record.tradeFee,jdbcType=DECIMAL}, trade_balance = #{record.tradeBalance,jdbcType=DECIMAL}, trader_id = #{record.traderId,jdbcType=VARCHAR}, trader_name = #{record.traderName,jdbcType=VARCHAR}, trade_time = #{record.tradeTime,jdbcType=TIMESTAMP}, rlt_payorder_id = #{record.rltPayorderId,jdbcType=VARCHAR}, rlt_order_id = #{record.rltOrderId,jdbcType=VARCHAR}, rlt_order_type = #{record.rltOrderType,jdbcType=VARCHAR}, acct_upt_state = #{record.acctUptState,jdbcType=INTEGER}, data_state = #{record.dataState,jdbcType=INTEGER}, create_empid = #{record.createEmpid,jdbcType=VARCHAR}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR}, modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP}, org_id = #{record.orgId,jdbcType=BIGINT}, org_name = #{record.orgName,jdbcType=VARCHAR}, update td_c_acct_payout set id = #{record.id,jdbcType=BIGINT}, payout_bill_id = #{record.payoutBillId,jdbcType=VARCHAR}, acct_id = #{record.acctId,jdbcType=VARCHAR}, cust_id = #{record.custId,jdbcType=VARCHAR}, acct_type = #{record.acctType,jdbcType=INTEGER}, trade_type = #{record.tradeType,jdbcType=INTEGER}, trade_detial_type = #{record.tradeDetialType,jdbcType=INTEGER}, trade_fee = #{record.tradeFee,jdbcType=DECIMAL}, trade_balance = #{record.tradeBalance,jdbcType=DECIMAL}, trader_id = #{record.traderId,jdbcType=VARCHAR}, trader_name = #{record.traderName,jdbcType=VARCHAR}, trade_time = #{record.tradeTime,jdbcType=TIMESTAMP}, rlt_payorder_id = #{record.rltPayorderId,jdbcType=VARCHAR}, rlt_order_id = #{record.rltOrderId,jdbcType=VARCHAR}, rlt_order_type = #{record.rltOrderType,jdbcType=VARCHAR}, acct_upt_state = #{record.acctUptState,jdbcType=INTEGER}, data_state = #{record.dataState,jdbcType=INTEGER}, create_empid = #{record.createEmpid,jdbcType=VARCHAR}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR}, modfiy_date = #{record.modfiyDate,jdbcType=TIMESTAMP}, org_id = #{record.orgId,jdbcType=BIGINT}, org_name = #{record.orgName,jdbcType=VARCHAR} update td_c_acct_payout payout_bill_id = #{payoutBillId,jdbcType=VARCHAR}, acct_id = #{acctId,jdbcType=VARCHAR}, cust_id = #{custId,jdbcType=VARCHAR}, acct_type = #{acctType,jdbcType=INTEGER}, trade_type = #{tradeType,jdbcType=INTEGER}, trade_detial_type = #{tradeDetialType,jdbcType=INTEGER}, trade_fee = #{tradeFee,jdbcType=DECIMAL}, trade_balance = #{tradeBalance,jdbcType=DECIMAL}, trader_id = #{traderId,jdbcType=VARCHAR}, trader_name = #{traderName,jdbcType=VARCHAR}, trade_time = #{tradeTime,jdbcType=TIMESTAMP}, rlt_payorder_id = #{rltPayorderId,jdbcType=VARCHAR}, rlt_order_id = #{rltOrderId,jdbcType=VARCHAR}, rlt_order_type = #{rltOrderType,jdbcType=VARCHAR}, acct_upt_state = #{acctUptState,jdbcType=INTEGER}, data_state = #{dataState,jdbcType=INTEGER}, create_empid = #{createEmpid,jdbcType=VARCHAR}, create_date = #{createDate,jdbcType=TIMESTAMP}, modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR}, modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP}, org_id = #{orgId,jdbcType=BIGINT}, org_name = #{orgName,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update td_c_acct_payout set payout_bill_id = #{payoutBillId,jdbcType=VARCHAR}, acct_id = #{acctId,jdbcType=VARCHAR}, cust_id = #{custId,jdbcType=VARCHAR}, acct_type = #{acctType,jdbcType=INTEGER}, trade_type = #{tradeType,jdbcType=INTEGER}, trade_detial_type = #{tradeDetialType,jdbcType=INTEGER}, trade_fee = #{tradeFee,jdbcType=DECIMAL}, trade_balance = #{tradeBalance,jdbcType=DECIMAL}, trader_id = #{traderId,jdbcType=VARCHAR}, trader_name = #{traderName,jdbcType=VARCHAR}, trade_time = #{tradeTime,jdbcType=TIMESTAMP}, rlt_payorder_id = #{rltPayorderId,jdbcType=VARCHAR}, rlt_order_id = #{rltOrderId,jdbcType=VARCHAR}, rlt_order_type = #{rltOrderType,jdbcType=VARCHAR}, acct_upt_state = #{acctUptState,jdbcType=INTEGER}, data_state = #{dataState,jdbcType=INTEGER}, create_empid = #{createEmpid,jdbcType=VARCHAR}, create_date = #{createDate,jdbcType=TIMESTAMP}, modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR}, modfiy_date = #{modfiyDate,jdbcType=TIMESTAMP}, org_id = #{orgId,jdbcType=BIGINT}, org_name = #{orgName,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT}