mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-06-10 10:19:54 +08:00
update 删除充电桩固件
This commit is contained in:
@@ -152,7 +152,7 @@ public class OrderBasicInfoController extends BaseController {
|
|||||||
@PreAuthorize("@ss.hasPermi('order:order:remove')")
|
@PreAuthorize("@ss.hasPermi('order:order:remove')")
|
||||||
@Log(title = "订单", businessType = BusinessType.DELETE)
|
@Log(title = "订单", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/order/{ids}")
|
@DeleteMapping("/order/{ids}")
|
||||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
public AjaxResult remove(@PathVariable("ids") Long[] ids) {
|
||||||
return toAjax(orderBasicInfoService.deleteOrderBasicInfoByIds(ids));
|
return toAjax(orderBasicInfoService.deleteOrderBasicInfoByIds(ids));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,15 +5,12 @@ import com.jsowell.common.core.controller.BaseController;
|
|||||||
import com.jsowell.common.core.domain.AjaxResult;
|
import com.jsowell.common.core.domain.AjaxResult;
|
||||||
import com.jsowell.common.core.page.TableDataInfo;
|
import com.jsowell.common.core.page.TableDataInfo;
|
||||||
import com.jsowell.common.enums.BusinessType;
|
import com.jsowell.common.enums.BusinessType;
|
||||||
import com.jsowell.common.response.RestApiResponse;
|
|
||||||
import com.jsowell.common.util.file.AliyunOssUploadUtils;
|
|
||||||
import com.jsowell.common.util.poi.ExcelUtil;
|
import com.jsowell.common.util.poi.ExcelUtil;
|
||||||
import com.jsowell.pile.domain.PileFirmwareInfo;
|
import com.jsowell.pile.domain.PileFirmwareInfo;
|
||||||
import com.jsowell.pile.service.PileFirmwareInfoService;
|
import com.jsowell.pile.service.PileFirmwareInfoService;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.security.access.prepost.PreAuthorize;
|
import org.springframework.security.access.prepost.PreAuthorize;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
import org.springframework.web.multipart.MultipartFile;
|
|
||||||
|
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
@@ -88,7 +85,7 @@ public class PileFirmwareInfoController extends BaseController {
|
|||||||
@PreAuthorize("@ss.hasPermi('pile:firmware:remove')")
|
@PreAuthorize("@ss.hasPermi('pile:firmware:remove')")
|
||||||
@Log(title = "充电桩固件信息", businessType = BusinessType.DELETE)
|
@Log(title = "充电桩固件信息", businessType = BusinessType.DELETE)
|
||||||
@DeleteMapping("/{ids}")
|
@DeleteMapping("/{ids}")
|
||||||
public AjaxResult remove(@PathVariable Long[] ids) {
|
public AjaxResult remove(@PathVariable("ids") Long[] ids) {
|
||||||
return toAjax(pileFirmwareInfoService.deletePileFirmwareInfoByIds(ids));
|
return toAjax(pileFirmwareInfoService.deletePileFirmwareInfoByIds(ids));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user