Commit 5aec7ec4 by huluobin

不知道哪个接口加一个来源字段

parent 58877d98
...@@ -16,4 +16,7 @@ public class LogisticsCostDto { ...@@ -16,4 +16,7 @@ public class LogisticsCostDto {
private String currency; // 币种 private String currency; // 币种
private String costRemark; // 费用单备注 private String costRemark; // 费用单备注
private String costReason; // 付款理由 private String costReason; // 付款理由
//费用来源 1-默认 2-WMS 3-调拨系统
private String sourceFrom;
} }
...@@ -79,6 +79,7 @@ public class CostApiServiceImpl implements CostApiService { ...@@ -79,6 +79,7 @@ public class CostApiServiceImpl implements CostApiService {
costDomain.setCompanyName("香港百伦科技有限公司"); costDomain.setCompanyName("香港百伦科技有限公司");
costDomain.setAmount(logisticsCostDto.getAmount()); costDomain.setAmount(logisticsCostDto.getAmount());
costDomain.setDic(logisticsCostDto.getCurrency()); costDomain.setDic(logisticsCostDto.getCurrency());
costDomain.setSourceFrom(logisticsCostDto.getSourceFrom());
BigDecimal toRmbRate = null; BigDecimal toRmbRate = null;
if ("CNY".equals(logisticsCostDto.getCurrency())){ if ("CNY".equals(logisticsCostDto.getCurrency())){
toRmbRate = BigDecimal.ONE; toRmbRate = BigDecimal.ONE;
......
...@@ -65,6 +65,8 @@ public class CostDomain { ...@@ -65,6 +65,8 @@ public class CostDomain {
private Date rejectTime; //财务驳回时间 private Date rejectTime; //财务驳回时间
private String cashierFilePath; private String cashierFilePath;
private String cashierDownloadPath; private String cashierDownloadPath;
//费用来源 1-默认 2-WMS 3-调拨系统
private String sourceFrom;
public String getDic() { public String getDic() {
return dic; return dic;
...@@ -574,5 +576,13 @@ public class CostDomain { ...@@ -574,5 +576,13 @@ public class CostDomain {
", rejectTime=" + rejectTime + ", rejectTime=" + rejectTime +
'}'; '}';
} }
public String getSourceFrom() {
return sourceFrom;
}
public void setSourceFrom(String sourceFrom) {
this.sourceFrom = sourceFrom;
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment