修改设备操作日志表,添加获取用户端刷卡记录列表接口

This commit is contained in:
2024-12-30 16:03:44 +08:00
parent 470154356d
commit ca1fd4a3d8
7 changed files with 60 additions and 1 deletions

View File

@ -38,6 +38,19 @@ public class NgCardSwipeRecordsController extends BaseController
@Autowired
private INgCardSwipeRecordsService ngCardSwipeRecordsService;
/**
* 用户查询刷卡记录列表
*/
@PreAuthorize("@ss.hasPermi('iot:records:list')")
@GetMapping("/list/user")
@ApiOperation("查询刷卡记录列表")
public TableDataInfo userList(NgCardSwipeRecords ngCardSwipeRecords)
{
startPage();
List<NgCardSwipeRecords> list = ngCardSwipeRecordsService.selectNgCardSwipeRecordsUserList(ngCardSwipeRecords);
return getDataTable(list);
}
/**
* 查询刷卡记录列表
*/
@ -51,6 +64,7 @@ public class NgCardSwipeRecordsController extends BaseController
return getDataTable(list);
}
/**
* 导出刷卡记录列表
*/