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}
BRH_ID, BRH_NAME, BRH_CORE_ID, BRH_LEVEL, BRH_PARENTID, BRH_REGIONID, BRH_DESC, BRH_ADDRESS,
BRH_DEALBRANCH, BRH_CORBRH, BRH_STT, BRH_PERSON, BRH_PHONE, BRH_SHORTNAME, BRH_COMPANY_ID
delete from im_branch
where BRH_ID = #{id,jdbcType=VARCHAR}
delete from im_branch
insert into im_branch (BRH_ID, BRH_NAME, BRH_CORE_ID,
BRH_LEVEL, BRH_PARENTID, BRH_REGIONID,
BRH_DESC, BRH_ADDRESS, BRH_DEALBRANCH,
BRH_CORBRH, BRH_STT, BRH_PERSON, BRH_PHONE,
BRH_SHORTNAME, BRH_COMPANY_ID)
values (#{id,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, #{coreId,jdbcType=VARCHAR},
#{level,jdbcType=INTEGER}, #{parentid,jdbcType=VARCHAR}, #{regionid,jdbcType=VARCHAR},
#{desc,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{dealbranch,jdbcType=VARCHAR},
#{corbrh,jdbcType=VARCHAR}, #{stt,jdbcType=CHAR}, #{person,jdbcType=VARCHAR}, #{phone,jdbcType=VARCHAR},
#{shortname,jdbcType=VARCHAR}, #{companyId,jdbcType=VARCHAR})
insert into im_branch
BRH_ID,
BRH_NAME,
BRH_CORE_ID,
BRH_LEVEL,
BRH_PARENTID,
BRH_REGIONID,
BRH_DESC,
BRH_ADDRESS,
BRH_DEALBRANCH,
BRH_CORBRH,
BRH_STT,
BRH_PERSON,
BRH_PHONE,
BRH_SHORTNAME,
BRH_COMPANY_ID,
#{id,jdbcType=VARCHAR},
#{name,jdbcType=VARCHAR},
#{coreId,jdbcType=VARCHAR},
#{level,jdbcType=INTEGER},
#{parentid,jdbcType=VARCHAR},
#{regionid,jdbcType=VARCHAR},
#{desc,jdbcType=VARCHAR},
#{address,jdbcType=VARCHAR},
#{dealbranch,jdbcType=VARCHAR},
#{corbrh,jdbcType=VARCHAR},
#{stt,jdbcType=CHAR},
#{person,jdbcType=VARCHAR},
#{phone,jdbcType=VARCHAR},
#{shortname,jdbcType=VARCHAR},
#{companyId,jdbcType=VARCHAR},
update im_branch
BRH_ID = #{record.id,jdbcType=VARCHAR},
BRH_NAME = #{record.name,jdbcType=VARCHAR},
BRH_CORE_ID = #{record.coreId,jdbcType=VARCHAR},
BRH_LEVEL = #{record.level,jdbcType=INTEGER},
BRH_PARENTID = #{record.parentid,jdbcType=VARCHAR},
BRH_REGIONID = #{record.regionid,jdbcType=VARCHAR},
BRH_DESC = #{record.desc,jdbcType=VARCHAR},
BRH_ADDRESS = #{record.address,jdbcType=VARCHAR},
BRH_DEALBRANCH = #{record.dealbranch,jdbcType=VARCHAR},
BRH_CORBRH = #{record.corbrh,jdbcType=VARCHAR},
BRH_STT = #{record.stt,jdbcType=CHAR},
BRH_PERSON = #{record.person,jdbcType=VARCHAR},
BRH_PHONE = #{record.phone,jdbcType=VARCHAR},
BRH_SHORTNAME = #{record.shortname,jdbcType=VARCHAR},
BRH_COMPANY_ID = #{record.companyId,jdbcType=VARCHAR},
update im_branch
set BRH_ID = #{record.id,jdbcType=VARCHAR},
BRH_NAME = #{record.name,jdbcType=VARCHAR},
BRH_CORE_ID = #{record.coreId,jdbcType=VARCHAR},
BRH_LEVEL = #{record.level,jdbcType=INTEGER},
BRH_PARENTID = #{record.parentid,jdbcType=VARCHAR},
BRH_REGIONID = #{record.regionid,jdbcType=VARCHAR},
BRH_DESC = #{record.desc,jdbcType=VARCHAR},
BRH_ADDRESS = #{record.address,jdbcType=VARCHAR},
BRH_DEALBRANCH = #{record.dealbranch,jdbcType=VARCHAR},
BRH_CORBRH = #{record.corbrh,jdbcType=VARCHAR},
BRH_STT = #{record.stt,jdbcType=CHAR},
BRH_PERSON = #{record.person,jdbcType=VARCHAR},
BRH_PHONE = #{record.phone,jdbcType=VARCHAR},
BRH_SHORTNAME = #{record.shortname,jdbcType=VARCHAR},
BRH_COMPANY_ID = #{record.companyId,jdbcType=VARCHAR}
update im_branch
BRH_NAME = #{name,jdbcType=VARCHAR},
BRH_CORE_ID = #{coreId,jdbcType=VARCHAR},
BRH_LEVEL = #{level,jdbcType=INTEGER},
BRH_PARENTID = #{parentid,jdbcType=VARCHAR},
BRH_REGIONID = #{regionid,jdbcType=VARCHAR},
BRH_DESC = #{desc,jdbcType=VARCHAR},
BRH_ADDRESS = #{address,jdbcType=VARCHAR},
BRH_DEALBRANCH = #{dealbranch,jdbcType=VARCHAR},
BRH_CORBRH = #{corbrh,jdbcType=VARCHAR},
BRH_STT = #{stt,jdbcType=CHAR},
BRH_PERSON = #{person,jdbcType=VARCHAR},
BRH_PHONE = #{phone,jdbcType=VARCHAR},
BRH_SHORTNAME = #{shortname,jdbcType=VARCHAR},
BRH_COMPANY_ID = #{companyId,jdbcType=VARCHAR},
where BRH_ID = #{id,jdbcType=VARCHAR}
update im_branch
set BRH_NAME = #{name,jdbcType=VARCHAR},
BRH_CORE_ID = #{coreId,jdbcType=VARCHAR},
BRH_LEVEL = #{level,jdbcType=INTEGER},
BRH_PARENTID = #{parentid,jdbcType=VARCHAR},
BRH_REGIONID = #{regionid,jdbcType=VARCHAR},
BRH_DESC = #{desc,jdbcType=VARCHAR},
BRH_ADDRESS = #{address,jdbcType=VARCHAR},
BRH_DEALBRANCH = #{dealbranch,jdbcType=VARCHAR},
BRH_CORBRH = #{corbrh,jdbcType=VARCHAR},
BRH_STT = #{stt,jdbcType=CHAR},
BRH_PERSON = #{person,jdbcType=VARCHAR},
BRH_PHONE = #{phone,jdbcType=VARCHAR},
BRH_SHORTNAME = #{shortname,jdbcType=VARCHAR},
BRH_COMPANY_ID = #{companyId,jdbcType=VARCHAR}
where BRH_ID = #{id,jdbcType=VARCHAR}