update 新增会议
This commit is contained in:
+8
@@ -47,6 +47,7 @@ import java.sql.Connection;
|
||||
import java.sql.DatabaseMetaData;
|
||||
import java.sql.SQLException;
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
/**
|
||||
* @Description: 底层共通业务API,提供其他独立模块调用
|
||||
@@ -280,6 +281,13 @@ public class SysBaseApiImpl implements ISysBaseAPI {
|
||||
return sysDictService.queryTableDictItemsByCode(table, text, code);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Map<String, String> queryDictItemsMapByCode(String code) {
|
||||
return sysDictService.queryDictItemsByCode(code)
|
||||
.stream()
|
||||
.collect(Collectors.toMap(DictModel::getText, DictModel::getValue));
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<DictModel> queryAllDepartBackDictModel() {
|
||||
return sysDictService.queryAllDepartBackDictModel();
|
||||
|
||||
Reference in New Issue
Block a user