|
|
@@ -165,17 +165,17 @@ public class FosterwxCashOasBoxController extends BaseController<FosterwxCashOas
|
|
|
@PostMapping("/import")
|
|
|
public Object uploadFile(@RequestBody MultipartFile file, @AuthUser User authUser) {
|
|
|
Map<String, Object> map = new HashMap<>(16);
|
|
|
- Map<Integer, String> feild = new HashMap<>(5);
|
|
|
+ Map<Integer, String> feild = new HashMap<>();
|
|
|
feild.put(0, "stationName");
|
|
|
feild.put(1, "groupId");
|
|
|
feild.put(2, "mobileGroupId");
|
|
|
feild.put(3, "type");
|
|
|
- feild.put(4, "boxType|defualt");
|
|
|
- feild.put(5, "boxLocation|defualt");
|
|
|
+ feild.put(4, "boxType|default");
|
|
|
+ feild.put(5, "boxLocation|default");
|
|
|
feild.put(6, "ghId");
|
|
|
feild.put(7, "name");
|
|
|
feild.put(8, "scope");
|
|
|
- feild.put(9, "remark|defualt");
|
|
|
+ feild.put(9, "remark|default");
|
|
|
List<Map<String, String>> row = new ArrayList<>();
|
|
|
VoltaHandle<ArrayList<Map<String, String>>> voltaRes = Analysis.analysis(file, feild);
|
|
|
if (voltaRes.getErr() != null) {
|