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, code_kind, code_name, code_desc, sys_param, data_state, creator, create_date, modifier, modify_date delete from sys_code_def where id = #{id,jdbcType=BIGINT} delete from sys_code_def SELECT LAST_INSERT_ID() insert into sys_code_def (code_kind, code_name, code_desc, sys_param, data_state, creator, create_date, modifier, modify_date ) values (#{codeKind,jdbcType=VARCHAR}, #{codeName,jdbcType=VARCHAR}, #{codeDesc,jdbcType=VARCHAR}, #{sysParam,jdbcType=INTEGER}, #{dataState,jdbcType=INTEGER}, #{creator,jdbcType=BIGINT}, #{createDate,jdbcType=TIMESTAMP}, #{modifier,jdbcType=BIGINT}, #{modifyDate,jdbcType=TIMESTAMP} ) SELECT LAST_INSERT_ID() insert into sys_code_def code_kind, code_name, code_desc, sys_param, data_state, creator, create_date, modifier, modify_date, #{codeKind,jdbcType=VARCHAR}, #{codeName,jdbcType=VARCHAR}, #{codeDesc,jdbcType=VARCHAR}, #{sysParam,jdbcType=INTEGER}, #{dataState,jdbcType=INTEGER}, #{creator,jdbcType=BIGINT}, #{createDate,jdbcType=TIMESTAMP}, #{modifier,jdbcType=BIGINT}, #{modifyDate,jdbcType=TIMESTAMP}, update sys_code_def id = #{record.id,jdbcType=BIGINT}, code_kind = #{record.codeKind,jdbcType=VARCHAR}, code_name = #{record.codeName,jdbcType=VARCHAR}, code_desc = #{record.codeDesc,jdbcType=VARCHAR}, sys_param = #{record.sysParam,jdbcType=INTEGER}, data_state = #{record.dataState,jdbcType=INTEGER}, creator = #{record.creator,jdbcType=BIGINT}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, modifier = #{record.modifier,jdbcType=BIGINT}, modify_date = #{record.modifyDate,jdbcType=TIMESTAMP}, update sys_code_def set id = #{record.id,jdbcType=BIGINT}, code_kind = #{record.codeKind,jdbcType=VARCHAR}, code_name = #{record.codeName,jdbcType=VARCHAR}, code_desc = #{record.codeDesc,jdbcType=VARCHAR}, sys_param = #{record.sysParam,jdbcType=INTEGER}, data_state = #{record.dataState,jdbcType=INTEGER}, creator = #{record.creator,jdbcType=BIGINT}, create_date = #{record.createDate,jdbcType=TIMESTAMP}, modifier = #{record.modifier,jdbcType=BIGINT}, modify_date = #{record.modifyDate,jdbcType=TIMESTAMP} update sys_code_def code_kind = #{codeKind,jdbcType=VARCHAR}, code_name = #{codeName,jdbcType=VARCHAR}, code_desc = #{codeDesc,jdbcType=VARCHAR}, sys_param = #{sysParam,jdbcType=INTEGER}, data_state = #{dataState,jdbcType=INTEGER}, creator = #{creator,jdbcType=BIGINT}, create_date = #{createDate,jdbcType=TIMESTAMP}, modifier = #{modifier,jdbcType=BIGINT}, modify_date = #{modifyDate,jdbcType=TIMESTAMP}, where id = #{id,jdbcType=BIGINT} update sys_code_def set code_kind = #{codeKind,jdbcType=VARCHAR}, code_name = #{codeName,jdbcType=VARCHAR}, code_desc = #{codeDesc,jdbcType=VARCHAR}, sys_param = #{sysParam,jdbcType=INTEGER}, data_state = #{dataState,jdbcType=INTEGER}, creator = #{creator,jdbcType=BIGINT}, create_date = #{createDate,jdbcType=TIMESTAMP}, modifier = #{modifier,jdbcType=BIGINT}, modify_date = #{modifyDate,jdbcType=TIMESTAMP} where id = #{id,jdbcType=BIGINT}