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>