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, descripion, url, is_blank, pid, perms, type, icon, order_num, visible, (select count(1) from t_sys_permission where pid=a.id) childcount delete from t_sys_permission where id = #{id,jdbcType=VARCHAR} delete from t_sys_permission insert into t_sys_permission (id, name, descripion, url, is_blank, pid, perms, type, icon, order_num, visible) values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{descripion,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{isBlank,jdbcType=INTEGER}, #{pid,jdbcType=VARCHAR}, #{perms,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR}, #{orderNum,jdbcType=INTEGER}, #{visible,jdbcType=INTEGER}) insert into t_sys_permission id, name, descripion, url, is_blank, pid, perms, type, icon, order_num, visible, #{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{descripion,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{isBlank,jdbcType=INTEGER}, #{pid,jdbcType=VARCHAR}, #{perms,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{icon,jdbcType=VARCHAR}, #{orderNum,jdbcType=INTEGER}, #{visible,jdbcType=INTEGER}, update t_sys_permission id = #{record.id,jdbcType=VARCHAR}, name = #{record.name,jdbcType=VARCHAR}, descripion = #{record.descripion,jdbcType=VARCHAR}, url = #{record.url,jdbcType=VARCHAR}, is_blank = #{record.isBlank,jdbcType=INTEGER}, pid = #{record.pid,jdbcType=VARCHAR}, perms = #{record.perms,jdbcType=VARCHAR}, type = #{record.type,jdbcType=INTEGER}, icon = #{record.icon,jdbcType=VARCHAR}, order_num = #{record.orderNum,jdbcType=INTEGER}, visible = #{record.visible,jdbcType=INTEGER}, update t_sys_permission set id = #{record.id,jdbcType=VARCHAR}, name = #{record.name,jdbcType=VARCHAR}, descripion = #{record.descripion,jdbcType=VARCHAR}, url = #{record.url,jdbcType=VARCHAR}, is_blank = #{record.isBlank,jdbcType=INTEGER}, pid = #{record.pid,jdbcType=VARCHAR}, perms = #{record.perms,jdbcType=VARCHAR}, type = #{record.type,jdbcType=INTEGER}, icon = #{record.icon,jdbcType=VARCHAR}, order_num = #{record.orderNum,jdbcType=INTEGER}, visible = #{record.visible,jdbcType=INTEGER} update t_sys_permission name = #{name,jdbcType=VARCHAR}, descripion = #{descripion,jdbcType=VARCHAR}, url = #{url,jdbcType=VARCHAR}, is_blank = #{isBlank,jdbcType=INTEGER}, pid = #{pid,jdbcType=VARCHAR}, perms = #{perms,jdbcType=VARCHAR}, type = #{type,jdbcType=INTEGER}, icon = #{icon,jdbcType=VARCHAR}, order_num = #{orderNum,jdbcType=INTEGER}, visible = #{visible,jdbcType=INTEGER}, where id = #{id,jdbcType=VARCHAR} update t_sys_permission set name = #{name,jdbcType=VARCHAR}, descripion = #{descripion,jdbcType=VARCHAR}, url = #{url,jdbcType=VARCHAR}, is_blank = #{isBlank,jdbcType=INTEGER}, pid = #{pid,jdbcType=VARCHAR}, perms = #{perms,jdbcType=VARCHAR}, type = #{type,jdbcType=INTEGER}, icon = #{icon,jdbcType=VARCHAR}, order_num = #{orderNum,jdbcType=INTEGER}, visible = #{visible,jdbcType=INTEGER} where id = #{id,jdbcType=VARCHAR}