@ -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 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;