add 查询充电桩报文列表方法

This commit is contained in:
bl\GQS02
2025-11-06 15:39:04 +08:00
parent 66ba4ce4a3
commit 7eb3b12013
3 changed files with 20 additions and 0 deletions

View File

@@ -20,4 +20,7 @@ public interface PileMsgRecordMapper {
List<PileMsgRecord> getPileFeedListV2(@Param("pileSn") String pileSn, @Param("frameType") String frameType,
@Param("startTime") Date startTime, @Param("endTime") Date endTime);
List<PileMsgRecord> queryPileFeedList(@Param("pileSn") String pileSn, @Param("frameType") String frameType,
@Param("transactionCode") String transactionCode);
}

View File

@@ -167,6 +167,10 @@ public class PileMsgRecordServiceImpl implements PileMsgRecordService {
return this.getPileFeedListV2(pileSn, frameType, DateUtils.localDateTime2Date(startTime), DateUtils.localDateTime2Date(endTime));
}
public List<PileMsgRecord> queryPileFeedList(String pileSn, String frameType, String transactionCode) {
return pileMsgRecordMapper.queryPileFeedList(pileSn, frameType, transactionCode);
}
/**
* 解析登录报文
* @param jsonMsg