id, user_id, user_type, org_code, pre_type, updated_at, updated_by, created_at, created_by, del_flag delete from t_user_permission where id = #{id,jdbcType=BIGINT} insert into t_user_permission (user_id, user_type, org_code, pre_type, updated_at, updated_by, created_at, created_by, del_flag ) values (#{userId,jdbcType=BIGINT}, #{userType,jdbcType=VARCHAR}, #{orgCode,jdbcType=BIGINT}, #{preType,jdbcType=VARCHAR}, #{updatedAt,jdbcType=TIMESTAMP}, #{updatedBy,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=VARCHAR}, #{delFlag,jdbcType=VARCHAR} ) insert into t_user_permission user_id, user_type, org_code, pre_type, updated_at, updated_by, created_at, created_by, del_flag, #{userId,jdbcType=BIGINT}, #{userType,jdbcType=VARCHAR}, #{orgCode,jdbcType=BIGINT}, #{preType,jdbcType=VARCHAR}, #{updatedAt,jdbcType=TIMESTAMP}, #{updatedBy,jdbcType=VARCHAR}, #{createdAt,jdbcType=TIMESTAMP}, #{createdBy,jdbcType=VARCHAR}, #{delFlag,jdbcType=VARCHAR}, update t_user_permission user_id = #{userId,jdbcType=BIGINT}, user_type = #{userType,jdbcType=VARCHAR}, org_code = #{orgCode,jdbcType=VARCHAR}, pre_type = #{preType,jdbcType=VARCHAR}, updated_at = #{updatedAt,jdbcType=TIMESTAMP}, updated_by = #{updatedBy,jdbcType=VARCHAR}, created_at = #{createdAt,jdbcType=TIMESTAMP}, created_by = #{createdBy,jdbcType=VARCHAR}, del_flag = #{delFlag,jdbcType=VARCHAR}, where id = #{id,jdbcType=BIGINT} update t_user_permission set user_id = #{userId,jdbcType=BIGINT}, user_type = #{userType,jdbcType=VARCHAR}, org_code = #{orgCode,jdbcType=VARCHAR}, pre_type = #{preType,jdbcType=VARCHAR}, updated_at = #{updatedAt,jdbcType=TIMESTAMP}, updated_by = #{updatedBy,jdbcType=VARCHAR}, created_at = #{createdAt,jdbcType=TIMESTAMP}, created_by = #{createdBy,jdbcType=VARCHAR}, del_flag = #{delFlag,jdbcType=VARCHAR} where id = #{id,jdbcType=BIGINT}