Browse Source

设备台账 - 选择设备类别后,报表查询报错

lvxianyun 3 years ago
parent
commit
dceacc6048

+ 1 - 1
src/main/java/com/persagy/proxy/adm/controller/AdmReportEquipController.java

@@ -104,7 +104,7 @@ public class AdmReportEquipController {
         ObjectNode criteria = JsonNodeFactory.instance.objectNode();
         criteria.put("code", admEquipment.getClassCode());
         defineCriteria.setCriteria(criteria);
-        AdmResponse defRes = dictService.doQueryObjectType(AdmContextUtil.toDmpContext(), queryCriteria, AdmObjectType.class);
+        AdmResponse defRes = dictService.doQueryObjectType(AdmContextUtil.toDmpContext(), defineCriteria, AdmObjectType.class);
         if (CollUtil.isNotEmpty(defRes.getContent())) {
             List<AdmObjectType> componentCategory = (List<AdmObjectType>) defRes.getContent();
             admEquipment.setComponentCategory(componentCategory);