refactor(sis): 将E8门禁设备 ID 类型从 Integer改为 Long
This commit is contained in:
parent
a065d72724
commit
6029392c7a
@ -88,7 +88,7 @@ public class DoorDeviceController {
|
||||
* @return Boolean
|
||||
*/
|
||||
@PostMapping("/deleteDoorDevice/{id}")
|
||||
public R<Boolean> deleteDoorDevice(@PathVariable Integer id) {
|
||||
public R<Boolean> deleteDoorDevice(@PathVariable Long id) {
|
||||
log.info("E8接口删除门禁信息 入参={}", id);
|
||||
|
||||
Boolean flag = doorDeviceService.deleteDoorDevice(id);
|
||||
|
@ -55,7 +55,7 @@ public interface DoorDeviceService {
|
||||
* @param id 入参
|
||||
* @return Boolean
|
||||
*/
|
||||
Boolean deleteDoorDevice(Integer id);
|
||||
Boolean deleteDoorDevice(Long id);
|
||||
|
||||
/**
|
||||
* 分页获取授权门信息
|
||||
|
@ -159,7 +159,7 @@ public class DoorDeviceServiceImpl implements DoorDeviceService {
|
||||
* @return Boolean
|
||||
*/
|
||||
@Override
|
||||
public Boolean deleteDoorDevice(Integer id) {
|
||||
public Boolean deleteDoorDevice(Long id) {
|
||||
|
||||
// 构造删除门设备的API路径,使用设备ID替换占位符
|
||||
String api = DOOR_DEVICE_DELETE.replace("{id}", id.toString());
|
||||
|
Loading…
Reference in New Issue
Block a user