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