update temporary_receivables x ,(select a.id from temporary_receivables a left join (select * from (select order_no,amount,aid,count(*) counts from temporary_receivables
group by order_no,amount,aid)a where a.counts>1 and a.aid= #{aid} ) b on a.order_no=b.order_no
- where a.amount=b.amount and a.aid='060583e4-82a2-4f72-8141-ae44806844e7')y set status=1
+ where a.amount=b.amount and a.aid= #{aid} )y set status=1