|
@@ -479,7 +479,6 @@
|
|
left join (select sum(real_amount) as invoiceAmount,order_fund_id from finance_invoice where state ='已开票' and deleted = 0 GROUP BY order_fund_id) fi on fi.order_fund_id = o.id
|
|
left join (select sum(real_amount) as invoiceAmount,order_fund_id from finance_invoice where state ='已开票' and deleted = 0 GROUP BY order_fund_id) fi on fi.order_fund_id = o.id
|
|
where
|
|
where
|
|
p.deleted = 0 and p.client_manager_id = #{personal.clientManagerId}
|
|
p.deleted = 0 and p.client_manager_id = #{personal.clientManagerId}
|
|
- AND IF(#{personal.hasRealAmount}, o.real_amount IS NOT NULL, o.real_amount IS NULL)
|
|
|
|
<if test="keyword!=null and keyword!='' ">
|
|
<if test="keyword!=null and keyword!='' ">
|
|
and (
|
|
and (
|
|
p.location like concat ('%',#{keyword},'%')
|
|
p.location like concat ('%',#{keyword},'%')
|