用户登录问题修改

This commit is contained in:
jiang 2025-01-06 16:53:04 +08:00
parent eea5aac6ff
commit 8fde2d2cde
1 changed files with 3 additions and 1 deletions

View File

@ -105,8 +105,10 @@ public class FaceGroupsServiceImpl implements FaceGroupsService {
try {
for (Long groupId : groupIds) {
FaceGroupsEntity faceGroupsEntity = faceGroupsMapper.selectFaceGroupsByGroupId(groupId);
if (ObjectUtils.isNotEmpty(faceGroupsEntity)) {
int i = faceGroupsMapper.deleteFaceDataByGroupCode(faceGroupsEntity.getGroupCode());
}
}
int rows = faceGroupsMapper.deleteFaceGroupsByGroupIds(groupIds);
return rows > 0 ? AjaxResult.success() : AjaxResult.error();
} catch (Exception e) {