1.在数据库中以json字符串格式保存,如:[{"name":"张三","time":"8.592","area":"27.27033","conc":"4.12136"},{"name":"李四","time":"9.100","area":"56.21229","conc":"4.57692"}]2.添加新内容后合并不相同的数据。如果name相同,以最新的数据替换原来的数据。如:数据库中原保存的数据是[{"name":"张三","time":"8.592","area":"27...
查看全文