Commit 162d0079 authored by hezhuozhi's avatar hezhuozhi

气瓶数据项调整 / 发起页调整

parent 495f5050
......@@ -161,11 +161,11 @@ public class IdxBizJqEquipmentRegisterController extends BaseController {
List<DictionarieValueModel> dictionarieValueModels = idxBizJgRegisterInfoService.equCategoryListByCompanyType(getSelectedOrgInfo(), equList, businessScenarios, dataSource, type);
//bug 24467 新增历史设备--有移动式压力容器,需禁用或者删除 (历史设备录入(有证-his,无证-black))
if ("his".equals(dataSource) && "2000".equals(equList) && "SB_XZ".equals(type) && "0".equals(businessScenarios)) {
if ("his".equals(dataSource) && "2000".equals(equList) && ("SB_XZ".equals(type) || "DW_LR".equals(type)) && "0".equals(businessScenarios)) {
dictionarieValueModels = dictionarieValueModels.stream().filter(dictionarieValueModel -> !dictionarieValueModel.getDictDataValue().equals("移动式压力容器")).collect(Collectors.toList());
}
// 历史无证设备录入(有证-his,无证-black))
if ( "black".equals(dataSource) && "2000".equals(equList) && "SB_XZ".equals(type) && "0".equals(businessScenarios)) {
if ( "black".equals(dataSource) && "2000".equals(equList) && ("SB_XZ".equals(type) || "DW_LR".equals(type)) && "0".equals(businessScenarios)) {
dictionarieValueModels = dictionarieValueModels.stream().filter(dictionarieValueModel -> !dictionarieValueModel.getDictDataValue().equals("移动式压力容器")).collect(Collectors.toList());
}
return ResponseHelper.buildResponse(dictionarieValueModels);
......
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