|
@@ -1190,7 +1190,9 @@ order by release_date desc limit #{0}
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="getIntellectualProperty" resultType="com.goafanti.common.bo.PolicyEntity" >
|
|
<select id="getIntellectualProperty" resultType="com.goafanti.common.bo.PolicyEntity" >
|
|
|
-select p.id,p.title,p.title_img as titleImg,p.summary,dg1.name as provinceS,dg2.name as cityS,edit_time as editTime ,create_time as createTime,p.id,p.source,p.source_url as sourceUrl from policy p
|
|
|
|
|
|
|
+select p.id,p.title,p.title_img as titleImg,p.summary,dg1.name as provinceS,dg2.name as cityS,
|
|
|
|
|
+ edit_time as editTime ,create_time as createTime,p.release_date as releaseDate,
|
|
|
|
|
+ p.id,p.source,p.source_url as sourceUrl from policy p
|
|
|
left join district_glossory dg1 on dg1.id=p.province
|
|
left join district_glossory dg1 on dg1.id=p.province
|
|
|
left join district_glossory dg2 on dg2.id=p.city
|
|
left join district_glossory dg2 on dg2.id=p.city
|
|
|
where audit_status = 2
|
|
where audit_status = 2
|