Jiaqi.xu

添加申报口岸TSN

......@@ -51,6 +51,12 @@ public class ChmConsignment implements Serializable {
@Column(name = "DECLARED_UNIT_NAME")
private String declaredUnitName;
/**
* 申报口岸
*/
@Column(name = "DECLARED_PORT")
private String declaredPort;
/**
* 合同协议号
......
......@@ -231,6 +231,9 @@ public class ChmConsignmentService {
if(!Objects.equals(transferWaybillStatusDictionaryEntries,null)){
result.setConsStatusDic(transferWaybillStatusDictionaryEntries);
result.setConsStatus(transferWaybillStatusDictionaryEntries.getChineseName());
//申报口岸 固定值:天津口岸TSN
result.setDeclaredPort("TSN");
}
//推送时间作为创建时间,可以用来校验数据的有序性,如果新的推送时间小于已有的创建时间,就不更新数据
......