Commit 493cba32 by zhouhaibao

[+]百分比处理

1 parent d96116bf
......@@ -528,7 +528,7 @@ public class BusinessAnalysisService {
*/
public static BigDecimal stringToPercent(String str) {
if (str == null || str.trim().isEmpty()) {
return BigDecimal.ZERO; // 或抛异常,根据业务需求
return null; // 或抛异常,根据业务需求
}
try {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!