|
@@ -61,13 +61,13 @@
|
|
|
order by a.update_time desc
|
|
|
</select>
|
|
|
<select id="selectDocShareReceive" resultType="com.jjt.doc.domain.DocShare">
|
|
|
- select a.*, b.doc_name, b.doc_type, b.doc_path
|
|
|
+ select a.*, b.doc_name, b.doc_type, b.doc_path, b.create_by user
|
|
|
from (select t.*
|
|
|
- from doc_share t,
|
|
|
- doc_share_accepter t1
|
|
|
- where t.doc_id = t1.doc_id
|
|
|
- and t1.user_id = #{uid}) a,
|
|
|
- doc_info b
|
|
|
+ from doc_share t,
|
|
|
+ doc_share_accepter t1
|
|
|
+ where t.doc_id = t1.doc_id
|
|
|
+ and t1.user_id = #{uid}) a,
|
|
|
+ doc_info b
|
|
|
where a.doc_id = b.doc_id
|
|
|
order by a.update_time desc
|
|
|
</select>
|