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