소스 검색

成本报表 发运 外销单价

liuchaohui 2 년 전
부모
커밋
02e12c99be
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      jeecg-boot-module-system/src/main/java/org/jeecg/modules/cost/mapper/xml/SyCostAllocationShipdetailMapper.xml

+ 3 - 3
jeecg-boot-module-system/src/main/java/org/jeecg/modules/cost/mapper/xml/SyCostAllocationShipdetailMapper.xml

@@ -24,7 +24,7 @@
 			sh.iExchRate AS exchangeRate,
 			sh.cSOCode AS orderNum,
 			c.cInvName AS poStyleNum,
-			sum(shs.iTaxUnitPrice) AS exportUnitPrice ,
+			max(shs.iTaxUnitPrice) AS exportUnitPrice ,
 			sum(shs.iSum) as exportPrice,
 			sum(iNatSum) as rmbAmount,
 			max(so.iTax) as procesUnitPriceusd,
@@ -60,7 +60,7 @@
 			sh.iExchRate AS exchangeRate,
 			sh.cSOCode AS orderNum,
 			c.cInvName AS poStyleNum,
-			sum(shs.iTaxUnitPrice) AS exportUnitPrice ,
+			max(shs.iTaxUnitPrice) AS exportUnitPrice ,
 			sum(shs.iSum) as exportPrice,
 			sum(iNatSum) as rmbAmount,
 			max(so.iTax) as procesUnitPriceusd,
@@ -108,7 +108,7 @@
 		sh.iExchRate AS exchangeRate,
 		sh.cSOCode AS orderNum,
 		c.cInvName AS poStyleNum,
-		sum(shs.iTaxUnitPrice) AS exportUnitPrice ,
+		max(shs.iTaxUnitPrice) AS exportUnitPrice ,
 		sum(shs.iSum) as exportPrice,
 		sum(iNatSum) as rmbAmount,
 		max(so.iTax) as procesUnitPriceusd,