合并升级jdk17语法
This commit is contained in:
parent
d15c62efd0
commit
111e1962ba
@ -23,7 +23,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;
|
||||
@ -65,7 +65,7 @@ public class BigscreenCustomPositionConfigController {
|
||||
// @ApiImplicitParam(name = "pageSize", value = "每页显示条数", paramType = "query", required = true, dataType = "Integer"),
|
||||
// })
|
||||
// @GetMapping(value = "/page")
|
||||
// public Result<IPage<BigscreenCustomPositionConfigVo>> queryPageList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
// public Result<IPage<BigscreenCustomPositionConfigVo>> queryPageList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
// return Result.success(bigscreenCustomPositionConfigService.queryPageList(param));
|
||||
// }
|
||||
|
||||
@ -77,7 +77,7 @@ public class BigscreenCustomPositionConfigController {
|
||||
// @OperLog(operModul = "大屏自定义项目点位配置管理", operType = "列表查询", operDesc = "列表查询大屏自定义项目点位配置信息")
|
||||
// @ApiOperation(value = "列表查询大屏自定义项目点位配置信息", notes = "列表查询大屏自定义项目点位配置信息", httpMethod = "GET")
|
||||
// @GetMapping(value = "/list")
|
||||
// public Result<List<BigscreenCustomPositionConfigVo>> queryList(@ApiIgnore @RequestParam HashMap<String, Object> param) {
|
||||
// public Result<List<BigscreenCustomPositionConfigVo>> queryList(@Parameter(hidden = true) @RequestParam HashMap<String, Object> param) {
|
||||
// return Result.success(bigscreenCustomPositionConfigService.queryList(param));
|
||||
// }
|
||||
|
||||
@ -126,7 +126,7 @@ public class BigscreenCustomPositionConfigController {
|
||||
@ApiOperation(value = "删除大屏自定义项目点位配置信息", notes = "删除大屏自定义项目点位配置信息", httpMethod = "POST")
|
||||
@ApiImplicitParam(name = "id", value = "大屏自定义项目点位配置ID", paramType = "body", required = true, dataType = "String", example = "{\"id\":\"1\"}")
|
||||
@PostMapping(value = "/delete")
|
||||
public Result<BigscreenCustomPositionConfig> delete(@ApiIgnore @RequestBody HashMap<String, Object> map) {
|
||||
public Result<BigscreenCustomPositionConfig> delete(@Parameter(hidden = true) @RequestBody HashMap<String, Object> map) {
|
||||
bigscreenCustomPositionConfigService.delete(MapUtils.getString(map, "id"));
|
||||
return Result.ok();
|
||||
}
|
||||
@ -150,7 +150,7 @@ public class BigscreenCustomPositionConfigController {
|
||||
@ApiImplicitParam(name = "sn", value = "企业sn", paramType = "body", required = true, dataType = "String"),
|
||||
})
|
||||
@PostMapping(value = "/getPositionList")
|
||||
public Result<List<BigscreenCustomPositionConfigVo>> getPositionList(@ApiIgnore @RequestBody HashMap<String, Object> param) {
|
||||
public Result<List<BigscreenCustomPositionConfigVo>> getPositionList(@Parameter(hidden = true) @RequestBody HashMap<String, Object> param) {
|
||||
String sn = MapUtils.getString(param, "sn");
|
||||
Company company = companyService.getOne(new LambdaQueryWrapper<Company>()
|
||||
.eq(Company::getCompanySn, sn));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user