Browse Source

转换验证

develop
wangsixiang 4 months ago
parent
commit
b8df5711fe
  1. 2
      zc-business/src/main/java/com/zc/business/service/impl/DcWarningServiceImpl.java

2
zc-business/src/main/java/com/zc/business/service/impl/DcWarningServiceImpl.java

@ -509,7 +509,7 @@ public class DcWarningServiceImpl implements IDcWarningService
dcWarning.getWarningType()==null|| dcWarning.getWarningSource()==null){ dcWarning.getWarningType()==null|| dcWarning.getWarningSource()==null){
return AjaxResult.error(UniversalEnum.PARAMETER_ERROR.getValue()); return AjaxResult.error(UniversalEnum.PARAMETER_ERROR.getValue());
} }
if (dcWarning.getWarningSource()==6){ if (UniversalEnum.SIX.getValue().equals(dcWarning.getWarningSource().toString())){
return AjaxResult.error("非机预警无需转换"); return AjaxResult.error("非机预警无需转换");
} }
ArrayList<HashMap<String,Object>> hashMaps = new ArrayList<>(); ArrayList<HashMap<String,Object>> hashMaps = new ArrayList<>();

Loading…
Cancel
Save