|
|
@@ -97,7 +97,7 @@ public interface FsStoreAfterSalesScrmMapper
|
|
|
" left join fs_user u on s.user_id=u.user_id " +
|
|
|
" left join company c on c.company_id=s.company_id " +
|
|
|
" left join company_user cu on cu.user_id=s.company_user_id " +
|
|
|
- " left join fs_store_payment_scrm fsps on fsps.business_order_id = s.id and fsps.status in (-1,1) " +
|
|
|
+ " left join fs_store_payment_scrm fsps on fsps.business_order_id = o.id and fsps.status in (-1,1) " +
|
|
|
" where 1=1 " +
|
|
|
"<if test = 'maps.status != null '> " +
|
|
|
"and s.status = #{maps.status} " +
|