wuhp 2 anni fa
parent
commit
a5087e85a0

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

@@ -610,6 +610,7 @@
                 SUM( a.commission_feevalue + a.other_feevalue ) AS "totalFeevalue",
                 SUM( a.commission_feevalue + a.other_feevalue ) AS "totalFeevalue",
                 GROUP_CONCAT(a.id) as  "ids",
                 GROUP_CONCAT(a.id) as  "ids",
                 MAX( a.partner_companies_name) as "partnerCompaniesName",
                 MAX( a.partner_companies_name) as "partnerCompaniesName",
+                MAX(pa.docking_person)  as "dockingPerson",
                 a.agreement_id AS "agreementId"
                 a.agreement_id AS "agreementId"
                 from  ins_ply_income a
                 from  ins_ply_income a
                 LEFT JOIN  esm_ins_company  ec  on ec.id= a.company_id
                 LEFT JOIN  esm_ins_company  ec  on ec.id= a.company_id
@@ -678,8 +679,6 @@
             <if test="licenseno != null and licenseno != ''">
             <if test="licenseno != null and licenseno != ''">
                 and a.licenseno =#{licenseno}
                 and a.licenseno =#{licenseno}
             </if>
             </if>
-
-
             <if test="syPolicyno != null and syPolicyno != ''">
             <if test="syPolicyno != null and syPolicyno != ''">
                 and a.sy_policyno =#{syPolicyno}
                 and a.sy_policyno =#{syPolicyno}
             </if>
             </if>
@@ -911,6 +910,7 @@
             </if>
             </if>
         </where>
         </where>
     </select>
     </select>
+
     <select id="groupByInvoic" resultType="java.util.HashMap">
     <select id="groupByInvoic" resultType="java.util.HashMap">
         select
         select
         sum(a.commission_feevalue) as "invoicCommissionFeevalue",
         sum(a.commission_feevalue) as "invoicCommissionFeevalue",