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

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

@ -68,4 +68,9 @@ public class NgDeviceOperationRecords extends BaseEntity
@ApiModelProperty("失败原因")
private String failureReason;
/** 设备编码 */
@Excel(name = "设备编码")
@ApiModelProperty("设备编码")
private String deviceNumber;
}

View File

@ -21,6 +21,14 @@ public interface NgCardSwipeRecordsMapper
*/
public NgCardSwipeRecords selectNgCardSwipeRecordsById(Long id);
/**
* 查询用户刷卡记录列表
*
* @param ngCardSwipeRecords 刷卡记录
* @return 刷卡记录集合
*/
public List<NgCardSwipeRecords> selectNgCardSwipeRecordsUserList(NgCardSwipeRecords ngCardSwipeRecords);
/**
* 查询刷卡记录列表
*

View File

@ -19,6 +19,14 @@ public interface INgCardSwipeRecordsService
*/
public NgCardSwipeRecords selectNgCardSwipeRecordsById(Long id);
/**
* 查询用户刷卡记录列表根据卡号
*
* @param ngCardSwipeRecords 刷卡记录
* @return 刷卡记录集合
*/
public List<NgCardSwipeRecords> selectNgCardSwipeRecordsUserList(NgCardSwipeRecords ngCardSwipeRecords);
/**
* 查询刷卡记录列表
*

View File

@ -32,6 +32,11 @@ public class NgCardSwipeRecordsServiceImpl implements INgCardSwipeRecordsService
return ngCardSwipeRecordsMapper.selectNgCardSwipeRecordsById(id);
}
@Override
public List<NgCardSwipeRecords> selectNgCardSwipeRecordsUserList(NgCardSwipeRecords ngCardSwipeRecords) {
return ngCardSwipeRecordsMapper.selectNgCardSwipeRecordsUserList(ngCardSwipeRecords);
}
/**
* 查询刷卡记录列表
*