Commit b01a24d2 authored by chenzhao's avatar chenzhao

超设计年限登记增加功能入口增加提示

parent 1fb2e503
......@@ -549,6 +549,25 @@ public class CommonController extends BaseController {
// 在平台字典配置的自定义业务的设备种类:格式{bizType}_SBZL,如BF_YZ_SBZL==》移装注销-设备种类
String suffix = "_SBZL";
String dictCode = bizType + suffix;
List<JSONObject> result = new ArrayList<>();
List<DictionarieValueModel> resultObj = Systemctl.dictionarieClient.dictValues(dictCode).getResult();
if (bizType.equals("DJ_CSJ")){
for (DictionarieValueModel dictionarieValueModel : resultObj) {
if (dictionarieValueModel.getDictCode().equals("2000")){
JSONObject jsonObject = JSONObject.parseObject(JSON.toJSONString(dictionarieValueModel));
jsonObject.put("tips","压力容器需先进行委托检验,在办理变更登记时上传委托检验报告");
result.add(jsonObject );
}else {
JSONObject jsonObject = JSONObject.parseObject(JSON.toJSONString(dictionarieValueModel));
jsonObject.put("tips","大型游乐设施需先进行安全评估,如评估结果为改造或重大维修,则需先办理改造告知或维修告知,进行监督检验后,再进行变更登记;如安全评估结果为一般维修的,需先办理定期检验,再进行变更登记");
result.add(jsonObject );
}
}
}
return ResponseHelper.buildResponse(Systemctl.dictionarieClient.dictValues(dictCode).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