合并升级jdk17语法
This commit is contained in:
parent
934b6633b9
commit
1115dcd968
@ -22,7 +22,7 @@ import org.simpleframework.xml.core.Validate;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@ -59,7 +59,7 @@ public class MachineDeviceLargeController {
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<MachineDeviceLargeVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<IPage<MachineDeviceLargeVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeService.queryPageList(param));
|
||||
}
|
||||
|
||||
@ -70,7 +70,7 @@ public class MachineDeviceLargeController {
|
||||
@OperLog(operModul = "大型机械管理", operType = "列表查询", operDesc = "列表查询大型机械信息")
|
||||
@ApiOperation(value = "列表查询大型机械信息", notes = "列表查询大型机械信息", httpMethod="GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<MachineDeviceLargeVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<List<MachineDeviceLargeVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeService.queryList(param));
|
||||
}
|
||||
|
||||
@ -108,7 +108,7 @@ public class MachineDeviceLargeController {
|
||||
@ApiOperation(value = "删除大型机械信息", notes = "删除大型机械信息" , httpMethod="POST")
|
||||
@ApiImplicitParam(name = "id", value = "大型机械ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<MachineDeviceLarge> delete(@ApiIgnore @RequestBody HashMap<String ,Object> map) {
|
||||
public Result<MachineDeviceLarge> delete(@Parameter(hidden = true) @RequestBody HashMap<String ,Object> map) {
|
||||
machineDeviceLargeService.delete(MapUtils.getString(map, "id"));
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
@ -44,7 +44,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
import java.util.*;
|
||||
import java.util.stream.Collectors;
|
||||
@ -110,7 +110,7 @@ public class MachineDeviceLargeEntryController {
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<MachineDeviceLargeEntryVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<IPage<MachineDeviceLargeEntryVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryService.queryPageList(param));
|
||||
}
|
||||
|
||||
@ -122,7 +122,7 @@ public class MachineDeviceLargeEntryController {
|
||||
@OperLog(operModul = "大型机械进场管理", operType = "列表查询", operDesc = "列表查询大型机械进场信息")
|
||||
@ApiOperation(value = "列表查询大型机械进场信息", notes = "列表查询大型机械进场信息", httpMethod = "GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<MachineDeviceLargeEntryVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<List<MachineDeviceLargeEntryVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryService.queryList(param));
|
||||
}
|
||||
|
||||
@ -149,7 +149,7 @@ public class MachineDeviceLargeEntryController {
|
||||
@ApiOperation(value = "删除大型机械进场信息", notes = "删除大型机械进场信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "大型机械进场ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<MachineDeviceLargeEntry> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
|
||||
public Result<MachineDeviceLargeEntry> delete(@Parameter(hidden = true) @RequestBody HashMap<String, Object> map) {
|
||||
machineDeviceLargeEntryService.delete(MapUtils.getString(map, "id"));
|
||||
return Result.ok();
|
||||
}
|
||||
@ -269,7 +269,7 @@ public class MachineDeviceLargeEntryController {
|
||||
@ApiOperation(value = "查询大型机械进场的作业人员信息列表", notes = "查询大型机械进场的作业人员信息列表", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "大型机械进场ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/getOperatorListById")
|
||||
public Result<List<MachineDeviceLargeEntryOperatorVo>> getOperatorListById(@ApiIgnore @RequestBody HashMap<String, Object> param) {
|
||||
public Result<List<MachineDeviceLargeEntryOperatorVo>> getOperatorListById(@Parameter(hidden = true) @RequestBody HashMap<String, Object> param) {
|
||||
String id = MapUtils.getString(param, "id");
|
||||
MachineDeviceLargeEntry entry = machineDeviceLargeEntryService.getById(id);
|
||||
String operator = entry.getOperator();
|
||||
|
||||
@ -22,7 +22,7 @@ import org.simpleframework.xml.core.Validate;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@ -62,7 +62,7 @@ public class MachineDeviceLargeEntryFileController {
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<MachineDeviceLargeEntryFileVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<IPage<MachineDeviceLargeEntryFileVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryFileService.queryPageList(param));
|
||||
}
|
||||
|
||||
@ -74,7 +74,7 @@ public class MachineDeviceLargeEntryFileController {
|
||||
@OperLog(operModul = "大型机械进场目录资料管理", operType = "列表查询", operDesc = "列表查询大型机械进场目录资料信息")
|
||||
@ApiOperation(value = "列表查询大型机械进场目录资料信息", notes = "列表查询大型机械进场目录资料信息", httpMethod = "GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<MachineDeviceLargeEntryFileVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<List<MachineDeviceLargeEntryFileVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryFileService.queryList(param));
|
||||
}
|
||||
|
||||
@ -115,7 +115,7 @@ public class MachineDeviceLargeEntryFileController {
|
||||
@ApiOperation(value = "删除大型机械进场目录资料信息", notes = "删除大型机械进场目录资料信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "大型机械进场目录资料ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<MachineDeviceLargeEntryFile> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
|
||||
public Result<MachineDeviceLargeEntryFile> delete(@Parameter(hidden = true) @RequestBody HashMap<String, Object> map) {
|
||||
machineDeviceLargeEntryFileService.delete(MapUtils.getString(map, "id"));
|
||||
return Result.ok();
|
||||
}
|
||||
@ -141,7 +141,7 @@ public class MachineDeviceLargeEntryFileController {
|
||||
@ApiImplicitParam(name = "catalogName", value = "目录名称", paramType = "body", required = false, dataType = "String", example = "{\"id\":\"1\"}"),
|
||||
})
|
||||
@PostMapping(value = "/getCatalogsWithFile")
|
||||
public Result<List<CatalogWithFileVo>> getCatalogsWithFile(@ApiIgnore @RequestBody HashMap<String, Object> param) {
|
||||
public Result<List<CatalogWithFileVo>> getCatalogsWithFile(@Parameter(hidden = true) @RequestBody HashMap<String, Object> param) {
|
||||
String largeEntryId = MapUtils.getString(param, "largeEntryId");
|
||||
MachineDeviceLargeEntryVo entryVo = machineDeviceLargeEntryService.queryById(largeEntryId);
|
||||
param.put("projectSn", entryVo.getProjectSn());
|
||||
|
||||
@ -17,7 +17,7 @@ import org.simpleframework.xml.core.Validate;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@ -50,7 +50,7 @@ public class MachineDeviceLargeEntryInspectCheckController {
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<MachineDeviceLargeEntryInspectCheckVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<IPage<MachineDeviceLargeEntryInspectCheckVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryInspectCheckService.queryPageList(param));
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ public class MachineDeviceLargeEntryInspectCheckController {
|
||||
@OperLog(operModul = "大型机械进场绑定的检查项管理", operType = "列表查询", operDesc = "列表查询大型机械进场绑定的检查项信息")
|
||||
@ApiOperation(value = "列表查询大型机械进场绑定的检查项信息", notes = "列表查询大型机械进场绑定的检查项信息", httpMethod="GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<MachineDeviceLargeEntryInspectCheckVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<List<MachineDeviceLargeEntryInspectCheckVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryInspectCheckService.queryList(param));
|
||||
}
|
||||
|
||||
@ -99,7 +99,7 @@ public class MachineDeviceLargeEntryInspectCheckController {
|
||||
@ApiOperation(value = "删除大型机械进场绑定的检查项信息", notes = "删除大型机械进场绑定的检查项信息" , httpMethod="POST")
|
||||
@ApiImplicitParam(name = "id", value = "大型机械进场绑定的检查项ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<MachineDeviceLargeEntryInspectCheck> delete(@ApiIgnore @RequestBody HashMap<String ,Object> map) {
|
||||
public Result<MachineDeviceLargeEntryInspectCheck> delete(@Parameter(hidden = true) @RequestBody HashMap<String ,Object> map) {
|
||||
machineDeviceLargeEntryInspectCheckService.delete(MapUtils.getString(map, "id"));
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ import org.simpleframework.xml.core.Validate;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@ -50,7 +50,7 @@ public class MachineDeviceLargeEntryInspectCheckRecordController {
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<MachineDeviceLargeEntryInspectCheckRecordVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<IPage<MachineDeviceLargeEntryInspectCheckRecordVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryInspectCheckRecordService.queryPageList(param));
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ public class MachineDeviceLargeEntryInspectCheckRecordController {
|
||||
@OperLog(operModul = "大型机械进场检查项的检查记录管理", operType = "列表查询", operDesc = "列表查询大型机械进场检查项的检查记录信息")
|
||||
@ApiOperation(value = "列表查询大型机械进场检查项的检查记录信息", notes = "列表查询大型机械进场检查项的检查记录信息", httpMethod="GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<MachineDeviceLargeEntryInspectCheckRecordVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<List<MachineDeviceLargeEntryInspectCheckRecordVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryInspectCheckRecordService.queryList(param));
|
||||
}
|
||||
|
||||
@ -99,7 +99,7 @@ public class MachineDeviceLargeEntryInspectCheckRecordController {
|
||||
@ApiOperation(value = "删除大型机械进场检查项的检查记录信息", notes = "删除大型机械进场检查项的检查记录信息" , httpMethod="POST")
|
||||
@ApiImplicitParam(name = "id", value = "大型机械进场检查项的检查记录ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<MachineDeviceLargeEntryInspectCheckRecord> delete(@ApiIgnore @RequestBody HashMap<String ,Object> map) {
|
||||
public Result<MachineDeviceLargeEntryInspectCheckRecord> delete(@Parameter(hidden = true) @RequestBody HashMap<String ,Object> map) {
|
||||
machineDeviceLargeEntryInspectCheckRecordService.delete(MapUtils.getString(map, "id"));
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ import org.simpleframework.xml.core.Validate;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@ -50,7 +50,7 @@ public class MachineDeviceLargeEntryInspectTableController {
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<MachineDeviceLargeEntryInspectTableVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<IPage<MachineDeviceLargeEntryInspectTableVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryInspectTableService.queryPageList(param));
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ public class MachineDeviceLargeEntryInspectTableController {
|
||||
@OperLog(operModul = "大型机械进场绑定检查表管理", operType = "列表查询", operDesc = "列表查询大型机械进场绑定检查表信息")
|
||||
@ApiOperation(value = "列表查询大型机械进场绑定检查表信息", notes = "列表查询大型机械进场绑定检查表信息", httpMethod="GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<MachineDeviceLargeEntryInspectTableVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<List<MachineDeviceLargeEntryInspectTableVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryInspectTableService.queryList(param));
|
||||
}
|
||||
|
||||
@ -99,7 +99,7 @@ public class MachineDeviceLargeEntryInspectTableController {
|
||||
@ApiOperation(value = "删除大型机械进场绑定检查表信息", notes = "删除大型机械进场绑定检查表信息" , httpMethod="POST")
|
||||
@ApiImplicitParam(name = "id", value = "大型机械进场绑定检查表ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<MachineDeviceLargeEntryInspectTable> delete(@ApiIgnore @RequestBody HashMap<String ,Object> map) {
|
||||
public Result<MachineDeviceLargeEntryInspectTable> delete(@Parameter(hidden = true) @RequestBody HashMap<String ,Object> map) {
|
||||
machineDeviceLargeEntryInspectTableService.delete(MapUtils.getString(map, "id"));
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ import org.simpleframework.xml.core.Validate;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@ -50,7 +50,7 @@ public class MachineDeviceLargeEntryInspectTableRecordController {
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<MachineDeviceLargeEntryInspectTableRecordVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<IPage<MachineDeviceLargeEntryInspectTableRecordVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryInspectTableRecordService.queryPageList(param));
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ public class MachineDeviceLargeEntryInspectTableRecordController {
|
||||
@OperLog(operModul = "大型机械进场检查表的检查记录管理", operType = "列表查询", operDesc = "列表查询大型机械进场检查表的检查记录信息")
|
||||
@ApiOperation(value = "列表查询大型机械进场检查表的检查记录信息", notes = "列表查询大型机械进场检查表的检查记录信息", httpMethod="GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<MachineDeviceLargeEntryInspectTableRecordVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<List<MachineDeviceLargeEntryInspectTableRecordVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryInspectTableRecordService.queryList(param));
|
||||
}
|
||||
|
||||
@ -99,7 +99,7 @@ public class MachineDeviceLargeEntryInspectTableRecordController {
|
||||
@ApiOperation(value = "删除大型机械进场检查表的检查记录信息", notes = "删除大型机械进场检查表的检查记录信息" , httpMethod="POST")
|
||||
@ApiImplicitParam(name = "id", value = "大型机械进场检查表的检查记录ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<MachineDeviceLargeEntryInspectTableRecord> delete(@ApiIgnore @RequestBody HashMap<String ,Object> map) {
|
||||
public Result<MachineDeviceLargeEntryInspectTableRecord> delete(@Parameter(hidden = true) @RequestBody HashMap<String ,Object> map) {
|
||||
machineDeviceLargeEntryInspectTableRecordService.delete(MapUtils.getString(map, "id"));
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ import org.simpleframework.xml.core.Validate;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@ -50,7 +50,7 @@ public class MachineDeviceLargeEntryInspectionDetectionController {
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<MachineDeviceLargeEntryInspectionDetectionVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<IPage<MachineDeviceLargeEntryInspectionDetectionVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryInspectionDetectionService.queryPageList(param));
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ public class MachineDeviceLargeEntryInspectionDetectionController {
|
||||
@OperLog(operModul = "大型机械进场检验检测管理", operType = "列表查询", operDesc = "列表查询大型机械进场检验检测信息")
|
||||
@ApiOperation(value = "列表查询大型机械进场检验检测信息", notes = "列表查询大型机械进场检验检测信息", httpMethod="GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<MachineDeviceLargeEntryInspectionDetectionVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<List<MachineDeviceLargeEntryInspectionDetectionVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryInspectionDetectionService.queryList(param));
|
||||
}
|
||||
|
||||
@ -99,7 +99,7 @@ public class MachineDeviceLargeEntryInspectionDetectionController {
|
||||
@ApiOperation(value = "删除大型机械进场检验检测信息", notes = "删除大型机械进场检验检测信息" , httpMethod="POST")
|
||||
@ApiImplicitParam(name = "id", value = "大型机械进场检验检测ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<MachineDeviceLargeEntryInspectionDetection> delete(@ApiIgnore @RequestBody HashMap<String ,Object> map) {
|
||||
public Result<MachineDeviceLargeEntryInspectionDetection> delete(@Parameter(hidden = true) @RequestBody HashMap<String ,Object> map) {
|
||||
machineDeviceLargeEntryInspectionDetectionService.delete(MapUtils.getString(map, "id"));
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ import org.simpleframework.xml.core.Validate;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@ -50,7 +50,7 @@ public class MachineDeviceLargeEntryMaintenanceController {
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<MachineDeviceLargeEntryMaintenanceVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<IPage<MachineDeviceLargeEntryMaintenanceVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryMaintenanceService.queryPageList(param));
|
||||
}
|
||||
|
||||
@ -61,7 +61,7 @@ public class MachineDeviceLargeEntryMaintenanceController {
|
||||
@OperLog(operModul = "大型机械进场维修保养管理", operType = "列表查询", operDesc = "列表查询大型机械进场维修保养信息")
|
||||
@ApiOperation(value = "列表查询大型机械进场维修保养信息", notes = "列表查询大型机械进场维修保养信息", httpMethod="GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<MachineDeviceLargeEntryMaintenanceVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<List<MachineDeviceLargeEntryMaintenanceVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryMaintenanceService.queryList(param));
|
||||
}
|
||||
|
||||
@ -99,7 +99,7 @@ public class MachineDeviceLargeEntryMaintenanceController {
|
||||
@ApiOperation(value = "删除大型机械进场维修保养信息", notes = "删除大型机械进场维修保养信息" , httpMethod="POST")
|
||||
@ApiImplicitParam(name = "id", value = "大型机械进场维修保养ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<MachineDeviceLargeEntryMaintenance> delete(@ApiIgnore @RequestBody HashMap<String ,Object> map) {
|
||||
public Result<MachineDeviceLargeEntryMaintenance> delete(@Parameter(hidden = true) @RequestBody HashMap<String ,Object> map) {
|
||||
machineDeviceLargeEntryMaintenanceService.delete(MapUtils.getString(map, "id"));
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
@ -7,15 +7,15 @@ import io.swagger.annotations.ApiImplicitParam;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import io.swagger.annotations.ApiImplicitParams;
|
||||
import java.util.HashMap;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.io.IOException;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.net.URLDecoder;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import javax.servlet.http.HttpServletResponse;
|
||||
import jakarta.servlet.http.HttpServletRequest;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import com.zhgd.jeecg.common.api.vo.Result;
|
||||
import com.zhgd.jeecg.common.system.query.QueryGenerator;
|
||||
import com.zhgd.jeecg.common.util.oConvertUtils;
|
||||
@ -73,7 +73,7 @@ public class MachineDeviceLargeEntryOperateRecordController {
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<MachineDeviceLargeEntryOperateRecordVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<IPage<MachineDeviceLargeEntryOperateRecordVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryOperateRecordService.queryPageList(param));
|
||||
}
|
||||
|
||||
@ -84,7 +84,7 @@ public class MachineDeviceLargeEntryOperateRecordController {
|
||||
@OperLog(operModul = "大型机械进场操作记录管理", operType = "列表查询", operDesc = "列表查询大型机械进场操作记录信息")
|
||||
@ApiOperation(value = "列表查询大型机械进场操作记录信息", notes = "列表查询大型机械进场操作记录信息", httpMethod="GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<MachineDeviceLargeEntryOperateRecordVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<List<MachineDeviceLargeEntryOperateRecordVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceLargeEntryOperateRecordService.queryList(param));
|
||||
}
|
||||
|
||||
@ -122,7 +122,7 @@ public class MachineDeviceLargeEntryOperateRecordController {
|
||||
@ApiOperation(value = "删除大型机械进场操作记录信息", notes = "删除大型机械进场操作记录信息" , httpMethod="POST")
|
||||
@ApiImplicitParam(name = "id", value = "大型机械进场操作记录ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<MachineDeviceLargeEntryOperateRecord> delete(@ApiIgnore @RequestBody HashMap<String ,Object> map) {
|
||||
public Result<MachineDeviceLargeEntryOperateRecord> delete(@Parameter(hidden = true) @RequestBody HashMap<String ,Object> map) {
|
||||
machineDeviceLargeEntryOperateRecordService.delete(MapUtils.getString(map, "id"));
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
@ -22,7 +22,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@ -58,7 +58,7 @@ public class MachineDeviceTypeCatalogController {
|
||||
@ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<MachineDeviceTypeCatalogVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<IPage<MachineDeviceTypeCatalogVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceTypeCatalogService.queryPageList(param));
|
||||
}
|
||||
|
||||
@ -70,7 +70,7 @@ public class MachineDeviceTypeCatalogController {
|
||||
@OperLog(operModul = "机械设备类别绑定目录管理", operType = "列表查询", operDesc = "列表查询机械设备类别绑定目录信息")
|
||||
@ApiOperation(value = "列表查询机械设备类别绑定目录信息", notes = "列表查询机械设备类别绑定目录信息", httpMethod = "GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<MachineDeviceTypeCatalogVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<List<MachineDeviceTypeCatalogVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceTypeCatalogService.queryList(param));
|
||||
}
|
||||
|
||||
@ -111,7 +111,7 @@ public class MachineDeviceTypeCatalogController {
|
||||
@ApiOperation(value = "删除机械设备类别绑定目录信息", notes = "删除机械设备类别绑定目录信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "机械设备类别绑定目录ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<MachineDeviceTypeCatalog> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
|
||||
public Result<MachineDeviceTypeCatalog> delete(@Parameter(hidden = true) @RequestBody HashMap<String, Object> map) {
|
||||
machineDeviceTypeCatalogService.delete(MapUtils.getString(map, "id"));
|
||||
return Result.ok();
|
||||
}
|
||||
|
||||
@ -19,7 +19,7 @@ import org.simpleframework.xml.core.Validate;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Lazy;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import springfox.documentation.annotations.ApiIgnore;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
@ -53,7 +53,7 @@ public class MachineDeviceTypeController {
|
||||
@ApiImplicitParam(name = "projectSn", value = "项目sn", paramType = "query", required = false, dataType = "Integer"),
|
||||
})
|
||||
@GetMapping(value = "/page")
|
||||
public Result<IPage<MachineDeviceTypeVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<IPage<MachineDeviceTypeVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
MapUtil.putHeadquarterSnByProjectSn(param, "sn");
|
||||
return Result.success(machineDeviceTypeService.queryPageList(param));
|
||||
}
|
||||
@ -65,7 +65,7 @@ public class MachineDeviceTypeController {
|
||||
@OperLog(operModul = "机械设备分类管理", operType = "列表查询", operDesc = "列表查询机械设备分类信息")
|
||||
@ApiOperation(value = "列表查询机械设备分类信息", notes = "列表查询机械设备分类信息", httpMethod="GET")
|
||||
@GetMapping(value = "/list")
|
||||
public Result<List<MachineDeviceTypeVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
public Result<List<MachineDeviceTypeVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
return Result.success(machineDeviceTypeService.queryList(param));
|
||||
}
|
||||
|
||||
@ -103,7 +103,7 @@ public class MachineDeviceTypeController {
|
||||
@ApiOperation(value = "删除机械设备分类信息", notes = "删除机械设备分类信息" , httpMethod="POST")
|
||||
@ApiImplicitParam(name = "id", value = "机械设备分类ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<MachineDeviceType> delete(@ApiIgnore @RequestBody HashMap<String ,Object> map) {
|
||||
public Result<MachineDeviceType> delete(@Parameter(hidden = true) @RequestBody HashMap<String ,Object> map) {
|
||||
machineDeviceTypeService.delete(MapUtils.getString(map, "id"));
|
||||
return Result.ok();
|
||||
}
|
||||
@ -126,7 +126,7 @@ public class MachineDeviceTypeController {
|
||||
@ApiImplicitParam(name = "sn", value = "总公司sn", paramType = "body", required = true, dataType = "String"),
|
||||
})
|
||||
@GetMapping(value = "tree/list")
|
||||
public Result<JSONArray> treeList(@ApiIgnore @RequestParam HashMap<String, Object> paramMap) {
|
||||
public Result<JSONArray> treeList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> paramMap) {
|
||||
return Result.success(machineDeviceTypeService.treeList(paramMap));
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user