|
@@ -111,7 +111,7 @@ public class AdmReportEquipController {
|
|
|
AdmEquipment admEquipment = equipmentList.get(0);
|
|
|
QueryCriteria defineCriteria = new QueryCriteria();
|
|
|
ObjectNode criteria = JsonNodeFactory.instance.objectNode();
|
|
|
- criteria.put("code", admEquipment.getClassCode());
|
|
|
+ criteria.put("equipmentCode", admEquipment.getClassCode());
|
|
|
defineCriteria.setCriteria(criteria);
|
|
|
AdmResponse defRes = dictService.doQueryObjectType(AdmContextUtil.toDmpContext(), defineCriteria, AdmObjectType.class);
|
|
|
if (CollUtil.isNotEmpty(defRes.getContent())) {
|