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

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

@@ -78,6 +78,9 @@ public class TaPersonVisitRecord implements Serializable {
78 78
 
79 79
     @TableField(exist = false)
80 80
     private String propertyName;
81
+    @TableField(exist = false)
82
+    private String propertyCode;
83
+
81 84
 
82 85
     private String targetId;
83 86
 

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

@@ -9,7 +9,7 @@ FROM
9 9
 WHERE
10 10
 	( ( t.target_id IS NULL AND #{targetId} IS NULL ) OR t.target_id	= #{targetId} )
11 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 13
     </select>
14 14
 
15 15
 </mapper>