Просмотр исходного кода

Merge branch 'test' of http://39.101.143.165:8090/sxzgd/java-insagent-pc into test

hxl13994548489 1 год назад
Родитель
Сommit
fa2ceae105

+ 2 - 3
src/main/resources/mapper/modules/console/WithdrawalTaskMapper.xml

@@ -45,7 +45,6 @@
         <where>
             and a.auditing_status in ('3','2')
             and b.id is  not  null
-            and  a.approval != 1
             <if test="vo.beginDate  != null  and  vo.beginDate!=''  and vo.endDate  != null  and  vo.endDate!=''">
                 AND a.create_time BETWEEN #{vo.beginDate} AND #{vo.endDate}
             </if>
@@ -57,9 +56,9 @@
         select
               IFNULL(sum(a.amount),0) as "allWithdrawalAmount",
               IFNULL(count(a.id),0)  as "allWithdrawalNumber",
-              IFNULL(sum( CASE WHEN a.auditing_status = 2 and  a.approval != 1  THEN  IFNULL(a.amount,0)  END ),0)  AS notWithdrawalAmount,
+              IFNULL(sum( CASE WHEN a.auditing_status = 2   THEN  IFNULL(a.amount,0)  END ),0)  AS notWithdrawalAmount,
               IFNULL(sum( CASE WHEN a.auditing_status = 3 THEN  IFNULL(a.amount,0)  END ),0)  AS withdrawalAmount,
-              IFNULL(count(CASE WHEN a.auditing_status = 2  and  a.approval != 1 THEN  1  END),0) as "notAllWithdrawalNumber",
+              IFNULL(count(CASE WHEN a.auditing_status = 2   THEN  1  END),0) as "notAllWithdrawalNumber",
               IFNULL(count(CASE WHEN a.auditing_status = 3 THEN  1  END),0) as "withdrawalNumber",
               IFNULL(sum( CASE WHEN a.auditing_status = 4 THEN  IFNULL(a.amount,0)  END ),0)  AS "failedWithdrawalAmount",
               IFNULL(count(CASE WHEN a.auditing_status = 4 THEN  1  END),0) as "failedWithdrawalNumber"