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, Name, CategoryLevel, ParentId delete from jsh_materialcategory where Id = #{id,jdbcType=BIGINT} delete from jsh_materialcategory insert into jsh_materialcategory (Id, Name, CategoryLevel, ParentId) values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{categorylevel,jdbcType=SMALLINT}, #{parentid,jdbcType=BIGINT}) insert into jsh_materialcategory Id, Name, CategoryLevel, ParentId, #{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{categorylevel,jdbcType=SMALLINT}, #{parentid,jdbcType=BIGINT}, update jsh_materialcategory Id = #{record.id,jdbcType=BIGINT}, Name = #{record.name,jdbcType=VARCHAR}, CategoryLevel = #{record.categorylevel,jdbcType=SMALLINT}, ParentId = #{record.parentid,jdbcType=BIGINT}, update jsh_materialcategory set Id = #{record.id,jdbcType=BIGINT}, Name = #{record.name,jdbcType=VARCHAR}, CategoryLevel = #{record.categorylevel,jdbcType=SMALLINT}, ParentId = #{record.parentid,jdbcType=BIGINT} update jsh_materialcategory Name = #{name,jdbcType=VARCHAR}, CategoryLevel = #{categorylevel,jdbcType=SMALLINT}, ParentId = #{parentid,jdbcType=BIGINT}, where Id = #{id,jdbcType=BIGINT} update jsh_materialcategory set Name = #{name,jdbcType=VARCHAR}, CategoryLevel = #{categorylevel,jdbcType=SMALLINT}, ParentId = #{parentid,jdbcType=BIGINT} where Id = #{id,jdbcType=BIGINT}