mirror of
https://gitee.com/openharmony/applications_call
synced 2024-11-27 00:20:46 +00:00
commit
d940951d5e
@ -40,6 +40,7 @@ export default class ContactManager {
|
||||
const columns = ['id', 'display_name', 'detail_info'];
|
||||
const predicates = new dataAbility.DataAbilityPredicates();
|
||||
predicates.equalTo('detail_info', callData.accountNumber);
|
||||
predicates.equalTo('is_deleted', 0);
|
||||
const dataAbilityHelper = await featureAbility.acquireDataAbilityHelper(DBbaseUri);
|
||||
const resSet = await dataAbilityHelper.query(DBUri, columns, predicates);
|
||||
HiLog.i(TAG, "getContactInfo resSet : %s" + JSON.stringify(resSet))
|
||||
|
Loading…
Reference in New Issue
Block a user