
-- 定时器停掉后，更新前 执行。
CREATE TABLE person_base_info_bk SELECT * FROM person_base_info;
CREATE TABLE person_base_info_temp SELECT * FROM person_base_info WHERE state=1;
TRUNCATE person_base_info;
insert into person_base_info(active,create_time,update_time,idnum,address,name,imgPath,state,updateflag)
SELECT active,create_time,update_time,idnum,address,name,imgPath,state,updateflag FROM person_base_info_temp;
