|
|
|
@ -13,7 +13,8 @@
|
|
|
|
|
product_Num AS "productNum", |
|
|
|
|
product_Channel AS "productChannel", |
|
|
|
|
product_Selling_Price AS "productSellingPrice", |
|
|
|
|
product_Type_No AS "productTypeNo" |
|
|
|
|
product_Type_No AS "productTypeNo", |
|
|
|
|
product_Supplier_No AS "productSupplierNo" |
|
|
|
|
</sql> |
|
|
|
|
|
|
|
|
|
<select id="onSubmit" resultType="com.lan.textja.entity.Product"> |
|
|
|
@ -56,7 +57,15 @@
|
|
|
|
|
select <include refid="productColumns"></include> from product where product_Num=#{productNum} |
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
<select id="selectSupplierNo" resultType="Integer"> |
|
|
|
|
select distinct product_Supplier_No from product |
|
|
|
|
<select id="selectTree" resultType="com.lan.textja.entity.Product"> |
|
|
|
|
select product_Name, product_Type, product_Type_No, product_Num, product_Supplier_No, product_Brands FROM product |
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
<select id="selectTreePtn" resultType="com.lan.textja.entity.Product"> |
|
|
|
|
select product_Type, product_Type_No FROM product where product_Supplier_No =#{productSupplierNo} |
|
|
|
|
</select> |
|
|
|
|
|
|
|
|
|
<select id="selectTreePn" resultType="com.lan.textja.entity.Product"> |
|
|
|
|
select product_Name, product_Num FROM product where product_Type_No =#{productTypeNo} |
|
|
|
|
</select> |
|
|
|
|
</mapper> |
|
|
|
|