用户登录问题修改
This commit is contained in:
parent
eea5aac6ff
commit
8fde2d2cde
|
|
@ -105,7 +105,9 @@ public class FaceGroupsServiceImpl implements FaceGroupsService {
|
||||||
try {
|
try {
|
||||||
for (Long groupId : groupIds) {
|
for (Long groupId : groupIds) {
|
||||||
FaceGroupsEntity faceGroupsEntity = faceGroupsMapper.selectFaceGroupsByGroupId(groupId);
|
FaceGroupsEntity faceGroupsEntity = faceGroupsMapper.selectFaceGroupsByGroupId(groupId);
|
||||||
int i = faceGroupsMapper.deleteFaceDataByGroupCode(faceGroupsEntity.getGroupCode());
|
if (ObjectUtils.isNotEmpty(faceGroupsEntity)) {
|
||||||
|
int i = faceGroupsMapper.deleteFaceDataByGroupCode(faceGroupsEntity.getGroupCode());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
int rows = faceGroupsMapper.deleteFaceGroupsByGroupIds(groupIds);
|
int rows = faceGroupsMapper.deleteFaceGroupsByGroupIds(groupIds);
|
||||||
return rows > 0 ? AjaxResult.success() : AjaxResult.error();
|
return rows > 0 ? AjaxResult.success() : AjaxResult.error();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue