浏览代码

首页数据修改

anderx 7 年之前
父节点
当前提交
108537a835
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/goafanti/common/mapper/JtBusinessProjectMapper.xml

+ 1 - 1
src/main/java/com/goafanti/common/mapper/JtBusinessProjectMapper.xml

@@ -815,7 +815,7 @@
   	left join user c on a.owner_id=c.id
   	left join user c on a.owner_id=c.id
   	left join (select project_id as id,count(*) as count  from project_interest group by project_id) d 
   	left join (select project_id as id,count(*) as count  from project_interest group by project_id) d 
   	on a.id=d.id
   	on a.id=d.id
-  	where  a.is_hot=1
+  	where  a.is_hot=1 and a.audit_status=2
    <if test="type==1">
    <if test="type==1">
   	and b.module != 1 
   	and b.module != 1 
   	</if>
   	</if>