|
|
@@ -1683,11 +1683,8 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="findAppProjectInterestByPage" parameterType="String" resultType="com.goafanti.demand.bo.ObjectInterestListBo">
|
|
|
- select b.id ,b.bname as name,t.uid,t.create_time as createTime,ifnull(x.countInterest,0) as countInterest
|
|
|
+ select b.id ,b.bname as name,t.uid,t.create_time as createTime
|
|
|
from project_interest t
|
|
|
- left join (select id,count(0) as countInterest ,project_id from project_interest
|
|
|
- group by project_id
|
|
|
- ) x on t.id=x.id
|
|
|
left join business_project b on t.project_id=b.id
|
|
|
where t.uid=#{uid,jdbcType=VARCHAR}
|
|
|
<if test="page_sql!=null">
|