|
|
@@ -137,12 +137,12 @@ create_time = values(create_time)
|
|
|
from public_assist_advice a
|
|
|
<if test="type ==0">
|
|
|
left join public_release b on a.prid=b.id
|
|
|
- where b.type=3 and b.id = #{id}
|
|
|
+ where b.id = #{id}
|
|
|
</if>
|
|
|
<if test="type ==1">
|
|
|
left join public_release b on a.prid=b.id
|
|
|
left join public_release c on b.main_id=c.id
|
|
|
- where b.type=3 and c.id = #{id}
|
|
|
+ where c.id = #{id}
|
|
|
</if>
|
|
|
</select>
|
|
|
|