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, from_org_id, from_org_name, to_org_id, to_org_name, settlement_type, rate, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, remark delete from td_b_settlement_org where id = #{id,jdbcType=BIGINT} delete from td_b_settlement_org SELECT LAST_INSERT_ID() insert into td_b_settlement_org (from_org_id, from_org_name, to_org_id, to_org_name, settlement_type, rate, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, remark) values (#{fromOrgId,jdbcType=BIGINT}, #{fromOrgName,jdbcType=VARCHAR}, #{toOrgId,jdbcType=BIGINT}, #{toOrgName,jdbcType=VARCHAR}, #{settlementType,jdbcType=INTEGER}, #{rate,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}) SELECT LAST_INSERT_ID() insert into td_b_settlement_org from_org_id, from_org_name, to_org_id, to_org_name, settlement_type, rate, data_state, create_emp_id, create_emp_name, create_date, modfiy_emp_id, modfiy_emp_name, modfiy_date, remark, #{fromOrgId,jdbcType=BIGINT}, #{fromOrgName,jdbcType=VARCHAR}, #{toOrgId,jdbcType=BIGINT}, #{toOrgName,jdbcType=VARCHAR}, #{settlementType,jdbcType=INTEGER}, #{rate,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}, update td_b_settlement_org id = #{record.id,jdbcType=BIGINT}, from_org_id = #{record.fromOrgId,jdbcType=BIGINT}, from_org_name = #{record.fromOrgName,jdbcType=VARCHAR}, to_org_id = #{record.toOrgId,jdbcType=BIGINT}, to_org_name = #{record.toOrgName,jdbcType=VARCHAR}, settlement_type = #{record.settlementType,jdbcType=INTEGER}, rate = #{record.rate,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}, update td_b_settlement_org set id = #{record.id,jdbcType=BIGINT}, from_org_id = #{record.fromOrgId,jdbcType=BIGINT}, from_org_name = #{record.fromOrgName,jdbcType=VARCHAR}, to_org_id = #{record.toOrgId,jdbcType=BIGINT}, to_org_name = #{record.toOrgName,jdbcType=VARCHAR}, settlement_type = #{record.settlementType,jdbcType=INTEGER}, rate = #{record.rate,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} update td_b_settlement_org from_org_id = #{fromOrgId,jdbcType=BIGINT}, from_org_name = #{fromOrgName,jdbcType=VARCHAR}, to_org_id = #{toOrgId,jdbcType=BIGINT}, to_org_name = #{toOrgName,jdbcType=VARCHAR}, settlement_type = #{settlementType,jdbcType=INTEGER}, rate = #{rate,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}, where id = #{id,jdbcType=BIGINT} update td_b_settlement_org set from_org_id = #{fromOrgId,jdbcType=BIGINT}, from_org_name = #{fromOrgName,jdbcType=VARCHAR}, to_org_id = #{toOrgId,jdbcType=BIGINT}, to_org_name = #{toOrgName,jdbcType=VARCHAR}, settlement_type = #{settlementType,jdbcType=INTEGER}, rate = #{rate,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} where id = #{id,jdbcType=BIGINT}