@@ -73,7 +73,7 @@ class UsuallyContactsService extends ServiceBase {
...
@@ -73,7 +73,7 @@ class UsuallyContactsService extends ServiceBase {
//查询常用联系人、申请人
//查询常用联系人、申请人
asyncgetContacts(pobj,actionBody){
asyncgetContacts(pobj,actionBody){
letsql=`select id,channel_user_id,contact_name,contacts_content,type from c_usually_contacts where uapp_id = :uapp_id and channel_user_id = :channel_user_id and type = :type and deleted_at is null`;
letsql=`select id,channel_user_id,contact_name,contacts_content,type from c_usually_contacts where uapp_id = :uapp_id and channel_user_id = :channel_user_id and type = :type`;
if(!actionBody.type){
if(!actionBody.type){
returnsystem.getResultFail(-1,'type 不能为空')
returnsystem.getResultFail(-1,'type 不能为空')
}
}
...
@@ -85,6 +85,11 @@ class UsuallyContactsService extends ServiceBase {
...
@@ -85,6 +85,11 @@ class UsuallyContactsService extends ServiceBase {