湿料计划

highway
wws 1 year ago
parent ac62f12294
commit 82a6ce44f2

@ -2,17 +2,27 @@ package com.op.plan.domain;
// 订单-物料实体类
public class BaseProduct {
private String productId;
private String productCode;
private String productDescZh;
@Override
public String toString() {
return "BaseProduct{" +
"productCode='" + productCode + '\'' +
"productId='" + productId + '\'' +
", productCode='" + productCode + '\'' +
", productDescZh='" + productDescZh + '\'' +
'}';
}
public String getProductId() {
return productId;
}
public void setProductId(String productId) {
this.productId = productId;
}
public String getProductCode() {
return productCode;
}
@ -29,11 +39,6 @@ public class BaseProduct {
this.productDescZh = productDescZh;
}
public BaseProduct(String productCode, String productDescZh) {
this.productCode = productCode;
this.productDescZh = productDescZh;
}
public BaseProduct() {
}
}

@ -6,12 +6,13 @@
<resultMap type="BaseProduct" id="BaseProductResult">
<result property="productCode" column="product_code" />
<result property="productId" column="product_id" />
<result property="productDescZh" column="product_desc_zh" />
</resultMap>
<sql id="selectBaseProductVo">
select product_code, product_desc_zh from base_product
select product_id,product_code, product_desc_zh from base_product
</sql>
<select id="selectBaseProductList" parameterType="BaseProduct" resultMap="BaseProductResult">

Loading…
Cancel
Save