|
|
@@ -477,10 +477,13 @@
|
|
|
date_format(a.update_time ,'%Y-%m-%d %H:%i:%S') updateTimes,a.update_status updateStatus,a.district_name districtName,
|
|
|
a.assist,a.assist_aid assistAid,a.assist_aid_name assistAidName,a.type,a.main_name mainName,a.reject_name rejectName,
|
|
|
a.assistant_aid assistantAid ,a.assistant_name assistantName,a.public_again publicAgain,a.user_names userNames
|
|
|
+ pe.aname,pe.status peStatus
|
|
|
from public_release a left join admin c on a.aid =c.id
|
|
|
+ <if test="type==0 or type==4">
|
|
|
+ left join (select * from public_examine where aid= #{aid} )pe on a.id=pe.prid
|
|
|
+ </if>
|
|
|
<if test="type==4">
|
|
|
- left join public_release_details b on a.id=b.prid
|
|
|
- left join user e on b.uid=e.id
|
|
|
+ left join public_release_details b on a.id=b.prid left join user e on b.uid=e.id
|
|
|
</if>
|
|
|
<if test="type==2">
|
|
|
left join department d on c.department_id =d.id
|