|
@@ -37,7 +37,7 @@ func (l *UpdateContactLogic) UpdateContact(req *types.ContactInfo) (*types.BaseM
|
|
|
if req.Cage != nil && *req.Cage > 0 {
|
|
|
cage = *req.Cage
|
|
|
}
|
|
|
- err := l.svcCtx.DB.Contact.UpdateOneID(*req.Id).
|
|
|
+ err = l.svcCtx.DB.Contact.UpdateOneID(*req.Id).
|
|
|
Where(contact.OrganizationID(organizationId)).
|
|
|
SetNotNilStatus(req.Status).
|
|
|
SetNotNilWxWxid(req.WxWxid).
|