代码调整
This commit is contained in:
parent
9a1fe4a96a
commit
a606ce3b35
@ -1,6 +1,7 @@
|
||||
package club.joylink.xiannccda.controller;
|
||||
|
||||
import club.joylink.xiannccda.dto.config.DeviceAreaConfigDto;
|
||||
import club.joylink.xiannccda.dto.config.DeviceAreaConfigPageDto;
|
||||
import club.joylink.xiannccda.dto.config.DeviceAreaConfigQueryDto;
|
||||
import club.joylink.xiannccda.entity.DeviceAreaConfig;
|
||||
import club.joylink.xiannccda.repository.impl.DeviceAreaConfigRepository;
|
||||
@ -71,7 +72,7 @@ public class DeviceAreaConfigController {
|
||||
@SecurityRequirement(name = "jwt")
|
||||
@Operation(summary = "获取详情数据")
|
||||
@GetMapping("/page/{lineId}")
|
||||
public Page<DeviceAreaConfig> page(@PathVariable("lineId") Integer lineId, DeviceAreaConfigQueryDto queryDto) {
|
||||
public Page<DeviceAreaConfigPageDto> page(@PathVariable("lineId") Integer lineId, DeviceAreaConfigQueryDto queryDto) {
|
||||
return this.areaConfigService.page(queryDto, lineId);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user