insert into owners_committee_convention(
mp_id, quota, owners_committee_resolution,
owners_committee_consultation
) values (
#{mpId}, #{quota}, #{ownersCommitteeResolution},
#{ownersCommitteeConsultation}
)
insert into owners_committee_convention(
mp_id, quota, owners_committee_resolution,
owners_committee_consultation
) values
( #{item.mpId}, #{item.quota}, #{item.ownersCommitteeResolution},
#{item.ownersCommitteeConsultation} )
update owners_committee_convention t
t.mp_id = #{mpId},
t.quota = #{quota},
t.owners_committee_resolution = #{ownersCommitteeResolution},
t.owners_committee_consultation = #{ownersCommitteeConsultation},
t.update_time = CURRENT_TIMESTAMP
where 1 = 1
and t.id = #{id}
and t.mp_id = #{mpId}
delete from owners_committee_convention t
where 1 = 1
and t.id = #{id}
and t.mp_id = #{mpId}