Commit d9053095 by zhouhaibao

fix(store): 修复利润类型百分比显示逻辑

- 修正了利润类型百分比附加条件判断逻辑
- 当不需要附加百分号时返回原始数值字符串
- 确保百分比符号只在适当时机被添加到结果中
1 parent d7d326b4
......@@ -2950,7 +2950,7 @@ public class StoreExcelImportService {
return "";
}
String ratioStr = ratio.toString();
if (needAppendPercent(profitType)) {
if (!needAppendPercent(profitType)) {
return ratioStr + "%";
}
return ratioStr;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!