mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-05-07 03:20:06 +08:00
update
This commit is contained in:
@@ -230,6 +230,13 @@ public class SpringBootTestController {
|
||||
@Autowired
|
||||
private OrderPayRecordService orderPayRecordService;
|
||||
|
||||
@Test
|
||||
public void toStringTest() {
|
||||
String jsonString = "{\"business\":\"00\",\"communicationVersion\":\"v1.5\",\"connectorNum\":\"01\",\"iccid\":\"89860620180085681816\",\"internetConnection\":\"00\",\"pileSn\":\"88230000000259\",\"pileType\":\"01\",\"programVersion\":\"gyk-V29\\u0000\"}";
|
||||
LoginRequestData loginRequestData = JSONObject.parseObject(jsonString, LoginRequestData.class);
|
||||
System.out.println(loginRequestData.toString());
|
||||
}
|
||||
|
||||
/**
|
||||
* 单元测试,测试订单流程
|
||||
*/
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
package com.jsowell.common.core.domain.ykc;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Builder;
|
||||
import lombok.Data;
|
||||
import lombok.NoArgsConstructor;
|
||||
import lombok.*;
|
||||
|
||||
@Data
|
||||
@Getter
|
||||
@Setter
|
||||
@NoArgsConstructor
|
||||
@AllArgsConstructor
|
||||
@Builder
|
||||
@@ -55,4 +53,18 @@ public class LoginRequestData {
|
||||
* 0x04 其他
|
||||
*/
|
||||
private String business;
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "LoginRequestData{" +
|
||||
"pileSn='" + pileSn + '\'' +
|
||||
", pileType='" + pileType + '\'' +
|
||||
", connectorNum='" + connectorNum + '\'' +
|
||||
", communicationVersion='" + communicationVersion + '\'' +
|
||||
", programVersion='" + programVersion + '\'' +
|
||||
", internetConnection='" + internetConnection + '\'' +
|
||||
", iccid='" + iccid + '\'' +
|
||||
", business='" + business + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,19 +10,6 @@ import java.util.List;
|
||||
public interface PileMsgRecordMapper {
|
||||
int insertSelective(PileMsgRecord record);
|
||||
|
||||
// PileMsgRecord selectByPrimaryKey(Integer id);
|
||||
|
||||
// PileMsgRecord getByPileSn(String pileSn);
|
||||
|
||||
// PileMsgRecord getByConnectorCode(String connectorCode);
|
||||
|
||||
/**
|
||||
* 根据枪口号查询枪口日志
|
||||
* @param connectorCodeList
|
||||
* @return
|
||||
*/
|
||||
// List<PileMsgRecord> getByConnectorCodeList(@Param("connectorCodeList") List<String> connectorCodeList);
|
||||
|
||||
/**
|
||||
* 查询充电桩通信日志
|
||||
* @param pileSn 桩号
|
||||
|
||||
Reference in New Issue
Block a user