// // SPSBMineMessageModel.m // 我的社保 // // Created by shanp on 2021/5/21. // #import "SPSBMineMessageModel.h" #import "SPSBSQLProfile.h" @implementation SPSBMineMessageModel + (void)insertMessageDataWithArray:(NSArray *)array { for (NSDictionary *dic in array) { SPSBMineMessageModel *messageModel = SPSBMineMessageModel.new; [messageModel handleDataWithDictionary:dic]; [JXHFMDBManager updateWithPath:SPSBShanpSocialInsuranceLocationSQL condition:^id(FMDatabase *database) { return @([database executeUpdate:@"insert into t_sp_message (title, time, content) values (?, ?, ?) ", messageModel.spsb_title, messageModel.spsb_time, messageModel.spsb_content]); }]; } } @end