feito o sincronismo dos dados do cidadão domicílio

This commit is contained in:
Reginaldo
2023-05-03 16:17:51 -03:00
parent 7ab1fa5ebd
commit 899cf51fe0
6 changed files with 25 additions and 5 deletions

View File

@@ -470,4 +470,11 @@ class DBQuerys{
Database db = await DbSqliteLoad().intialDB();
await db.update('CADASTROS_INDIVIDUAIS', row,where: "SINCRONIZADO = 'N'");
}
Future updateCadastroDomiciliar()async{
Map<String, dynamic> row = {
'SINCRONIZADO': 'S',
};
Database db = await DbSqliteLoad().intialDB();
await db.update('CIDADAO_DOMICILIO', row,where: "SINCRONIZADO = 'N'");
}
}