|
@@ -16,7 +16,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<select id="getTechnological" resultMap="BizTechnologicalProcessResult">
|
|
<select id="getTechnological" resultMap="BizTechnologicalProcessResult">
|
|
SELECT technology_version as Label,id as `Value` FROM biz_technological_process where deleted = 0 and product_id = #{id} AND product_drawing_number = #{drawingNumber}
|
|
SELECT technology_version as Label,id as `Value` FROM biz_technological_process where deleted = 0 and product_id = #{id} AND product_drawing_number = #{drawingNumber}
|
|
</select>
|
|
</select>
|
|
- <select id="getProductById" parameterType="Long" resultType="BizProduct">
|
|
|
|
|
|
+ <select id="getProductById" resultType="BizProduct">
|
|
select * from biz_product where id = #{id} limit 1
|
|
select * from biz_product where id = #{id} limit 1
|
|
</select>
|
|
</select>
|
|
<select id="getList" parameterType="BizProduct" resultMap="BizProductResult">
|
|
<select id="getList" parameterType="BizProduct" resultMap="BizProductResult">
|