فهرست منبع

1.平台结算合计优化

wuhp 2 سال پیش
والد
کامیت
6821fb9858
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      src/main/resources/mapper/modules/fnc/InsPlyIncomeMapper.xml

+ 1 - 2
src/main/resources/mapper/modules/fnc/InsPlyIncomeMapper.xml

@@ -1155,7 +1155,6 @@
         sum( a.commission_feevalue ) AS "commissionFeevalue",
         sum( a.other_feevalue ) AS "otherFeevalue",
         SUM( IFNULL(a.commission_feevalue,0) + IFNULL (a.other_feevalue,0) ) AS "totalFeevalue",
-        GROUP_CONCAT(a.id) as "ids",
         MAX( a.partner_companies_name) as "partnerCompaniesName",
         MAX(pa.docking_person) as "dockingPerson"
         from ins_ply_income a
@@ -1191,7 +1190,7 @@
                 AND day(a.signdate) =#{day}
             </if>
         </where>
-        GROUP BY a.partner_companies_id
+        GROUP BY  a.partner_companies_id,pa.insurance_company_id,pa.docking_person
     </select>
 
     <select id="queryInvoicing" resultType="com.ydtech.modules.fnc.entity.InsPlyIncome">