id, org_id, org_name, p_org_name, channel_info_id, default_or_not, status, create_by, create_time, update_by, update_time
delete from channel_org_config
where id = #{id,jdbcType=BIGINT}
insert into channel_org_config (
id,
org_id,
org_name,
p_org_name,
channel_info_id,
default_or_not,
status,
create_by,
create_time,
update_by,
update_time
)
values (
#{id,jdbcType=BIGINT},
#{orgId,jdbcType=BIGINT},
#{orgName,jdbcType=VARCHAR},
#{pOrgName,jdbcType=VARCHAR},
#{channelInfoId,jdbcType=BIGINT},
#{defaultOrNot,jdbcType=INTEGER},
#{status,jdbcType=INTEGER},
#{createBy,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=BIGINT},
#{updateTime,jdbcType=TIMESTAMP}
)
insert into channel_org_config
id,
org_id,
org_name,
p_org_name,
channel_info_id,
default_or_not,
status,
create_by,
create_time,
update_by,
update_time,
#{id,jdbcType=BIGINT},
#{orgId,jdbcType=BIGINT},
#{orgName,jdbcType=VARCHAR},
#{pOrgName,jdbcType=VARCHAR},
#{channelInfoId,jdbcType=BIGINT},
#{defaultOrNot,jdbcType=INTEGER},
#{status,jdbcType=INTEGER},
#{createBy,jdbcType=BIGINT},
#{createTime,jdbcType=TIMESTAMP},
#{updateBy,jdbcType=BIGINT},
#{updateTime,jdbcType=TIMESTAMP},
update channel_org_config
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR},
p_org_name = #{pOrgName,jdbcType=VARCHAR},
channel_info_id = #{channelInfoId,jdbcType=BIGINT},
default_or_not = #{defaultOrNot,jdbcType=INTEGER},
status = #{status,jdbcType=INTEGER},
create_by = #{createBy,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=TIMESTAMP},
where id = #{id,jdbcType=BIGINT}
update channel_org_config
set
org_id = #{orgId,jdbcType=BIGINT},
org_name = #{orgName,jdbcType=VARCHAR},
p_org_name = #{pOrgName,jdbcType=VARCHAR},
channel_info_id = #{channelInfoId,jdbcType=BIGINT},
default_or_not = #{defaultOrNot,jdbcType=INTEGER},
status = #{status,jdbcType=INTEGER},
create_by = #{createBy,jdbcType=BIGINT},
create_time = #{createTime,jdbcType=TIMESTAMP},
update_by = #{updateBy,jdbcType=BIGINT},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=BIGINT}