A.oc_id, A.lg_id, A.lg_name, A.lg_duty, A.lg_desc, A.sort_no, A.parent_id, A.is_fixed, A.root_id, A.node_left, A.node_right, A.node_level, A.is_leaf INSERT INTO leading_group oc_id, lg_id, lg_name, lg_duty, lg_desc, sort_no, root_id, parent_id, node_left, node_right, node_level, is_leaf, created_by, created_at, #{ocId ,jdbcType=BIGINT}, #{lgId ,jdbcType=BIGINT}, #{lgName ,jdbcType=VARCHAR}, #{lgDuty ,jdbcType=VARCHAR}, #{lgDesc ,jdbcType=VARCHAR}, #{sortNo ,jdbcType=BIGINT}, #{rootId ,jdbcType=BIGINT}, #{parentId ,jdbcType=BIGINT}, #{nodeLeft ,jdbcType=BIGINT}, #{nodeRight ,jdbcType=BIGINT}, #{nodeLevel ,jdbcType=BIGINT}, #{isLeaf ,jdbcType=BIGINT}, #{createdBy ,jdbcType=BIGINT}, #{createdAt ,jdbcType=TIMESTAMP}, UPDATE leading_group lg_name = #{lgName, jdbcType=VARCHAR}, lg_duty = #{lgDuty ,jdbcType=VARCHAR}, lg_desc = #{lgDesc, jdbcType=VARCHAR}, sort_no = #{sortNo ,jdbcType=BIGINT}, root_id = #{rootId ,jdbcType=BIGINT}, parent_id = #{parentId ,jdbcType=BIGINT}, node_left = #{nodeLeft ,jdbcType=BIGINT}, node_right = #{nodeRight ,jdbcType=BIGINT}, node_level = #{nodeLevel ,jdbcType=BIGINT}, is_leaf = #{isLeaf ,jdbcType=BIGINT}, updated_by = #{updatedBy ,jdbcType=BIGINT}, updated_at = #{updatedAt ,jdbcType=TIMESTAMP}, WHERE 1 = 1 AND oc_Id = #{ocId ,jdbcType=BIGINT} AND lg_id = #{lgId ,jdbcType=BIGINT} UPDATE leading_group deleted_flag = #{deletedFlag,jdbcType=BIGINT}, deleted_at = #{deletedAt,jdbcType=TIMESTAMP}, deleted_by = #{deletedBy,jdbcType=BIGINT} WHERE 1=1 AND oc_id = #{ocId ,jdbcType=BIGINT} AND lg_id = #{lgId ,jdbcType=BIGINT} AND parent_id = #{parentId ,jdbcType=BIGINT} AND root_id = #{rootId ,jdbcType=BIGINT} = #{nodeLeft ,jdbcType=BIGINT} AND node_right <= #{nodeRight ,jdbcType=BIGINT} ]]>