Commit f925a283 by zhouhaibao

fix(store): 修正Excel导入服务中的类型映射逻辑

- 交换了收入和毛利对应的数值映射关系
- 确保数据类型转换的准确性
1 parent 961c80cb
...@@ -2894,10 +2894,10 @@ public class StoreExcelImportService { ...@@ -2894,10 +2894,10 @@ public class StoreExcelImportService {
} }
switch (type.trim()) { switch (type.trim()) {
case "收入": case "收入":
case "1": case "2":
return "收入"; return "收入";
case "毛利": case "毛利":
case "2": case "1":
return "毛利"; return "毛利";
case "固定": case "固定":
case "3": case "3":
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!