瀏覽代碼

实时质控拦截物品分布

chenshudong 4 周之前
父節點
當前提交
b60bcf9af0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      airport-ledger/src/main/resources/mapper/ledger/LedgerRealtimeInterceptionMapper.xml

+ 1 - 1
airport-ledger/src/main/resources/mapper/ledger/LedgerRealtimeInterceptionMapper.xml

@@ -95,7 +95,7 @@
95 95
             parameterType="com.sundot.airport.common.dto.LedgerCommonQueryReqVO"
96 96
             resultType="com.sundot.airport.common.dto.LedgerCommonResVO">
97 97
         select item_name name,
98
-        count(1) total
98
+        coalesce(sum(item_quantity), 0) total
99 99
         from ledger_realtime_interception
100 100
         where del_flag = '0'
101 101
         <if test="deptId != null">and dept_id = #{deptId}</if>