GUID,
ORG_GUID,
NOT_ORG_TYPE,
FROM_DATE,
TO_DATE
#{guid},
#{orgGuid},
#{notOrgType},
#{fromDate},
#{toDate}
and ORG_GUID = #{orgGuid}
and NOT_ORG_TYPE = #{notOrgType}
and FROM_DATE = #{fromDate}
and TO_DATE = #{toDate}
insert into rel_rect_not_org(
)
values (
)
delete from rel_rect_not_org where ID = #{id}
delete from rel_rect_not_org
update rel_rect_not_org set flag_valid = 0 where ID = #{id}
update rel_rect_not_org
ORG_GUID = #{orgGuid},
NOT_ORG_TYPE = #{notOrgType},
FROM_DATE = #{fromDate},
TO_DATE = #{toDate},
ID = #{id}
update rel_rect_not_org
ORG_GUID = #{orgGuid},
NOT_ORG_TYPE = #{notOrgType},
FROM_DATE = #{fromDate},
TO_DATE = #{toDate},