瀏覽代碼

数据大屏状态修改

zhangchen 3 月之前
父節點
當前提交
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}