yumeng hace 2 años
padre
commit
746e08a67a

+ 1 - 1
jeecg-boot-material-view/src/main/java/org/jeecg/ctop/material/mapper/xml/MaterialDataMapper.xml

@@ -1390,7 +1390,7 @@
         ) t3 on t1.userId = t3.userId
         left join
         (select
-        ifnull(sum(charge), 0) as 'totalCharge',
+        ifnull(sum(cost), 0) as 'totalCharge',
         <if test="role == 'clip'">
             clip_id as 'userId',
             clip_name as 'userName'