|
|
@@ -130,11 +130,16 @@
|
|
|
where a.restrict_status =1
|
|
|
</select>
|
|
|
<select id="RestrictProjectList" resultType="com.goafanti.business.bo.RestrictProjectPageList">
|
|
|
- select a.id,b.nickname userName,c.bname projectName,a.`type` ,d.name userAdmin,d2.name adminName,a.lock_time lockTime,
|
|
|
- a.last_follow_time lastFollowTime,a.uid
|
|
|
+ select a.id,b.nickname userName,c.bname projectName,a.`type` ,ad.name userAdmin,ad2.name adminName,a.lock_time lockTime,
|
|
|
+ a.last_follow_time lastFollowTime,a.uid, b.society_tag societyTag,dg1.name as province, dg2.name as city,
|
|
|
+ dg3.name as area,d.intended_project intendedProject, d.business_scope businessScope
|
|
|
from restrict_project a
|
|
|
left join user b on a.uid =b.id left join business_project c on a.pid =c.id
|
|
|
- left join admin d on b.aid =d.id left join admin d2 on a.aid =d2.id
|
|
|
+ left join admin ad on b.aid =ad.id left join admin ad2 on a.aid =ad2.id
|
|
|
+ left join organization_identity d on b.id = d.uid
|
|
|
+ left join district_glossory dg1 on d.location_province = dg1.id
|
|
|
+ left join district_glossory dg2 on d.location_city = dg2.id
|
|
|
+ left join district_glossory dg3 on d.location_area = dg3.id
|
|
|
where a.`type` >0
|
|
|
<include refid="RestrictProjectSql"/>
|
|
|
order by a.lock_time desc
|