Commit 85ac4add authored by 刘林's avatar 刘林

Merge remote-tracking branch 'origin/develop_tzs_register' into develop_tzs_register

parents 74df6d5c 259dc624
......@@ -827,10 +827,12 @@ public class CommonServiceImpl implements ICommonService {
@Override
public List<Map<String, Object>> getUnitListByType(String type, String business, Boolean needAuth) {
List<Map<String, Object>> unitList = new ArrayList<>(Collections.emptyList());
if (Objects.equals(type, "use")) {
// 该接口不暴露使用单位信息,返回空列表
return unitList;
}
switch (type) {
case "use":
type = "使用单位";
break;
case "maintenance":
type = "安装改造维修单位";
break;
......@@ -844,7 +846,6 @@ public class CommonServiceImpl implements ICommonService {
type = "all";
break;
}
List<Map<String, Object>> unitList = new ArrayList<>(Collections.emptyList());
// 检验检测机构 追加车用气瓶
if ("检验检测机构".equals(type) && "gasCylindersForCars".equals(business)) {
List<DictionarieValueModel> result = Systemctl.dictionarieClient.dictValues("OLD_INSPECTION_TESTING_UNIT").getResult();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment