select id, wcBid, wcName, wcDesc, wcStatus, wcLevel, wcTouchtype, wcCondition, wcCreator, wcCreateddate, wcModifieddate, wcModifier, tid from IotWarnconfig
insert into IotWarnconfig
wcBid,wcName,wcDesc,wcStatus,wcLevel,wcTouchtype,wcCondition,wcCreator,wcCreateddate,wcModifieddate,wcModifier,tid,#{wcBid},#{wcName},#{wcDesc},#{wcStatus},#{wcLevel},#{wcTouchtype},#{wcCondition},#{wcCreator},#{wcCreateddate},#{wcModifieddate},#{wcModifier},#{tid},
update IotWarnconfig
wcBid = #{wcBid},wcName = #{wcName},wcDesc = #{wcDesc},wcStatus = #{wcStatus},wcLevel = #{wcLevel},wcTouchtype = #{wcTouchtype},wcCondition = #{wcCondition},wcCreator = #{wcCreator},wcCreateddate = #{wcCreateddate},wcModifieddate = #{wcModifieddate},wcModifier = #{wcModifier},tid = #{tid},
where id = #{id}
delete from IotWarnconfig where id = #{id} and tid = #{tid}
delete from IotWarnconfig where tid = #{tid} and id in
#{id}