胡轶钦 5 年前
父节点
当前提交
4ba719eec6

+ 3
- 0
src/main/java/com/huiju/estateagents/entity/TaPersonVisitRecord.java 查看文件

78
 
78
 
79
     @TableField(exist = false)
79
     @TableField(exist = false)
80
     private String propertyName;
80
     private String propertyName;
81
+    @TableField(exist = false)
82
+    private String propertyCode;
83
+
81
 
84
 
82
     private String targetId;
85
     private String targetId;
83
 
86
 

+ 1
- 1
src/main/resources/mapper/TaEventPropertiesMapper.xml 查看文件

9
 WHERE
9
 WHERE
10
 	( ( t.target_id IS NULL AND #{targetId} IS NULL ) OR t.target_id	= #{targetId} )
10
 	( ( t.target_id IS NULL AND #{targetId} IS NULL ) OR t.target_id	= #{targetId} )
11
 	AND ( ( t.event_type IS NULL AND #{eventType} IS NULL ) OR t.event_type = #{eventType} )
11
 	AND ( ( t.event_type IS NULL AND #{eventType} IS NULL ) OR t.event_type = #{eventType} )
12
-	AND ( ( t.property_code IS NULL AND #{propertyCode} IS NULL ) OR t.property_code = #{propertyCode} )
12
+	AND ( ( t.property_code IS NULL AND #{activity} IS NULL ) OR t.property_code = #{activity} )
13
     </select>
13
     </select>
14
 
14
 
15
 </mapper>
15
 </mapper>