select id, kind, code, telno, com_code, createtime, status, iccid, puk from t_facility insert into t_facility kind, code, telno, com_code, createtime, status, iccid, puk, #{kind}, #{code}, #{telno}, #{comCode}, #{createTime}, #{status}, #{iccid}, #{puk}, update t_facility kind = #{kind}, code = #{code}, telno = #{telno}, com_code = #{comCode}, createtime = #{createTime}, status = #{status}, iccid = #{iccid}, puk = #{puk}, where id = #{id} delete from t_facility where id = #{id} delete from t_facility where id in #{id} delete from t_facility where `code` = #{deviceCode}