|
@@ -190,11 +190,11 @@
|
|
|
p.dArriveDate,
|
|
|
sum(p.iQuantity) iQuantity,
|
|
|
sum(p.iReceivedQTY) iReceivedQTY,
|
|
|
- cast(isnull(p.coefficient,'0') as decimal) coefficient
|
|
|
+ sum(cast(isnull(p.coefficient,'0') as decimal)) coefficient
|
|
|
from Supplier_Capacity_Test p
|
|
|
${ew.customSqlSegment}
|
|
|
- group by p.cDepCode,p.cVenCode,p.dArriveDate,p.coefficient
|
|
|
- order by p.cDepCode,p.cVenCode,p.dArriveDate,p.coefficient
|
|
|
+ group by p.cDepCode,p.cVenCode,p.dArriveDate
|
|
|
+ order by p.cDepCode,p.cVenCode,p.dArriveDate
|
|
|
</select>
|
|
|
|
|
|
<select id="excel002" resultType="org.jeecg.modules.scas.entity.vo.SupplierCapacityVo2">
|
|
@@ -241,11 +241,11 @@
|
|
|
p.dArriveDate,
|
|
|
sum(p.iQuantity) iQuantity,
|
|
|
sum(p.iReceivedQTY) iReceivedQTY,
|
|
|
- cast(isnull(p.coefficient,'0') as decimal) coefficient
|
|
|
+ sum(cast(isnull(p.coefficient,'0') as decimal)) coefficient
|
|
|
from Supplier_Capacity_Test p
|
|
|
${ew.customSqlSegment}
|
|
|
- group by p.cDepCode,p.dArriveDate,p.coefficient
|
|
|
- order by p.cDepCode,p.dArriveDate,p.coefficient
|
|
|
+ group by p.cDepCode,p.dArriveDate
|
|
|
+ order by p.cDepCode,p.dArriveDate
|
|
|
</select>
|
|
|
|
|
|
|
|
@@ -292,11 +292,11 @@
|
|
|
p.dArriveDate,
|
|
|
sum(p.iQuantity) iQuantity,
|
|
|
sum(p.iReceivedQTY) iReceivedQTY,
|
|
|
- cast(isnull(p.coefficient,'0') as decimal) coefficient
|
|
|
+ sum(cast(isnull(p.coefficient,'0') as decimal)) coefficient
|
|
|
from Supplier_Capacity_Test p
|
|
|
${ew.customSqlSegment}
|
|
|
- group by p.cVenCode,p.dArriveDate,p.coefficient
|
|
|
- order by p.cVenCode,p.dArriveDate,p.coefficient
|
|
|
+ group by p.cVenCode,p.dArriveDate
|
|
|
+ order by p.cVenCode,p.dArriveDate
|
|
|
</select>
|
|
|
|
|
|
</mapper>
|