source要搞一下

This commit is contained in:
ZZ 2022-03-09 13:10:26 +08:00
parent 6c0156544d
commit a0981f1ca5
2 changed files with 4 additions and 2 deletions

View File

@ -107,8 +107,8 @@ public class QueryStartChargeController {
String orderNo = (String) etOrderData.get("orderNo");
etOrderMapping.setXhOrderNo(orderNo);
REDIS.setCacheMap("pushOrder:".concat(orderNo), pushOrder);
} else {
emptyHorder(startChargeSeq, connectorId, etOrderMapping);
// } else { // todo hah??
// emptyHorder(startChargeSeq, connectorId, etOrderMapping);
}
}
}
@ -136,6 +136,7 @@ public class QueryStartChargeController {
emptyHorder.setOperatorId3rdptyEvcs(operatorId3rdpty);
emptyHorder.setUserId(xhpcInternetUserRepository.queryDbId(operatorId3rdpty));
emptyHorder.setType(1);
emptyHorder.setSource(1);
emptyHorder.setState(-1);
emptyHorder.setChargingStationId(REDIS.getCacheMapValue("pile:".concat(connectorId.substring(0, 14)), "stationId"));
emptyHorder.setTerminalId(xhpcTerminalRepository.queryDbId(connectorId));

View File

@ -18,6 +18,7 @@ public class AuthSecretTokenSecretTest {
@Rollback(false)
public void save() {
AuthSecretToken authSecretToken = new AuthSecretToken();
authSecretTokenRepository.save(authSecretToken);
}