guarantee-lsq il y a 1 an
Parent
commit
d52076b88b

+ 5 - 0
platform-dao/src/main/java/com/platform/dao/dto/firm/FirmProducerDTO.java

@@ -107,4 +107,9 @@ public class FirmProducerDTO extends BaseDTO implements Serializable {
      */
     private LocalDateTime updateTimeEnd;
 
+    /**
+     * 大类类型 1 生产厂商 2 建筑物
+     */
+    private Integer parentType;
+
 }

+ 5 - 0
platform-dao/src/main/java/com/platform/dao/entity/firm/FirmProducer.java

@@ -101,4 +101,9 @@ public class FirmProducer implements Serializable {
     @Transient
     private DataScope dataScope;
 
+    /**
+     * 大类类型 1 生产厂商 2 建筑物
+     */
+    private Integer parentType;
+
 }

+ 5 - 0
platform-dao/src/main/java/com/platform/dao/vo/query/firm/FirmProducerVO.java

@@ -98,5 +98,10 @@ public class FirmProducerVO extends BaseVO implements Serializable {
      */
     private LocalDateTime updateTime;
 
+    /**
+     * 大类类型 1 生产厂商 2 建筑物
+     */
+    private Integer parentType;
+
 
 }

+ 3 - 0
platform-dao/src/main/resources/mapper/firm/FirmProducerMapper.xml

@@ -41,6 +41,9 @@
         <if test="type != null">
             and producer.type = #{type}
         </if>
+        <if test="parentType != null">
+            and producer.parent_type = #{parentType}
+        </if>
         <if test="no != null and no != ''">
             and producer.no = #{no}
         </if>