| | |
| | | import java.util.List;
|
| | | import java.util.Map;
|
| | | import java.util.stream.Collectors;
|
| | | import javax.annotation.PostConstruct;
|
| | | import jakarta.annotation.PostConstruct;
|
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.stereotype.Service;
|
| | | import org.springframework.transaction.annotation.Transactional;
|
| | |
| | | * @return 结果
|
| | | */
|
| | | @Override
|
| | | public String checkDictTypeUnique(SysDictType dict)
|
| | | public boolean checkDictTypeUnique(SysDictType dict)
|
| | | {
|
| | | Long dictId = StringUtils.isNull(dict.getDictId()) ? -1L : dict.getDictId();
|
| | | SysDictType dictType = dictTypeMapper.checkDictTypeUnique(dict.getDictType());
|