select id, wiBid, wcBid, wdBid, wiExpression, wiValue, wiCreator, wiCreateddate, wiModifieddate, wiModifier, tid from IotWarnindicator
insert into IotWarnindicator
wiBid,wcBid,wdBid,wiExpression,wiValue,wiCreator,wiCreateddate,wiModifieddate,wiModifier,tid,#{wiBid},#{wcBid},#{wdBid},#{wiExpression},#{wiValue},#{wiCreator},#{wiCreateddate},#{wiModifieddate},#{wiModifier},#{tid},
update IotWarnindicator
wiBid = #{wiBid},wcBid = #{wcBid},wdBid = #{wdBid},wiExpression = #{wiExpression},wiValue = #{wiValue},wiCreator = #{wiCreator},wiCreateddate = #{wiCreateddate},wiModifieddate = #{wiModifieddate},wiModifier = #{wiModifier},tid = #{tid},
where id = #{id}
delete from IotWarnindicator where id = #{id} and tid = #{tid}
delete from IotWarnindicator where tid = #{tid} and id in
#{id}