소스 검색

数据大屏状态修改

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}