|
@@ -216,7 +216,7 @@ public class DataSourceServiceImpl implements DataSourceService {
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
- public Result getOpcDaDriverEnum() {
|
|
|
+ public Result getAllDataSouceCls() {
|
|
|
List<DataSource> dataSourceList = dataSourceDao.getDataSourceClsId();
|
|
|
if (Blank.isNotEmpty(dataSourceList)) {
|
|
|
Map<String, String> map = new HashMap<>();
|
|
@@ -257,7 +257,7 @@ public class DataSourceServiceImpl implements DataSourceService {
|
|
|
for (ItemGroup itemGroup : itemGroupList) {
|
|
|
Integer runState = itemGroup.getRunState();
|
|
|
if (runState.equals(ConstantStr.START_UP)) {
|
|
|
- throw new CustomException(ResultEnum.REQUEST_WRONGPARAMS.getRespCode(), "此数据源配置的数据组,存在处于运行中,不能修改");
|
|
|
+ throw new CustomException(ResultEnum.REQUEST_WRONGPARAMS.getRespCode(), "此数据源配置的数据组,存在处于运行中,不能新增");
|
|
|
}
|
|
|
}
|
|
|
List<Item> itemList = itemGroupDao.getItemListByGidList(itemGroupList);
|