| | |
| | |
|
| | | import java.util.Collection;
|
| | | import java.util.List;
|
| | | import javax.annotation.PostConstruct;
|
| | | import jakarta.annotation.PostConstruct;
|
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.stereotype.Service;
|
| | | import com.ruoyi.common.constant.CacheConstants;
|
| | |
| | | * @return 结果
|
| | | */
|
| | | @Override
|
| | | public String checkConfigKeyUnique(SysConfig config)
|
| | | public boolean checkConfigKeyUnique(SysConfig config)
|
| | | {
|
| | | Long configId = StringUtils.isNull(config.getConfigId()) ? -1L : config.getConfigId();
|
| | | SysConfig info = configMapper.checkConfigKeyUnique(config.getConfigKey());
|