| | |
| | | @ApiOperationSupport(order = 4) |
| | | @ApiOperation(value = "新增", notes = "传入social") |
| | | public R save(@Valid @RequestBody Social social) { |
| | | socialService.upSoil(social.getCardid()); |
| | | return R.status(socialService.save(social)); |
| | | } |
| | | |
| | |
| | | */ |
| | | @PostMapping("import-user") |
| | | @ApiOperationSupport(order = 12) |
| | | public R importUser(MultipartFile file, Integer isCovered,String deptid) { |
| | | SocialImporter socialImporter = new SocialImporter(socialService, isCovered == 0,deptid); |
| | | public R importUser(MultipartFile file,String deptid) { |
| | | SocialImporter socialImporter = new SocialImporter(socialService, false,deptid); |
| | | ExcelUtil.save(file, socialImporter, SocialExcel.class); |
| | | return R.success("操作成功"); |
| | | } |