diff --git a/op-modules/op-plan/src/main/java/com/op/plan/domain/BaseProduct.java b/op-modules/op-plan/src/main/java/com/op/plan/domain/BaseProduct.java
index da27ed38..8c01b1f1 100644
--- a/op-modules/op-plan/src/main/java/com/op/plan/domain/BaseProduct.java
+++ b/op-modules/op-plan/src/main/java/com/op/plan/domain/BaseProduct.java
@@ -5,6 +5,7 @@ public class BaseProduct {
private String productId;
private String productCode;
private String productDescZh;
+ private String mtart;
@Override
public String toString() {
@@ -12,6 +13,7 @@ public class BaseProduct {
"productId='" + productId + '\'' +
", productCode='" + productCode + '\'' +
", productDescZh='" + productDescZh + '\'' +
+ ", mtart='" + mtart + '\'' +
'}';
}
@@ -39,6 +41,14 @@ public class BaseProduct {
this.productDescZh = productDescZh;
}
+ public String getMtart() {
+ return mtart;
+ }
+
+ public void setMtart(String mtart) {
+ this.mtart = mtart;
+ }
+
public BaseProduct() {
}
}
diff --git a/op-modules/op-plan/src/main/java/com/op/plan/service/impl/ProWhiteOrderServiceImpl.java b/op-modules/op-plan/src/main/java/com/op/plan/service/impl/ProWhiteOrderServiceImpl.java
index 2bed9f87..491772c3 100644
--- a/op-modules/op-plan/src/main/java/com/op/plan/service/impl/ProWhiteOrderServiceImpl.java
+++ b/op-modules/op-plan/src/main/java/com/op/plan/service/impl/ProWhiteOrderServiceImpl.java
@@ -115,23 +115,23 @@ public class ProWhiteOrderServiceImpl implements IProWhiteOrderService {
proOrder.setProdDesc("");
proWhiteOrderMapper.insertProOrder(proOrder);
- System.out.println("源code---->"+proOrder.getProdCode());
- System.out.println("源desc---->"+proOrder.getProdDesc());
-
- System.out.println("code---------->");
- for (String code : prodCodes) {
- System.out.println(code);
- }
- System.out.println("desc----------->");
- for (String desc : prodDescs) {
- System.out.println(desc);
- }
-
- System.out.println("这里是母订单信息");
- System.out.println("母订单code"+proOrder.getOrderCode());
-
-
- System.out.println("这里是子订单信息");
+// System.out.println("源code---->"+proOrder.getProdCode());
+// System.out.println("源desc---->"+proOrder.getProdDesc());
+//
+// System.out.println("code---------->");
+// for (String code : prodCodes) {
+// System.out.println(code);
+// }
+// System.out.println("desc----------->");
+// for (String desc : prodDescs) {
+// System.out.println(desc);
+// }
+//
+// System.out.println("这里是母订单信息");
+// System.out.println("母订单code"+proOrder.getOrderCode());
+//
+//
+// System.out.println("这里是子订单信息");
// 设置子订单信息
for (int i = 0; i< prodCodes.length; i++){
@@ -159,8 +159,8 @@ public class ProWhiteOrderServiceImpl implements IProWhiteOrderService {
// 将子订单插入数据库
proWhiteOrderMapper.insertProOrder(childProOrder);
- System.out.println("子订单code"+i+childProOrder.getOrderCode());
- System.out.println("子订单parentCode"+i+childProOrder.getParentOrder());
+// System.out.println("子订单code"+i+childProOrder.getOrderCode());
+// System.out.println("子订单parentCode"+i+childProOrder.getParentOrder());
}
return 1;
diff --git a/op-modules/op-plan/src/main/resources/mapper/plan/BaseProductMapper.xml b/op-modules/op-plan/src/main/resources/mapper/plan/BaseProductMapper.xml
index 5669ebf6..0926e09e 100644
--- a/op-modules/op-plan/src/main/resources/mapper/plan/BaseProductMapper.xml
+++ b/op-modules/op-plan/src/main/resources/mapper/plan/BaseProductMapper.xml
@@ -8,17 +8,19 @@
+
- select product_id,product_code, product_desc_zh from base_product
+ select product_id,product_code, product_desc_zh,mtart from base_product