新增往来单位

cert
anthonywj 2 years ago
parent 899240dbc1
commit 85311a7f16

@ -43,7 +43,7 @@ public class TraceOrderEntity implements Serializable {
*/
@ApiModelProperty(value = "1:入库2出库")
@TableField(value = "inOutType")
private Byte inOutType;
private Integer inOutType;
/**
*
@ -197,5 +197,8 @@ public class TraceOrderEntity implements Serializable {
@TableField(value = "recordCode")
private String recordCode;
private static final long serialVersionUID = 1L;
}

@ -173,6 +173,17 @@ public class TraceOrderResponse {
@ApiModelProperty(value = "查询记录号")
private String recordCode;
//获取往来信息
private String fromToCorp;
//获取往来单位
public String getFromToCorp() {
if (StrUtil.trimToEmpty(fromCorpCreditNum).equals(StrUtil.trimToEmpty(companyCertNum))) {
return toCorp;
} else
return fromCorp;
}
public String getToCorp() {
if (StrUtil.isEmpty(toCorp))
return toUserInfo;

Loading…
Cancel
Save