FengChaoYu преди 9 месеца
родител
ревизия
70ae9edb4d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      mall-miniapp-service/src/main/resources/mapper/MaterialMapper.xml

+ 1 - 1
mall-miniapp-service/src/main/resources/mapper/MaterialMapper.xml

@@ -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)
                 </if>
             </if>