|
|
@@ -948,4 +948,21 @@ public class TMSController extends BaseRESTfulController {
|
|
|
public Map<String,Object> gatepostTransitManager(@RequestBody Map<String,Object> map) {
|
|
|
return tmsFeign.gatepostTransitManager(map);
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
+ @ApiOperation("导入宏瑞综合实绩")
|
|
|
+ @PostMapping("/importComprehensiveResult")
|
|
|
+ public Map<String, Object> importComprehensiveResult(@RequestBody MultipartFile file,
|
|
|
+ String userId,
|
|
|
+ String userName,
|
|
|
+ String resultType) throws Exception {
|
|
|
+ Map<String, Object> map = new HashMap<>();
|
|
|
+ //获取Excel中包含的对象数组
|
|
|
+ List<Map<String, Object>> list = ExcelToolUtils.getExcelList(file, 0);
|
|
|
+ map.put("list", list);
|
|
|
+ map.put("userId", userId);
|
|
|
+ map.put("userName", userName);
|
|
|
+ map.put("resultType",resultType);
|
|
|
+ return tmsFeign.importComprehensiveResult(map);
|
|
|
+ }
|
|
|
}
|