@@ -413,7 +413,7 @@
<if test="status == 'SAVE'.toString() or status == 'SUBMIT'.toString() or status == 'END'.toString() or status == 'CANCEL'.toString()">
AND a.status = #{state}
</if>
- <if test="state == 'PAYED'.toString()">
+ <if test="status == 'PAYED'.toString()">
AND a.status = 'PAYED' AND (a.worker_confirm_date is null and a.websit_confirm_date is null)