mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
使用交易流水号查询0x3b报文
This commit is contained in:
@@ -35,4 +35,6 @@ public interface PileMsgRecordService {
|
||||
List<PileMsgRecord> getPileFeedListV2(String pileSn, String frameType, Date startTime, Date endTime);
|
||||
|
||||
List<PileMsgRecord> getPileFeedListV2(String pileSn, String frameType, LocalDateTime startTime, LocalDateTime endTime);
|
||||
|
||||
List<PileMsgRecord> queryPileFeedList(String pileSn, String frameType, String transactionCode);
|
||||
}
|
||||
|
||||
@@ -173,6 +173,7 @@ public class PileMsgRecordServiceImpl implements PileMsgRecordService {
|
||||
return this.getPileFeedListV2(pileSn, frameType, DateUtils.localDateTime2Date(startTime), DateUtils.localDateTime2Date(endTime));
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<PileMsgRecord> queryPileFeedList(String pileSn, String frameType, String transactionCode) {
|
||||
return pileMsgRecordMapper.queryPileFeedList(pileSn, frameType, transactionCode);
|
||||
}
|
||||
|
||||
@@ -162,7 +162,7 @@
|
||||
and frame_type = #{frameType,jdbcType=VARCHAR}
|
||||
</if>
|
||||
<if test="transactionCode != null and transactionCode != ''" >
|
||||
and transaction_code = #{transactionCode,jdbcType=VARCHAR}
|
||||
and json_msg->>'$.transactionCode' LIKE CONCAT('%', #{transactionCode}, '%')
|
||||
</if>
|
||||
</select>
|
||||
</mapper>
|
||||
|
||||
Reference in New Issue
Block a user