diff --git a/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysSalesOrderChild.java b/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysSalesOrderChild.java
index 270f6a46..97ac7d1b 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysSalesOrderChild.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/system/domain/SysSalesOrderChild.java
@@ -4,6 +4,8 @@ import com.google.common.base.Objects;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
+import java.math.BigDecimal;
+
/**
* 销售订单对象 sys_sales_order
*
@@ -89,6 +91,13 @@ public class SysSalesOrderChild extends BaseEntity {
@Excel(name = "物料的对外售价")
private Double materialSole;
+ @Excel(name = "物料的最新报价(RMB)")
+ private BigDecimal recentQuotationRMB;
+
+ @Excel(name = "物料的最新报价(RMB)")
+ private BigDecimal recentQuotationUSD;
+
+
/** 物料的不含税单价(RMB) */
@Excel(name = "物料的不含税单价(RMB) ")
private Double materialRmb;
@@ -498,6 +507,22 @@ public class SysSalesOrderChild extends BaseEntity {
this.hasCheckNum = hasCheckNum;
}
+ public BigDecimal getRecentQuotationRMB() {
+ return recentQuotationRMB;
+ }
+
+ public void setRecentQuotationRMB(BigDecimal recentQuotationRMB) {
+ this.recentQuotationRMB = recentQuotationRMB;
+ }
+
+ public BigDecimal getRecentQuotationUSD() {
+ return recentQuotationUSD;
+ }
+
+ public void setRecentQuotationUSD(BigDecimal recentQuotationUSD) {
+ this.recentQuotationUSD = recentQuotationUSD;
+ }
+
@Override
public String toString() {
return Objects.toStringHelper(this)
@@ -522,6 +547,8 @@ public class SysSalesOrderChild extends BaseEntity {
.add("materialSum", materialSum)
.add("enterpriseSum", enterpriseSum)
.add("materialSole", materialSole)
+ .add("recentQuotationUSD", recentQuotationUSD)
+ .add("recentQuotationRMB", recentQuotationRMB)
.add("materialRmb", materialRmb)
.add("materialNoRmb", materialNoRmb)
.add("materialNoUsd", materialNoUsd)
diff --git a/ruoyi-admin/src/main/resources/mapper/system/SysSalesOrderChildMapper.xml b/ruoyi-admin/src/main/resources/mapper/system/SysSalesOrderChildMapper.xml
index 45bc8c2b..ff34bbff 100644
--- a/ruoyi-admin/src/main/resources/mapper/system/SysSalesOrderChildMapper.xml
+++ b/ruoyi-admin/src/main/resources/mapper/system/SysSalesOrderChildMapper.xml
@@ -20,6 +20,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+
+
@@ -49,7 +51,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
select a.id, a.quoteId, a.materialId, a.materialCode, a.materialName, a.materialType, a.processMethod, a.brand, a.photoUrl,a.unit, a.`describe`,
- a.warehouseDept,a.countTax, a.usdTax, a.materialNum,a.materialSole, a.materialRmb, a.materialNoRmb, a.materialNoUsd, a.materialUsd, a.materialUsdSum,
+ a.warehouseDept,a.countTax, a.usdTax, a.materialNum,a.materialSole, a.recentQuotation_rmb, a.recentQuotation_usd, a.materialRmb, a.materialNoRmb, a.materialNoUsd, a.materialUsd, a.materialUsdSum,
a.materialNoUsdSum, a.materialNoRmbSum, a.materialRmbSum,a.delivery_time, a.expiry_day,
a.out_bound_quantity, a.un_bound_quantity, a.create_by, a.create_time, a.update_by,
a.update_time, a.remark
@@ -72,7 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"