소스 검색

中台 对账 订单金额修改

qxy 6 일 전
부모
커밋
9095305042
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      alien-entity/src/main/resources/mapper/LawFirmMapper.xml

+ 1 - 2
alien-entity/src/main/resources/mapper/LawFirmMapper.xml

@@ -128,8 +128,7 @@
             lf.id as firm_id,
             lf.firm_name,
             COUNT(DISTINCT lco.id) as order_count,
-            CAST(ROUND(COALESCE(SUM(lco.lawyer_earnings), 0) / 100.0, 2) AS CHAR) as total_amount_yuan,
-            CAST(ROUND(COALESCE(SUM(lco.consultation_fee), 0) / 100.0, 2) AS CHAR) as commission_fee_yuan
+            CAST(ROUND(COALESCE(SUM(lco.order_amount), 0) / 100.0, 2) AS CHAR) as total_amount_yuan
         FROM law_firm lf
         LEFT JOIN lawyer_consultation_order lco ON lco.place_id = lf.id
             AND lco.delete_flag = 0