|
@@ -335,7 +335,8 @@
|
|
|
p.created,
|
|
|
o.real_amount,
|
|
|
o.should_amount,
|
|
|
- p.save_file_date
|
|
|
+ p.save_file_date,
|
|
|
+ o.id as orderFundId
|
|
|
from
|
|
|
personal p
|
|
|
LEFT JOIN personal_target pt ON pt.personal_id = p.id
|
|
@@ -345,7 +346,7 @@
|
|
|
LEFT JOIN user u1 ON u1.id = p.outward_staff
|
|
|
LEFT JOIN user u2 ON u2.id = p.inward_staff
|
|
|
LEFT JOIN user u3 ON u3.id = p.pricing_staff
|
|
|
- left join (select business_id,real_amount,should_amount from order_fund where business_type='PERSONAL_BUSINESS' and deleted = 0) o on o.business_id = p.id
|
|
|
+ left join (select id,business_id,real_amount,should_amount from order_fund where business_type='PERSONAL_BUSINESS' and deleted = 0) o on o.business_id = p.id
|
|
|
where
|
|
|
p.deleted = 0 and p.client_manager_id = #{personal.clientManagerId}
|
|
|
<if test="keyword!=null and keyword!='' ">
|