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, app_id, secret_key, source_type, description, data_state, create_empid, create_date, modfiy_empid, modify_date delete from td_c_third_part_app_authorization where id = #{id,jdbcType=BIGINT} delete from td_c_third_part_app_authorization SELECT LAST_INSERT_ID() insert into td_c_third_part_app_authorization (app_id, secret_key, source_type, description, data_state, create_empid, create_date, modfiy_empid, modify_date ) values (#{appId,jdbcType=VARCHAR}, #{secretKey,jdbcType=VARCHAR}, #{sourceType,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createEmpid,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpid,jdbcType=VARCHAR}, #{modifyDate,jdbcType=TIMESTAMP} ) SELECT LAST_INSERT_ID() insert into td_c_third_part_app_authorization app_id, secret_key, source_type, description, data_state, create_empid, create_date, modfiy_empid, modify_date, #{appId,jdbcType=VARCHAR}, #{secretKey,jdbcType=VARCHAR}, #{sourceType,jdbcType=INTEGER}, #{description,jdbcType=VARCHAR}, #{dataState,jdbcType=INTEGER}, #{createEmpid,jdbcType=VARCHAR}, #{createDate,jdbcType=TIMESTAMP}, #{modfiyEmpid,jdbcType=VARCHAR}, #{modifyDate,jdbcType=TIMESTAMP}, update td_c_third_part_app_authorization id = #{record.id,jdbcType=BIGINT}, app_id = #{record.appId,jdbcType=VARCHAR}, secret_key = #{record.secretKey,jdbcType=VARCHAR}, source_type = #{record.sourceType,jdbcType=INTEGER}, description = #{record.description,jdbcType=VARCHAR}, data_state = #{record.dataState,jdbcType=INTEGER}, create_empid = #{record.createEmpid,jdbcType=VARCHAR}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR}, modify_date = #{record.modifyDate,jdbcType=TIMESTAMP}, update td_c_third_part_app_authorization set id = #{record.id,jdbcType=BIGINT}, app_id = #{record.appId,jdbcType=VARCHAR}, secret_key = #{record.secretKey,jdbcType=VARCHAR}, source_type = #{record.sourceType,jdbcType=INTEGER}, description = #{record.description,jdbcType=VARCHAR}, data_state = #{record.dataState,jdbcType=INTEGER}, create_empid = #{record.createEmpid,jdbcType=VARCHAR}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, modfiy_empid = #{record.modfiyEmpid,jdbcType=VARCHAR}, modify_date = #{record.modifyDate,jdbcType=TIMESTAMP} update td_c_third_part_app_authorization app_id = #{appId,jdbcType=VARCHAR}, secret_key = #{secretKey,jdbcType=VARCHAR}, source_type = #{sourceType,jdbcType=INTEGER}, description = #{description,jdbcType=VARCHAR}, data_state = #{dataState,jdbcType=INTEGER}, create_empid = #{createEmpid,jdbcType=VARCHAR}, create_date = #{createDate,jdbcType=TIMESTAMP}, modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR}, modify_date = #{modifyDate,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update td_c_third_part_app_authorization set app_id = #{appId,jdbcType=VARCHAR}, secret_key = #{secretKey,jdbcType=VARCHAR}, source_type = #{sourceType,jdbcType=INTEGER}, description = #{description,jdbcType=VARCHAR}, data_state = #{dataState,jdbcType=INTEGER}, create_empid = #{createEmpid,jdbcType=VARCHAR}, create_date = #{createDate,jdbcType=TIMESTAMP}, modfiy_empid = #{modfiyEmpid,jdbcType=VARCHAR}, modify_date = #{modifyDate,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT}