Browse Source

工单完结列表BUG修复

dev
汤建军 1 month ago
parent
commit
a98e0654b0
  1. 18
      blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.xml

18
blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesWorkOrderMapper.xml

@ -2598,12 +2598,12 @@
SUM( laprr.money ) AS money,
lawo.warehouse_service_name AS warehouseServiceName,
lawo.headquarters_name AS headquartersName,
GROUP_CONCAT(
GROUP_CONCAT(DISTINCT
CONCAT( '受款方:', lacr2.indemnitor, '受款原因:', lacr2.reason, '受款金额:', lacr2.money )) AS indemnitorInfo,
IFNULL( SUM( lacr2.money ), 0 ) AS indemnitorMoney,
GROUP_CONCAT(
IFNULL( SUM(DISTINCT lacr2.money ), 0 ) AS indemnitorMoney,
GROUP_CONCAT(DISTINCT
CONCAT( '赔款方:', lacr1.responsible_party, '赔款原因:', lacr1.reason_receiving_payment, '赔款金额:', lacr1.money )) AS responsibleInfo,
IFNULL( SUM( lacr1.money ), 0 ) AS responsibleMoney,
IFNULL( SUM(DISTINCT lacr1.money ), 0 ) AS responsibleMoney,
GROUP_CONCAT( DISTINCT lapr.business_name ) AS businessName,
GROUP_CONCAT( DISTINCT lapr.person_responsible_name ) AS personResponsibleName,
IFNULL(SUM( lapr.responsibility_ratio ),0) AS responsibilityRatio,
@ -4140,16 +4140,16 @@
lawo.commit_time AS commitTime,
lawo.arbitration_time AS arbitrationTime,
lawo.audit_time AS auditTime,
GROUP_CONCAT( laprr.result_type ) AS resultType,
GROUP_CONCAT(DISTINCT laprr.result_type ) AS resultType,
SUM( laprr.money ) AS money,
lawo.warehouse_service_name AS warehouseServiceName,
lawo.headquarters_name AS headquartersName,
GROUP_CONCAT(
GROUP_CONCAT(DISTINCT
CONCAT( '受款方:', lacr2.indemnitor, '受款原因:', lacr2.reason, '受款金额:', lacr2.money )) AS indemnitorInfo,
IFNULL( SUM( lacr2.money ), 0 ) AS indemnitorMoney,
GROUP_CONCAT(
IFNULL( SUM(DISTINCT lacr2.money ), 0 ) AS indemnitorMoney,
GROUP_CONCAT(DISTINCT
CONCAT( '赔款方:', lacr1.responsible_party, '赔款原因:', lacr1.reason_receiving_payment, '赔款金额:', lacr1.money )) AS responsibleInfo,
IFNULL( SUM( lacr1.money ), 0 ) AS responsibleMoney,
IFNULL( SUM(DISTINCT lacr1.money ), 0 ) AS responsibleMoney,
GROUP_CONCAT( DISTINCT lapr.business_name ) AS businessName,
GROUP_CONCAT( DISTINCT lapr.person_responsible_name ) AS personResponsibleName,
IFNULL(SUM( lapr.responsibility_ratio ),0) AS responsibilityRatio,

Loading…
Cancel
Save