|
@@ -693,7 +693,7 @@
|
|
|
JOIN stock_correspond sc on s.stock_id = sc.id
|
|
|
left join admin_user_stock aus on sc.id = aus.correspond_id
|
|
|
${ex.query}
|
|
|
- and scp.stock_id = s.stock_id
|
|
|
+ and sc.id = s.stock_id
|
|
|
<if test="adminUserId != null and adminUserId!=''">
|
|
|
and aus.admin_user_id = #{adminUserId}
|
|
|
</if>
|