wangfei 6 年前
父节点
当前提交
2851e6967f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      whole-estate/src/main/java/com/example/wholeestate/dao/ActivityEnrollMapper.java

+ 1
- 1
whole-estate/src/main/java/com/example/wholeestate/dao/ActivityEnrollMapper.java 查看文件

38
             "RIGHT JOIN ta_activity_enroll tace ON tac.activity_id = tace.activity_id " +
38
             "RIGHT JOIN ta_activity_enroll tace ON tac.activity_id = tace.activity_id " +
39
             "LEFT JOIN ta_customer tacus ON tace.customer_id = tacus.customer_id " +
39
             "LEFT JOIN ta_customer tacus ON tace.customer_id = tacus.customer_id " +
40
             "LEFT JOIN ta_building tab ON tac.building_id = tab.building_id " +
40
             "LEFT JOIN ta_building tab ON tac.building_id = tab.building_id " +
41
-            "WHERE tacus.openid = #{openid} tac.status > -1")
41
+            "WHERE tacus.openid = #{openid} and tac.status > -1")
42
     IPage<Activity> selectOpenidActivityEnroll(Page page, @Param("openid") String openid);
42
     IPage<Activity> selectOpenidActivityEnroll(Page page, @Param("openid") String openid);
43
 
43
 
44
 }
44
 }