Przeglądaj źródła

数据大屏状态修改

zhangchen 3 miesięcy temu
rodzic
commit
14aac810e7

+ 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}