|
|
@@ -714,7 +714,7 @@
|
|
|
where bname = #{bname,jdbcType=VARCHAR}
|
|
|
</select>
|
|
|
<select id="getBusinessProject" resultType="com.goafanti.app.bo.ProjectBo">
|
|
|
- select id,bname as name,min_logo as minLogoUrl,introduce
|
|
|
+ select id,bname as name,min_logo as minLogoUrl,introduce,project_url as projectUrl
|
|
|
from business_project
|
|
|
where delete_sign=0
|
|
|
and status=0
|
|
|
@@ -738,7 +738,8 @@
|
|
|
|
|
|
|
|
|
<select id="findRecommendProjectListByPage" resultType="com.goafanti.app.bo.ProjectBo">
|
|
|
- select b.id,b.bname as name,b.min_logo as minLogoUrl,b.introduce,b.boutique,ifnull(t.interestCount,0) as interestCount
|
|
|
+ select b.id,b.bname as name,b.min_logo as minLogoUrl,b.introduce,b.boutique,
|
|
|
+ ifnull(t.interestCount,0) as interestCount,project_url as projectUrl
|
|
|
from business_project b
|
|
|
left join (select count(0) as interestCount ,project_id from project_interest
|
|
|
group by project_id) t on b.id=t.project_id
|