main #1

Merged
root merged 5 commits from main into dev 2025-10-13 18:20:56 +08:00
Showing only changes of commit 47b6fe7d34 - Show all commits

View File

@ -432,7 +432,7 @@ public class ScrProductionServiceImpl extends ServiceImpl<ScrProductionMapper, S
// 聚合该产品的总产量
BigDecimal totalProduction = productProductions.stream()
.map(ScrProduction::getProduction)
.map(ScrProduction::getPower)
.filter(ObjectUtil::isNotEmpty)
.reduce(BigDecimal.ZERO, BigDecimal::add);
productParam.setPower(totalProduction); // 使用power字段存储总产量