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

@@ -585,7 +585,7 @@ class _RegisterCitizenScreenState extends State<RegisterCitizenScreen> {
selectCountry = widget.listData[0]['ID_PAIS_RESID']==33?'BRASIL':'OUTRO';
int codCity = widget.listData[0]['ID_MUNICIPIO_RESID'];
List listCity = await DBQuerys().buscaMunicipioporId(codCity);
cityController.text = listCity[0]['NO_MUNICIPIO']+listCity.length!=0?' - SP':'';
cityController.text = listCity.length!=0?listCity[0]['NO_MUNICIPIO']+' - SP':'';
resultListResid = listCity;
codIBGEController.text = listCity[0]['CODIGO_IBGE'];
selectVillage = widget.listData[0]['NO_BAIRRO_LOGR'];