GUID,
PGUID,
ORG_CODE,
ORG_NAME,
ORG_LEVEL,
ORG_GRAD,
ORG_TYPE,
ORDERNUM,
AD_CODE,
STATUS,
MODIFIER,
FROM_DATE,
TO_DATE,
NOTE,
JURD,
AREA_TYPE,
NODE_CODE
#{guid},
#{pguid},
#{orgCode},
#{orgName},
#{orgLevel},
#{orgGrad},
#{orgType},
#{ordernum},
#{adCode},
#{status},
#{modifier},
#{fromDate},
#{toDate},
#{note},
#{jurd},
#{areaType},
#{nodeCode}
and PGUID = #{pguid}
and ORG_CODE = #{orgCode}
and ORG_NAME = #{orgName}
and ORG_LEVEL = #{orgLevel}
and ORG_GRAD = #{orgGrad}
and ORG_TYPE = #{orgType}
and ORDERNUM = #{ordernum}
and AD_CODE LIKE #{adCode}
and STATUS = #{status}
and MODIFIER = #{modifier}
and FROM_DATE = #{fromDate}
and TO_DATE = #{toDate}
and NOTE = #{note}
and JURD = #{jurd}
and AREA_TYPE = #{areaType}
and NODE_CODE = #{nodeCode}
insert into att_org_base(
)
values (
)
delete from att_org_base where ID = #{id}
delete from att_org_base
update att_org_base set flag_valid = 0 where ID = #{id}
update att_org_base
PGUID = #{pguid},
ORG_CODE = #{orgCode},
ORG_NAME = #{orgName},
ORG_LEVEL = #{orgLevel},
ORG_GRAD = #{orgGrad},
ORG_TYPE = #{orgType},
ORDERNUM = #{ordernum},
AD_CODE = #{adCode},
STATUS = #{status},
MODIFIER = #{modifier},
FROM_DATE = #{fromDate},
TO_DATE = #{toDate},
NOTE = #{note},
JURD = #{jurd},
AREA_TYPE = #{areaType},
NODE_CODE = #{nodeCode},
ID = #{id}
update att_org_base
PGUID = #{pguid},
ORG_CODE = #{orgCode},
ORG_NAME = #{orgName},
ORG_LEVEL = #{orgLevel},
ORG_GRAD = #{orgGrad},
ORG_TYPE = #{orgType},
ORDERNUM = #{ordernum},
AD_CODE = #{adCode},
STATUS = #{status},
MODIFIER = #{modifier},
FROM_DATE = #{fromDate},
TO_DATE = #{toDate},
NOTE = #{note},
JURD = #{jurd},
AREA_TYPE = #{areaType},
NODE_CODE = #{nodeCode},