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} RoleID, UserTypeID, Name, Description, IsDefault, DefaultDataRange, RecordStatus, CreateBy, CreateTime, UpdateBy, UpdateTime delete from sys_role where RoleID = #{roleID,jdbcType=VARCHAR} delete from sys_role insert into sys_role (RoleID, UserTypeID, Name, Description, IsDefault, DefaultDataRange, RecordStatus, CreateBy, CreateTime, UpdateBy, UpdateTime) values (#{roleID,jdbcType=VARCHAR}, #{userTypeID,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{isDefault,jdbcType=BIT}, #{defaultDataRange,jdbcType=INTEGER}, #{recordStatus,jdbcType=INTEGER}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}) insert into sys_role RoleID, UserTypeID, Name, Description, IsDefault, DefaultDataRange, RecordStatus, CreateBy, CreateTime, UpdateBy, UpdateTime, #{roleID,jdbcType=VARCHAR}, #{userTypeID,jdbcType=INTEGER}, #{name,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, #{isDefault,jdbcType=BIT}, #{defaultDataRange,jdbcType=INTEGER}, #{recordStatus,jdbcType=INTEGER}, #{createBy,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateBy,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP}, update sys_role RoleID = #{row.roleID,jdbcType=VARCHAR}, UserTypeID = #{row.userTypeID,jdbcType=INTEGER}, Name = #{row.name,jdbcType=VARCHAR}, Description = #{row.description,jdbcType=VARCHAR}, IsDefault = #{row.isDefault,jdbcType=BIT}, DefaultDataRange = #{row.defaultDataRange,jdbcType=INTEGER}, RecordStatus = #{row.recordStatus,jdbcType=INTEGER}, CreateBy = #{row.createBy,jdbcType=VARCHAR}, CreateTime = #{row.createTime,jdbcType=TIMESTAMP}, UpdateBy = #{row.updateBy,jdbcType=VARCHAR}, UpdateTime = #{row.updateTime,jdbcType=TIMESTAMP}, update sys_role set RoleID = #{row.roleID,jdbcType=VARCHAR}, UserTypeID = #{row.userTypeID,jdbcType=INTEGER}, Name = #{row.name,jdbcType=VARCHAR}, Description = #{row.description,jdbcType=VARCHAR}, IsDefault = #{row.isDefault,jdbcType=BIT}, DefaultDataRange = #{row.defaultDataRange,jdbcType=INTEGER}, RecordStatus = #{row.recordStatus,jdbcType=INTEGER}, CreateBy = #{row.createBy,jdbcType=VARCHAR}, CreateTime = #{row.createTime,jdbcType=TIMESTAMP}, UpdateBy = #{row.updateBy,jdbcType=VARCHAR}, UpdateTime = #{row.updateTime,jdbcType=TIMESTAMP} update sys_role UserTypeID = #{userTypeID,jdbcType=INTEGER}, Name = #{name,jdbcType=VARCHAR}, Description = #{description,jdbcType=VARCHAR}, IsDefault = #{isDefault,jdbcType=BIT}, DefaultDataRange = #{defaultDataRange,jdbcType=INTEGER}, RecordStatus = #{recordStatus,jdbcType=INTEGER}, CreateBy = #{createBy,jdbcType=VARCHAR}, CreateTime = #{createTime,jdbcType=TIMESTAMP}, UpdateBy = #{updateBy,jdbcType=VARCHAR}, UpdateTime = #{updateTime,jdbcType=TIMESTAMP}, where RoleID = #{roleID,jdbcType=VARCHAR} update sys_role set UserTypeID = #{userTypeID,jdbcType=INTEGER}, Name = #{name,jdbcType=VARCHAR}, Description = #{description,jdbcType=VARCHAR}, IsDefault = #{isDefault,jdbcType=BIT}, DefaultDataRange = #{defaultDataRange,jdbcType=INTEGER}, RecordStatus = #{recordStatus,jdbcType=INTEGER}, CreateBy = #{createBy,jdbcType=VARCHAR}, CreateTime = #{createTime,jdbcType=TIMESTAMP}, UpdateBy = #{updateBy,jdbcType=VARCHAR}, UpdateTime = #{updateTime,jdbcType=TIMESTAMP} where RoleID = #{roleID,jdbcType=VARCHAR}