|
|
package com.agent.entity.agent;
|
|
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
import java.util.Calendar;
|
|
|
import java.util.Date;
|
|
|
|
|
|
import javax.persistence.Column;
|
|
|
import javax.persistence.Entity;
|
|
|
import javax.persistence.Table;
|
|
|
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
|
|
|
import com.agent.entity.BasicEntity;
|
|
|
|
|
|
/**
|
|
|
* Created by cohesion on 2017/8/9.
|
|
|
* <p/>
|
...
|
...
|
@@ -15,7 +18,7 @@ import com.agent.entity.BasicEntity; |
|
|
*/
|
|
|
@Entity
|
|
|
@Table(name = "preparesecondary")
|
|
|
public class PreparesecondaryEntity extends BasicEntity{
|
|
|
public class PreparesecondaryEntity extends BasicEntity {
|
|
|
private String unlodingcode;// 卸货地代码
|
|
|
private String cnecusid;// 收货人代码
|
|
|
private String shpcusid;// 发货人代码
|
...
|
...
|
@@ -73,7 +76,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
*/
|
|
|
private Long preparemasterid;
|
|
|
/**
|
|
|
*航班日期
|
|
|
* 航班日期
|
|
|
*/
|
|
|
private Date flightdate;
|
|
|
/**
|
...
|
...
|
@@ -286,9 +289,9 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
* 交运发送状态 1发送
|
|
|
*/
|
|
|
private Integer de_ids;
|
|
|
//回执代码
|
|
|
// 回执代码
|
|
|
private String response_code;
|
|
|
//回执文本
|
|
|
// 回执文本
|
|
|
private String response_text;
|
|
|
|
|
|
private Long save_time;
|
...
|
...
|
@@ -298,44 +301,57 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getUnlodingcode() {
|
|
|
return unlodingcode;
|
|
|
}
|
|
|
|
|
|
public void setUnlodingcode(String unlodingcode) {
|
|
|
this.unlodingcode = unlodingcode;
|
|
|
}
|
|
|
|
|
|
public String getCnecusid() {
|
|
|
return cnecusid;
|
|
|
}
|
|
|
|
|
|
public void setCnecusid(String cnecusid) {
|
|
|
this.cnecusid = cnecusid;
|
|
|
}
|
|
|
|
|
|
public String getShpcusid() {
|
|
|
return shpcusid;
|
|
|
}
|
|
|
|
|
|
public void setShpcusid(String shpcusid) {
|
|
|
this.shpcusid = shpcusid;
|
|
|
}
|
|
|
|
|
|
public String getShpaeo() {
|
|
|
return shpaeo;
|
|
|
}
|
|
|
|
|
|
public void setShpaeo(String shpaeo) {
|
|
|
this.shpaeo = shpaeo;
|
|
|
}
|
|
|
|
|
|
public String getCneaeo() {
|
|
|
return cneaeo;
|
|
|
}
|
|
|
|
|
|
public void setCneaeo(String cneaeo) {
|
|
|
this.cneaeo = cneaeo;
|
|
|
}
|
|
|
|
|
|
@Column(name = "USER_ID")
|
|
|
public Long getUSER_ID() {
|
|
|
return USER_ID;
|
|
|
}
|
|
|
|
|
|
public void setUSER_ID(Long uSER_ID) {
|
|
|
USER_ID = uSER_ID;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SAVE_TIME")
|
|
|
public Long getSave_time() {
|
|
|
return save_time;
|
|
|
}
|
|
|
|
|
|
public void setSave_time(Long save_time) {
|
|
|
this.save_time = save_time;
|
|
|
}
|
...
|
...
|
@@ -344,27 +360,34 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getResponse_code() {
|
|
|
return response_code;
|
|
|
}
|
|
|
|
|
|
public void setResponse_code(String response_code) {
|
|
|
this.response_code = response_code;
|
|
|
}
|
|
|
|
|
|
@Column(name = "RESPONSE_TEXT")
|
|
|
public String getResponse_text() {
|
|
|
return response_text;
|
|
|
}
|
|
|
|
|
|
public void setResponse_text(String response_text) {
|
|
|
this.response_text = response_text;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DE_IDS")
|
|
|
public Integer getDe_ids() {
|
|
|
return de_ids;
|
|
|
}
|
|
|
|
|
|
public void setDe_ids(Integer de_ids) {
|
|
|
this.de_ids = de_ids;
|
|
|
}
|
|
|
|
|
|
@Column(name = "DE_NUMBER")
|
|
|
public String getDe_number() {
|
|
|
return de_number;
|
|
|
}
|
|
|
|
|
|
public void setDe_number(String de_number) {
|
|
|
this.de_number = de_number;
|
|
|
}
|
...
|
...
|
@@ -373,6 +396,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getDe_weight() {
|
|
|
return de_weight;
|
|
|
}
|
|
|
|
|
|
public void setDe_weight(String de_weight) {
|
|
|
this.de_weight = de_weight;
|
|
|
}
|
...
|
...
|
@@ -381,6 +405,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getDe_chweight() {
|
|
|
return de_chweight;
|
|
|
}
|
|
|
|
|
|
public void setDe_chweight(String de_chweight) {
|
|
|
this.de_chweight = de_chweight;
|
|
|
}
|
...
|
...
|
@@ -389,6 +414,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getDe_size() {
|
|
|
return de_size;
|
|
|
}
|
|
|
|
|
|
public void setDe_size(String de_size) {
|
|
|
this.de_size = de_size;
|
|
|
}
|
...
|
...
|
@@ -397,6 +423,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getDe_volume() {
|
|
|
return de_volume;
|
|
|
}
|
|
|
|
|
|
public void setDe_volume(String de_volume) {
|
|
|
this.de_volume = de_volume;
|
|
|
}
|
...
|
...
|
@@ -405,6 +432,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getDe_type() {
|
|
|
return de_type;
|
|
|
}
|
|
|
|
|
|
public void setDe_type(String de_type) {
|
|
|
this.de_type = de_type;
|
|
|
}
|
...
|
...
|
@@ -413,6 +441,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getDe_trstation() {
|
|
|
return de_trstation;
|
|
|
}
|
|
|
|
|
|
public void setDe_trstation(String de_trstation) {
|
|
|
this.de_trstation = de_trstation;
|
|
|
}
|
...
|
...
|
@@ -421,6 +450,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getDe_packing() {
|
|
|
return de_packing;
|
|
|
}
|
|
|
|
|
|
public void setDe_packing(String de_packing) {
|
|
|
this.de_packing = de_packing;
|
|
|
}
|
...
|
...
|
@@ -429,6 +459,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getDe_remarks() {
|
|
|
return de_remarks;
|
|
|
}
|
|
|
|
|
|
public void setDe_remarks(String de_remarks) {
|
|
|
this.de_remarks = de_remarks;
|
|
|
}
|
...
|
...
|
@@ -437,13 +468,16 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getSh_provincecode() {
|
|
|
return sh_provincecode;
|
|
|
}
|
|
|
|
|
|
public void setSh_provincecode(String sh_provincecode) {
|
|
|
this.sh_provincecode = sh_provincecode;
|
|
|
}
|
|
|
|
|
|
@Column(name = "SH_PROVINCENAME")
|
|
|
public String getSh_provincename() {
|
|
|
return sh_provincename;
|
|
|
}
|
|
|
|
|
|
public void setSh_provincename(String sh_provincename) {
|
|
|
this.sh_provincename = sh_provincename;
|
|
|
}
|
...
|
...
|
@@ -452,13 +486,16 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getFlightno() {
|
|
|
return flightno;
|
|
|
}
|
|
|
|
|
|
public void setFlightno(String flightno) {
|
|
|
this.flightno = flightno;
|
|
|
}
|
|
|
|
|
|
@Column(name = "AUTOID")
|
|
|
public String getAutoid() {
|
|
|
return autoid;
|
|
|
}
|
|
|
|
|
|
public void setAutoid(String autoid) {
|
|
|
this.autoid = autoid;
|
|
|
}
|
...
|
...
|
@@ -467,6 +504,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getWaybillnomaster() {
|
|
|
return waybillnomaster;
|
|
|
}
|
|
|
|
|
|
public void setWaybillnomaster(String waybillnomaster) {
|
|
|
this.waybillnomaster = waybillnomaster;
|
|
|
}
|
...
|
...
|
@@ -475,6 +513,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getWaybillnosecondary() {
|
|
|
return waybillnosecondary;
|
|
|
}
|
|
|
|
|
|
public void setWaybillnosecondary(String waybillnosecondary) {
|
|
|
this.waybillnosecondary = waybillnosecondary;
|
|
|
}
|
...
|
...
|
@@ -483,6 +522,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getTotalweight() {
|
|
|
return totalweight;
|
|
|
}
|
|
|
|
|
|
public void setTotalweight(String totalweight) {
|
|
|
this.totalweight = totalweight;
|
|
|
}
|
...
|
...
|
@@ -491,6 +531,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getTotalpiece() {
|
|
|
return totalpiece;
|
|
|
}
|
|
|
|
|
|
public void setTotalpiece(String totalpiece) {
|
|
|
this.totalpiece = totalpiece;
|
|
|
}
|
...
|
...
|
@@ -499,6 +540,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getPreparepiece() {
|
|
|
return preparepiece;
|
|
|
}
|
|
|
|
|
|
public void setPreparepiece(String preparepiece) {
|
|
|
this.preparepiece = preparepiece;
|
|
|
}
|
...
|
...
|
@@ -507,6 +549,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getPrepareweight() {
|
|
|
return prepareweight;
|
|
|
}
|
|
|
|
|
|
public void setPrepareweight(String prepareweight) {
|
|
|
this.prepareweight = prepareweight;
|
|
|
}
|
...
|
...
|
@@ -515,26 +558,42 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getProductname() {
|
|
|
return productname;
|
|
|
}
|
|
|
|
|
|
public void setProductname(String productname) {
|
|
|
this.productname = productname;
|
|
|
}
|
|
|
|
|
|
public Date getStowagedate(String date){
|
|
|
if(date == null)
|
|
|
public Date getStowagedate(String datestr) {
|
|
|
if (datestr == null)
|
|
|
return null;
|
|
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
|
|
try {
|
|
|
return sdf.parse(date);
|
|
|
} catch (java.text.ParseException e) {
|
|
|
// TODO Auto-generated catch block
|
|
|
e.printStackTrace();
|
|
|
|
|
|
Calendar calendar = Calendar.getInstance();
|
|
|
String year = null;
|
|
|
String time = null;
|
|
|
if (datestr.indexOf(":") < 0) {
|
|
|
// 只有日期,没有时分秒等时间
|
|
|
year = datestr.split(" ")[0];
|
|
|
|
|
|
} else {
|
|
|
year = datestr.split(" ")[0];
|
|
|
time = datestr.split(" ")[1];
|
|
|
}
|
|
|
return null;
|
|
|
|
|
|
String[] years = year.split("-");
|
|
|
calendar.set(Integer.parseInt(years[0]), Integer.parseInt(years[1]) - 1, Integer.parseInt(years[2]));
|
|
|
if (StringUtils.isNotBlank(time)) {
|
|
|
String[] times = time.split(":");
|
|
|
calendar.set(Integer.parseInt(years[0]), Integer.parseInt(years[1]) - 1, Integer.parseInt(years[2]),
|
|
|
Integer.parseInt(times[0]), Integer.parseInt(times[1]), Integer.parseInt(times[2]));
|
|
|
}
|
|
|
return calendar.getTime();
|
|
|
}
|
|
|
|
|
|
@Column(name = "STOWAGEDATE")
|
|
|
public Date getStowagedate() {
|
|
|
return stowagedate;
|
|
|
}
|
|
|
|
|
|
public void setStowagedate(Date stowagedate) {
|
|
|
this.stowagedate = stowagedate;
|
|
|
}
|
...
|
...
|
@@ -543,6 +602,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public Date getCreatedate() {
|
|
|
return createdate;
|
|
|
}
|
|
|
|
|
|
public void setCreatedate(Date createdate) {
|
|
|
this.createdate = createdate;
|
|
|
}
|
...
|
...
|
@@ -551,6 +611,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public Long getPreparemasterid() {
|
|
|
return preparemasterid;
|
|
|
}
|
|
|
|
|
|
public void setPreparemasterid(Long preparemasterid) {
|
|
|
this.preparemasterid = preparemasterid;
|
|
|
}
|
...
|
...
|
@@ -559,6 +620,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public Date getFlightdate() {
|
|
|
return flightdate;
|
|
|
}
|
|
|
|
|
|
public void setFlightdate(Date flightdate) {
|
|
|
this.flightdate = flightdate;
|
|
|
}
|
...
|
...
|
@@ -567,6 +629,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getOriginatingstation() {
|
|
|
return originatingstation;
|
|
|
}
|
|
|
|
|
|
public void setOriginatingstation(String originatingstation) {
|
|
|
this.originatingstation = originatingstation;
|
|
|
}
|
...
|
...
|
@@ -575,6 +638,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getDestinationstation() {
|
|
|
return destinationstation;
|
|
|
}
|
|
|
|
|
|
public void setDestinationstation(String destinationstation) {
|
|
|
this.destinationstation = destinationstation;
|
|
|
}
|
...
|
...
|
@@ -583,6 +647,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getAgentcompanycode() {
|
|
|
return agentcompanycode;
|
|
|
}
|
|
|
|
|
|
public void setAgentcompanycode(String agentcompanycode) {
|
|
|
this.agentcompanycode = agentcompanycode;
|
|
|
}
|
...
|
...
|
@@ -591,6 +656,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getStatus() {
|
|
|
return status;
|
|
|
}
|
|
|
|
|
|
public void setStatus(String status) {
|
|
|
this.status = status;
|
|
|
}
|
...
|
...
|
@@ -599,6 +665,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCarrier() {
|
|
|
return carrier;
|
|
|
}
|
|
|
|
|
|
public void setCarrier(String carrier) {
|
|
|
this.carrier = carrier;
|
|
|
}
|
...
|
...
|
@@ -607,6 +674,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCustomsstatus() {
|
|
|
return customsstatus;
|
|
|
}
|
|
|
|
|
|
public void setCustomsstatus(String customsstatus) {
|
|
|
this.customsstatus = customsstatus;
|
|
|
}
|
...
|
...
|
@@ -615,6 +683,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getPaymode() {
|
|
|
return paymode;
|
|
|
}
|
|
|
|
|
|
public void setPaymode(String paymode) {
|
|
|
this.paymode = paymode;
|
|
|
}
|
...
|
...
|
@@ -623,6 +692,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getSpecialgoodscode() {
|
|
|
return specialgoodscode;
|
|
|
}
|
|
|
|
|
|
public void setSpecialgoodscode(String specialgoodscode) {
|
|
|
this.specialgoodscode = specialgoodscode;
|
|
|
}
|
...
|
...
|
@@ -631,6 +701,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCustomscode() {
|
|
|
return customscode;
|
|
|
}
|
|
|
|
|
|
public void setCustomscode(String customscode) {
|
|
|
this.customscode = customscode;
|
|
|
}
|
...
|
...
|
@@ -639,6 +710,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getAgentman() {
|
|
|
return agentman;
|
|
|
}
|
|
|
|
|
|
public void setAgentman(String agentman) {
|
|
|
this.agentman = agentman;
|
|
|
}
|
...
|
...
|
@@ -647,6 +719,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getAgentcompany() {
|
|
|
return agentcompany;
|
|
|
}
|
|
|
|
|
|
public void setAgentcompany(String agentcompany) {
|
|
|
this.agentcompany = agentcompany;
|
|
|
}
|
...
|
...
|
@@ -655,6 +728,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getReceiptinformation() {
|
|
|
return receiptinformation;
|
|
|
}
|
|
|
|
|
|
public void setReceiptinformation(String receiptinformation) {
|
|
|
this.receiptinformation = receiptinformation;
|
|
|
}
|
...
|
...
|
@@ -663,6 +737,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getUnnumber() {
|
|
|
return unnumber;
|
|
|
}
|
|
|
|
|
|
public void setUnnumber(String unnumber) {
|
|
|
this.unnumber = unnumber;
|
|
|
}
|
...
|
...
|
@@ -671,6 +746,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCategory() {
|
|
|
return category;
|
|
|
}
|
|
|
|
|
|
public void setCategory(String category) {
|
|
|
this.category = category;
|
|
|
}
|
...
|
...
|
@@ -679,6 +755,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getSh_company() {
|
|
|
return sh_company;
|
|
|
}
|
|
|
|
|
|
public void setSh_company(String sh_company) {
|
|
|
this.sh_company = sh_company;
|
|
|
}
|
...
|
...
|
@@ -687,6 +764,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getSh_address() {
|
|
|
return sh_address;
|
|
|
}
|
|
|
|
|
|
public void setSh_address(String sh_address) {
|
|
|
this.sh_address = sh_address;
|
|
|
}
|
...
|
...
|
@@ -695,6 +773,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getSh_zipcode() {
|
|
|
return sh_zipcode;
|
|
|
}
|
|
|
|
|
|
public void setSh_zipcode(String sh_zipcode) {
|
|
|
this.sh_zipcode = sh_zipcode;
|
|
|
}
|
...
|
...
|
@@ -703,6 +782,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getSh_city() {
|
|
|
return sh_city;
|
|
|
}
|
|
|
|
|
|
public void setSh_city(String sh_city) {
|
|
|
this.sh_city = sh_city;
|
|
|
}
|
...
|
...
|
@@ -711,6 +791,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getSh_deltaname() {
|
|
|
return sh_deltaname;
|
|
|
}
|
|
|
|
|
|
public void setSh_deltaname(String sh_deltaname) {
|
|
|
this.sh_deltaname = sh_deltaname;
|
|
|
}
|
...
|
...
|
@@ -719,6 +800,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getSh_country() {
|
|
|
return sh_country;
|
|
|
}
|
|
|
|
|
|
public void setSh_country(String sh_country) {
|
|
|
this.sh_country = sh_country;
|
|
|
}
|
...
|
...
|
@@ -727,6 +809,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getSh_telephone() {
|
|
|
return sh_telephone;
|
|
|
}
|
|
|
|
|
|
public void setSh_telephone(String sh_telephone) {
|
|
|
this.sh_telephone = sh_telephone;
|
|
|
}
|
...
|
...
|
@@ -735,6 +818,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getSh_fax() {
|
|
|
return sh_fax;
|
|
|
}
|
|
|
|
|
|
public void setSh_fax(String sh_fax) {
|
|
|
this.sh_fax = sh_fax;
|
|
|
}
|
...
|
...
|
@@ -743,6 +827,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getSh_name() {
|
|
|
return sh_name;
|
|
|
}
|
|
|
|
|
|
public void setSh_name(String sh_name) {
|
|
|
this.sh_name = sh_name;
|
|
|
}
|
...
|
...
|
@@ -751,6 +836,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCo_company() {
|
|
|
return co_company;
|
|
|
}
|
|
|
|
|
|
public void setCo_company(String co_company) {
|
|
|
this.co_company = co_company;
|
|
|
}
|
...
|
...
|
@@ -759,6 +845,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCo_address() {
|
|
|
return co_address;
|
|
|
}
|
|
|
|
|
|
public void setCo_address(String co_address) {
|
|
|
this.co_address = co_address;
|
|
|
}
|
...
|
...
|
@@ -767,6 +854,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCo_zipcode() {
|
|
|
return co_zipcode;
|
|
|
}
|
|
|
|
|
|
public void setCo_zipcode(String co_zipcode) {
|
|
|
this.co_zipcode = co_zipcode;
|
|
|
}
|
...
|
...
|
@@ -775,6 +863,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCo_city() {
|
|
|
return co_city;
|
|
|
}
|
|
|
|
|
|
public void setCo_city(String co_city) {
|
|
|
this.co_city = co_city;
|
|
|
}
|
...
|
...
|
@@ -783,6 +872,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCo_deltaname() {
|
|
|
return co_deltaname;
|
|
|
}
|
|
|
|
|
|
public void setCo_deltaname(String co_deltaname) {
|
|
|
this.co_deltaname = co_deltaname;
|
|
|
}
|
...
|
...
|
@@ -791,6 +881,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCo_country() {
|
|
|
return co_country;
|
|
|
}
|
|
|
|
|
|
public void setCo_country(String co_country) {
|
|
|
this.co_country = co_country;
|
|
|
}
|
...
|
...
|
@@ -799,6 +890,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCo_telephone() {
|
|
|
return co_telephone;
|
|
|
}
|
|
|
|
|
|
public void setCo_telephone(String co_telephone) {
|
|
|
this.co_telephone = co_telephone;
|
|
|
}
|
...
|
...
|
@@ -807,6 +899,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCo_fax() {
|
|
|
return co_fax;
|
|
|
}
|
|
|
|
|
|
public void setCo_fax(String co_fax) {
|
|
|
this.co_fax = co_fax;
|
|
|
}
|
...
|
...
|
@@ -815,6 +908,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCo_name() {
|
|
|
return co_name;
|
|
|
}
|
|
|
|
|
|
public void setCo_name(String co_name) {
|
|
|
this.co_name = co_name;
|
|
|
}
|
...
|
...
|
@@ -823,6 +917,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getReach_station() {
|
|
|
return reach_station;
|
|
|
}
|
|
|
|
|
|
public void setReach_station(String reach_station) {
|
|
|
this.reach_station = reach_station;
|
|
|
}
|
...
|
...
|
@@ -831,6 +926,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCarrier1() {
|
|
|
return carrier1;
|
|
|
}
|
|
|
|
|
|
public void setCarrier1(String carrier1) {
|
|
|
this.carrier1 = carrier1;
|
|
|
}
|
...
|
...
|
@@ -839,6 +935,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getReach_station1() {
|
|
|
return reach_station1;
|
|
|
}
|
|
|
|
|
|
public void setReach_station1(String reach_station1) {
|
|
|
this.reach_station1 = reach_station1;
|
|
|
}
|
...
|
...
|
@@ -847,6 +944,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getCarrier2() {
|
|
|
return carrier2;
|
|
|
}
|
|
|
|
|
|
public void setCarrier2(String carrier2) {
|
|
|
this.carrier2 = carrier2;
|
|
|
}
|
...
|
...
|
@@ -855,6 +953,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getReach_station2() {
|
|
|
return reach_station2;
|
|
|
}
|
|
|
|
|
|
public void setReach_station2(String reach_station2) {
|
|
|
this.reach_station2 = reach_station2;
|
|
|
}
|
...
|
...
|
@@ -863,6 +962,7 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getName_ofgoods() {
|
|
|
return name_ofgoods;
|
|
|
}
|
|
|
|
|
|
public void setName_ofgoods(String name_ofgoods) {
|
|
|
this.name_ofgoods = name_ofgoods;
|
|
|
}
|
...
|
...
|
@@ -871,23 +971,24 @@ public class PreparesecondaryEntity extends BasicEntity{ |
|
|
public String getDelivery_station() {
|
|
|
return delivery_station;
|
|
|
}
|
|
|
|
|
|
public void setDelivery_station(String delivery_station) {
|
|
|
this.delivery_station = delivery_station;
|
|
|
}
|
|
|
//主要用于List的contains函数里
|
|
|
public boolean equals(Object mme){
|
|
|
if(mme == null)
|
|
|
|
|
|
// 主要用于List的contains函数里
|
|
|
public boolean equals(Object mme) {
|
|
|
if (mme == null)
|
|
|
return false;
|
|
|
PreparesecondaryEntity pe = (PreparesecondaryEntity)mme;
|
|
|
if(pe.getCo_company() == null && this.getCo_company() == null)
|
|
|
PreparesecondaryEntity pe = (PreparesecondaryEntity) mme;
|
|
|
if (pe.getCo_company() == null && this.getCo_company() == null)
|
|
|
return true;
|
|
|
else if(this.getCo_company() != null){
|
|
|
//在值相等的情况下,判断时间的大小
|
|
|
if(this.getCo_company().equals(pe.getCo_company()))
|
|
|
{
|
|
|
if(this.getSave_time() == null)
|
|
|
else if (this.getCo_company() != null) {
|
|
|
// 在值相等的情况下,判断时间的大小
|
|
|
if (this.getCo_company().equals(pe.getCo_company())) {
|
|
|
if (this.getSave_time() == null)
|
|
|
return true;
|
|
|
else if(pe.getSave_time() == null)
|
|
|
else if (pe.getSave_time() == null)
|
|
|
return false;
|
|
|
else
|
|
|
return this.getSave_time() > pe.getSave_time();
|
...
|
...
|
|