Browse Source

BUG修复

anderx 6 years ago
parent
commit
a6e5a238d0

+ 1 - 1
src/main/java/com/goafanti/common/mapper/TemporaryReceivablesMapper.xml

@@ -538,7 +538,7 @@
   <update id="updateRepeatOrderNo" >
 	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
 	where x.id=y.id
   </update>
 </mapper>