update 查询未开发票站点列表

This commit is contained in:
2023-05-18 17:24:13 +08:00
parent d0dc2e64c2
commit a3f096ab80
5 changed files with 85 additions and 10 deletions

View File

@@ -4,6 +4,8 @@ import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import java.util.List;
@@ -89,4 +91,20 @@ public class StationInfoVO {
* 纬度
*/
private String stationLat;
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
StationInfoVO that = (StationInfoVO) o;
return new EqualsBuilder().append(stationId, that.stationId).append(stationName, that.stationName).isEquals();
}
@Override
public int hashCode() {
return new HashCodeBuilder(17, 37).append(stationId).append(stationName).toHashCode();
}
}

View File

@@ -32,6 +32,11 @@ public class OrderVO {
*/
private String pileConnectorCode;
/**
* 站点id
*/
private String stationId;
/**
* 站点名称
*/

View File

@@ -726,7 +726,7 @@
t1.order_code as orderCode,
t1.order_status as orderStatus,
t1.reason,
t1.station_id,
t1.station_id as stationId,
t3.station_name as stationName,
t1.pile_sn as pileSn,
t1.connector_code as connectorCode,