| | |
| | | import org.springblade.modules.yw.entity.YwAttachEntity; |
| | | import org.springblade.modules.yw.vo.YwAttachVO; |
| | | import org.springblade.modules.yw.service.IYwAttachService; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | import springfox.documentation.annotations.ApiIgnore; |
| | | |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | | /** |
| | |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
| | | return R.status(attachService.removeByIds(Func.toLongList(ids))); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 导入单位附件信息 |
| | | * @param files |
| | | * @param firmId |
| | | * @return |
| | | */ |
| | | @PostMapping("/importAttach") |
| | | @ApiOperationSupport(order = 8) |
| | | @ApiOperation(value = "导入单位附件信息", notes = "传入文件") |
| | | public R importAttach(List<MultipartFile> files, Long firmId,Integer type) { |
| | | return attachService.importAttach(files,firmId,type); |
| | | } |
| | | } |