| | |
| | | package com.doumee.api.business; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | import com.doumee.core.annotation.excel.ExcelExporter; |
| | | import com.doumee.core.annotation.pr.PreventRepeat; |
| | | import com.doumee.core.model.ApiResponse; |
| | | import com.doumee.core.model.PageWrap; |
| | | import com.doumee.core.model.PageData; |
| | | import com.doumee.service.business.third.model.ApiResponse; |
| | | import com.doumee.service.business.third.model.PageWrap; |
| | | import com.doumee.service.business.third.model.PageData; |
| | | import com.doumee.dao.business.model.Cars; |
| | | import com.doumee.service.business.CarsService; |
| | | import com.doumee.service.business.impl.hksync.fhk.HkSyncVehicleFromHKServiceImpl; |
| | |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | |
| | | import com.doumee.api.BaseController; |
| | | /** |
| | | * @author 江蹄蹄 |
| | | * @date 2023/11/30 15:33 |
| | |
| | | @GetMapping("/delete/{id}") |
| | | @RequiresPermissions("business:cars:delete") |
| | | public ApiResponse deleteById(@PathVariable Integer id) { |
| | | carsService.deleteById(id); |
| | | carsService.deleteById(id,getLoginUser(null)); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | |
| | | for (String id : idArray) { |
| | | idList.add(Integer.valueOf(id)); |
| | | } |
| | | carsService.deleteByIdInBatch(idList); |
| | | carsService.deleteByIdInBatch(idList,getLoginUser(null)); |
| | | return ApiResponse.success(null); |
| | | } |
| | | |