|
@@ -170,6 +170,23 @@ public class CustomController {
|
|
|
return customService.deleteFile(file, request);
|
|
|
}
|
|
|
|
|
|
+ //删除
|
|
|
+ @RequestMapping("deleterDelete")
|
|
|
+ public Object deleterDelete(Custom custom , HttpServletRequest request) throws Exception {
|
|
|
+ HttpRespMsg msg = new HttpRespMsg();
|
|
|
+ String ids1 = custom.getIds();
|
|
|
+ List<Integer> ids = new ArrayList<>();
|
|
|
+ if (!ids1.isEmpty()) {
|
|
|
+ for (String id : ids1.split(",")) {
|
|
|
+ ids.add(Integer.parseInt(id));
|
|
|
+ }
|
|
|
+ customService.deleterDelete(ids);
|
|
|
+ msg.setMsg("操作成功");
|
|
|
+ } else {
|
|
|
+ msg.setError("请选择线索");
|
|
|
+ }
|
|
|
+ return msg; }
|
|
|
+
|
|
|
//重命名
|
|
|
@RequestMapping("reFileName")
|
|
|
public Object reFileName(UploadFile uploadFile, HttpServletRequest request) throws Exception {
|