zhangchen 3 месяцев назад
Родитель
Сommit
14aac810e7
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      alien-entity/src/main/resources/mapper/ManagementInfoMapper.xml

+ 3 - 3
alien-entity/src/main/resources/mapper/ManagementInfoMapper.xml

@@ -274,7 +274,7 @@
         FROM
             life_user_order
         WHERE
-            ( `status` = 1
+            ( `status` in (1, 2)
             <if test="dataTime != null and dataTime != ''">
                 AND
                 buy_time > #{dataTime}
@@ -287,13 +287,13 @@
         FROM
             life_user_order
         WHERE
-            ( `status` = 1
+            ( `status` = 2
                 <if test="dataTime != null and dataTime != ''">
                     AND
                     used_time > #{dataTime}
                 </if>
             )
-           OR ( `status` = 0
+           OR ( `status` = 1
             <if test="dataTime != null and dataTime != ''">
                 AND
                 buy_time > #{dataTime}