insert into `t_device_health_state` (`total_count`, `normal`, `common`, `heavy`, `serious`, `espserious`, `creator_date`)
VALUES (#{total_count}, #{normal}, #{common}, #{heavy}, #{serious}, #{espSerious}, SYSDATE())
update t_device_health_state
set total_count = #{total_count},
normal = #{normal},
common = #{common},
heavy = #{heavy},
serious = #{serious},
espserious = #{espSerious},
creator_date = SYSDATE()
where id = #{id}