修复bug-3283

pro
wj 2 years ago
parent 49eb0cfe9d
commit 19f3441991

@ -15,6 +15,7 @@ import javax.annotation.Resource;
import java.util.Collections;
import java.util.Date;
import java.util.List;
import java.util.Objects;
@Service
@Transactional(rollbackFor = Exception.class)
@ -104,7 +105,7 @@ public class BasicCorpServiceImpl extends ServiceImpl<BasicCorpDao, BasicCorpEnt
if (CollUtil.isNotEmpty(list)) {
if (null != basicCorpEntity.getId()) {
for (BasicCorpEntity corpEntity : list) {
if (corpEntity.getId() != basicCorpEntity.getId()) {
if (!Objects.equals(corpEntity.getId(), basicCorpEntity.getId())) {
return true;
}
}

Loading…
Cancel
Save