t.id as id, t.detect_alive as detectAlive, t.dev_sno as devSno, t.is_first as isFirst, t.name as name, t.openIR_window as openIRWindow, t.register_no as registerNo, t.retry_interval as retryInterval, t.sign_type as signType, t.threshold as threshold, t.through_type as throughType, t.type as type t.detect_alive = #{detectAlive} AND t.dev_sno = #{devSno} AND t.is_first = #{isFirst} AND t.name = #{name} AND t.openIR_window = #{openIRWindow} AND t.register_no = #{registerNo} AND t.retry_interval = #{retryInterval} AND t.sign_type = #{signType} AND t.threshold = #{threshold} AND t.through_type = #{throughType} AND t.type = #{type} AND insert into t_face_device detect_alive, dev_sno, id, is_first, name, openIR_window, register_no, retry_interval, sign_type, threshold, through_type, type, #{detectAlive}, #{devSno}, #{id}, #{isFirst}, #{name}, #{openIRWindow}, #{registerNo}, #{retryInterval}, #{signType}, #{threshold}, #{throughType}, #{type}, update t_face_device detect_alive=#{detectAlive}, dev_sno=#{devSno}, is_first=#{isFirst}, name=#{name}, openIR_window=#{openIRWindow}, register_no=#{registerNo}, retry_interval=#{retryInterval}, sign_type=#{signType}, threshold=#{threshold}, through_type=#{throughType}, type=#{type}, where id=#{id} update t_face_device SET is_use = 0 where id=#{id} delete from t_face_device where id=#{id}