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, create_id, create_time, update_time, delete_sign, cid, cname, super_id, layer, status, varieties_logo, sort delete from business_varieties where id = #{id,jdbcType=VARCHAR} delete from business_varieties insert into business_varieties (id, create_id, create_time, update_time, delete_sign, cid, cname, super_id, layer, status, varieties_logo, sort ) values (#{id,jdbcType=VARCHAR}, #{createId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{deleteSign,jdbcType=INTEGER}, #{cid,jdbcType=VARCHAR}, #{cname,jdbcType=VARCHAR}, #{superId,jdbcType=VARCHAR}, #{layer,jdbcType=INTEGER}, #{status,jdbcType=VARCHAR}, #{varietiesLogo,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER} ) insert into business_varieties id, create_id, create_time, update_time, delete_sign, cid, cname, super_id, layer, status, varieties_logo, sort, #{id,jdbcType=VARCHAR}, #{createId,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP}, #{deleteSign,jdbcType=INTEGER}, #{cid,jdbcType=VARCHAR}, #{cname,jdbcType=VARCHAR}, #{superId,jdbcType=VARCHAR}, #{layer,jdbcType=INTEGER}, #{status,jdbcType=VARCHAR}, #{varietiesLogo,jdbcType=VARCHAR}, #{sort,jdbcType=INTEGER}, update business_varieties id = #{record.id,jdbcType=VARCHAR}, create_id = #{record.createId,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, delete_sign = #{record.deleteSign,jdbcType=INTEGER}, cid = #{record.cid,jdbcType=VARCHAR}, cname = #{record.cname,jdbcType=VARCHAR}, super_id = #{record.superId,jdbcType=VARCHAR}, layer = #{record.layer,jdbcType=INTEGER}, status = #{record.status,jdbcType=VARCHAR}, varieties_logo = #{record.varietiesLogo,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER}, update business_varieties set id = #{record.id,jdbcType=VARCHAR}, create_id = #{record.createId,jdbcType=VARCHAR}, create_time = #{record.createTime,jdbcType=TIMESTAMP}, update_time = #{record.updateTime,jdbcType=TIMESTAMP}, delete_sign = #{record.deleteSign,jdbcType=INTEGER}, cid = #{record.cid,jdbcType=VARCHAR}, cname = #{record.cname,jdbcType=VARCHAR}, super_id = #{record.superId,jdbcType=VARCHAR}, layer = #{record.layer,jdbcType=INTEGER}, status = #{record.status,jdbcType=VARCHAR}, varieties_logo = #{record.varietiesLogo,jdbcType=VARCHAR}, sort = #{record.sort,jdbcType=INTEGER} update business_varieties create_id = #{createId,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, delete_sign = #{deleteSign,jdbcType=INTEGER}, cid = #{cid,jdbcType=VARCHAR}, cname = #{cname,jdbcType=VARCHAR}, super_id = #{superId,jdbcType=VARCHAR}, layer = #{layer,jdbcType=INTEGER}, status = #{status,jdbcType=VARCHAR}, varieties_logo = #{varietiesLogo,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER}, where id = #{id,jdbcType=VARCHAR} update business_varieties set create_id = #{createId,jdbcType=VARCHAR}, create_time = #{createTime,jdbcType=TIMESTAMP}, update_time = #{updateTime,jdbcType=TIMESTAMP}, delete_sign = #{deleteSign,jdbcType=INTEGER}, cid = #{cid,jdbcType=VARCHAR}, cname = #{cname,jdbcType=VARCHAR}, super_id = #{superId,jdbcType=VARCHAR}, layer = #{layer,jdbcType=INTEGER}, status = #{status,jdbcType=VARCHAR}, varieties_logo = #{varietiesLogo,jdbcType=VARCHAR}, sort = #{sort,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR} update business_varieties set sort = sort-1 where sort > #{sort,jdbcType=VARCHAR}