@@ -107,4 +107,9 @@ public class FirmProducerDTO extends BaseDTO implements Serializable {
*/
private LocalDateTime updateTimeEnd;
+ /**
+ * 大类类型 1 生产厂商 2 建筑物
+ */
+ private Integer parentType;
+
}
@@ -101,4 +101,9 @@ public class FirmProducer implements Serializable {
@Transient
private DataScope dataScope;
@@ -98,5 +98,10 @@ public class FirmProducerVO extends BaseVO implements Serializable {
private LocalDateTime updateTime;
@@ -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}