|
|
@@ -623,7 +623,7 @@
|
|
|
jtbp.advertisement,
|
|
|
ifnull(dct.dealCount,0) as dealCount,
|
|
|
ifnull(x.count,0) as interestCount,
|
|
|
- u.identify_name as companyName,u.id as companyId
|
|
|
+ u.nickname as companyName,u.id as companyId
|
|
|
from jt_business_project jtbp
|
|
|
left join user u on u.id=jtbp.owner_id
|
|
|
left join (select project_id as id,count(*) as count from project_interest group by project_id)x on jtbp.id=x.id
|
|
|
@@ -696,7 +696,7 @@
|
|
|
left join jt_business_project_tag x on x.project_id=jtbp.id
|
|
|
left join jt_tag y on x.tag_id=y.id
|
|
|
</if>
|
|
|
- where 1=1
|
|
|
+ where 1=1
|
|
|
<if test="tag != null">
|
|
|
and y.id= #{tag,jdbcType=VARCHAR}
|
|
|
</if>
|
|
|
@@ -802,7 +802,7 @@
|
|
|
</select>
|
|
|
|
|
|
<select id="recommendedApplicationList" resultType="com.goafanti.common.bo.MyCollection">
|
|
|
- select a.id,a.name,a.introduce as introduction,a.price as textA,
|
|
|
+ select a.id,a.name,a.advertisement as introduction,a.price as textA,
|
|
|
c.nickname as ownerName,ifnull(d.count,0) as interestCount
|
|
|
from jt_business_project a
|
|
|
left join jt_business_category b on a.category_id=b.id
|
|
|
@@ -832,4 +832,4 @@
|
|
|
and b.module = 5
|
|
|
</if>
|
|
|
</select>
|
|
|
-</mapper>
|
|
|
+</mapper>
|