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 97ac7d1b..511c3d22 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
@@ -2,6 +2,7 @@ package com.ruoyi.system.domain;
import com.google.common.base.Objects;
import com.ruoyi.common.annotation.Excel;
+import com.ruoyi.common.annotation.FieldCompare;
import com.ruoyi.common.core.domain.BaseEntity;
import java.math.BigDecimal;
@@ -53,6 +54,12 @@ public class SysSalesOrderChild extends BaseEntity {
@Excel(name = "物料的加工方式")
private String processMethod;
+
+
+ /** 物料型号 */
+ @Excel(name = "型号")
+ private String materialModel;
+
/** 物料的品牌 */
@Excel(name = "物料的品牌")
private String brand;
@@ -266,6 +273,15 @@ public class SysSalesOrderChild extends BaseEntity {
this.processMethod = processMethod;
}
+
+ public String getMaterialModel() {
+ return materialModel;
+ }
+
+ public void setMaterialModel(String materialModel) {
+ this.materialModel = materialModel;
+ }
+
public String getBrand() {
return brand;
}
@@ -537,6 +553,7 @@ public class SysSalesOrderChild extends BaseEntity {
.add("materialName", materialName)
.add("materialType", materialType)
.add("processMethod", processMethod)
+ .add("materialModel", materialModel)
.add("brand", brand)
.add("unit", unit)
.add("photoUrl", photoUrl)
diff --git a/ruoyi-admin/src/main/resources/mapper/system/SysSalesOrderChildMapper.xml b/ruoyi-admin/src/main/resources/mapper/system/SysSalesOrderChildMapper.xml
index ff34bbff..8abd7010 100644
--- a/ruoyi-admin/src/main/resources/mapper/system/SysSalesOrderChildMapper.xml
+++ b/ruoyi-admin/src/main/resources/mapper/system/SysSalesOrderChildMapper.xml
@@ -11,6 +11,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+
@@ -50,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`,
+ select a.id, a.quoteId, a.materialId, a.materialCode, a.materialName, a.materialType, a.processMethod, a.material_model, a.brand, a.photoUrl,a.unit, a.`describe`,
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,
@@ -73,7 +74,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
order by a.id desc