浏览代码

Merge remote-tracking branch 'origin/master'

wangxx 4 周之前
父节点
当前提交
c79599243c
共有 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>