Commit 64740ed3 by 谢海旭

v5.7.0版本 飞行督导

1 parent da4a82eb
...@@ -192,9 +192,9 @@ public class SupervisorTaskInfoService { ...@@ -192,9 +192,9 @@ public class SupervisorTaskInfoService {
.collect(Collectors.toList()); .collect(Collectors.toList());
summary.setManagedStoreCount(merchantIdList.size()); summary.setManagedStoreCount(merchantIdList.size());
// 查询统计本月内总产值 // 查询统计本月内总产值,保留2位小数
BigDecimal monthlyOutput = getMerchantListMonthlyOutput(merchantIdList); BigDecimal monthlyOutput = getMerchantListMonthlyOutput(merchantIdList);
summary.setMonthlyOutput(monthlyOutput); summary.setMonthlyOutput(monthlyOutput != null ? monthlyOutput.setScale(2, java.math.RoundingMode.HALF_UP) : BigDecimal.ZERO);
return summary; return summary;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!