From 9258f26671bf504d19ba5e383b72ab1b60641d77 Mon Sep 17 00:00:00 2001 From: songhuangfeng123 <shf18767906695@163.com> Date: 星期三, 10 八月 2022 17:50:11 +0800 Subject: [PATCH] 新增查询参数 --- equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/KeypointEquipmentInfoQueryCriteria.java | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/KeypointEquipmentInfoQueryCriteria.java b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/KeypointEquipmentInfoQueryCriteria.java index eef86af..1047f88 100644 --- a/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/KeypointEquipmentInfoQueryCriteria.java +++ b/equipment/equipment-service/src/main/java/com/gkhy/safePlatform/equipment/model/dto/req/KeypointEquipmentInfoQueryCriteria.java @@ -14,4 +14,17 @@ public void setName(String name) { this.name = name; } -} \ No newline at end of file + + + //类型/类别外键 + @Query() + private Integer equipmentTypeId; + + public Integer getEquipmentTypeId() { + return equipmentTypeId; + } + + public void setEquipmentTypeId(Integer equipmentTypeId) { + this.equipmentTypeId = equipmentTypeId; + } +} -- Gitblit v1.9.2