mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 11:05:18 +08:00
校验是否为并充订单
This commit is contained in:
@@ -4,6 +4,7 @@ import com.jsowell.pile.domain.PileMsgRecord;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Repository
|
||||
@@ -18,5 +19,5 @@ public interface PileMsgRecordMapper {
|
||||
List<PileMsgRecord> getPileFeedList(@Param("pileSn") String pileSn);
|
||||
|
||||
List<PileMsgRecord> getPileFeedListV2(@Param("pileSn") String pileSn, @Param("frameType") String frameType,
|
||||
@Param("startTime") String startTime, @Param("endTime") String endTime);
|
||||
@Param("startTime") Date startTime, @Param("endTime") Date endTime);
|
||||
}
|
||||
|
||||
@@ -4,6 +4,9 @@ import com.jsowell.common.core.page.PageResponse;
|
||||
import com.jsowell.pile.domain.PileMsgRecord;
|
||||
import com.jsowell.pile.dto.QueryPileDTO;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
public interface PileMsgRecordService {
|
||||
|
||||
/**
|
||||
@@ -24,4 +27,6 @@ public interface PileMsgRecordService {
|
||||
PageResponse getPileFeedList(QueryPileDTO dto);
|
||||
|
||||
String generateDescription(PileMsgRecord pileMsgRecord);
|
||||
|
||||
List<PileMsgRecord> getPileFeedListV2(String pileSn, String frameType, Date startTime, Date endTime);
|
||||
}
|
||||
|
||||
@@ -19,6 +19,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@Service
|
||||
@@ -120,6 +121,11 @@ public class PileMsgRecordServiceImpl implements PileMsgRecordService {
|
||||
return result;
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<PileMsgRecord> getPileFeedListV2(String pileSn, String frameType, Date createTime, Date updateTime) {
|
||||
return pileMsgRecordMapper.getPileFeedListV2(pileSn, frameType, createTime, updateTime);
|
||||
}
|
||||
|
||||
/**
|
||||
* 解析登录报文
|
||||
* @param jsonMsg
|
||||
|
||||
Reference in New Issue
Block a user