@@ -128,7 +128,7 @@ public class CustomServiceImpl extends ServiceImpl<CustomMapper, Custom> impleme
}
if (custom.getCustomName() != null && contactsMapper.selectCount(new QueryWrapper<Contacts>()
- .eq("contacts_name", custom.getContactsName())
+ .eq("name", custom.getContactsName())
) == 0) {
msg.setError("此联系人不存在");
return msg;