| | |
| | | import org.springblade.modules.place.excel.PlaceAndRelImporter; |
| | | import org.springblade.modules.place.excel.PlaceExcel; |
| | | import org.springblade.modules.place.excel.PlaceImporter; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import org.springblade.modules.place.entity.PlaceEntity; |
| | |
| | | import org.springblade.modules.place.service.IPlaceService; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 场所表 控制器 |
| | |
| | | @ApiOperationSupport(order = 7) |
| | | @ApiOperation(value = "逻辑删除", notes = "传入ids") |
| | | public R remove(@ApiParam(value = "主键集合", required = true) @RequestParam String ids) { |
| | | return R.status(placeService.removeByIds(Func.toLongList(ids))); |
| | | List<Long> longs = Func.toLongList(ids); |
| | | // 返回 |
| | | return R.status(placeService.removePlace(longs)); |
| | | } |
| | | |
| | | /** |