|
@@ -438,11 +438,9 @@ public class TaPersonServiceImpl extends ServiceImpl<TaPersonMapper, TaPerson> i
|
438
|
438
|
taPerson.setStatus(CommConstant.STATUS_NORMAL);
|
439
|
439
|
taPerson.setCreateDate(LocalDateTime.now());
|
440
|
440
|
if (taPersonMapper.insert(taPerson) > 0) {
|
441
|
|
- taPersonMapper.upDatePersonCityToId(taPerson.getPersonId());
|
442
|
441
|
return taPerson;
|
443
|
442
|
}
|
444
|
443
|
} else {
|
445
|
|
- taPersonMapper.upDatePersonCityToId(taPersons.get(0).getPersonId());
|
446
|
444
|
return taPersons.get(0);
|
447
|
445
|
}
|
448
|
446
|
|