|
|
|
@ -55,7 +55,14 @@ |
|
|
|
<!-- 根据站点和料号查询料件属性 --> |
|
|
|
<select id="getPartAttributeByKey" resultMap="PartAttributeResult"> |
|
|
|
<include refid="selectPartAttributeVo"/> |
|
|
|
WHERE site = #{site} AND part_no = #{partNo} and height=#{height} |
|
|
|
WHERE site = #{site} AND part_no = #{partNo} |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="getPartAttributeByHeight" resultMap="PartAttributeResult"> |
|
|
|
<include refid="selectPartAttributeVo"/> |
|
|
|
WHERE site = #{site} AND part_no = #{partNo} |
|
|
|
<if test="height != null and height != ''"> |
|
|
|
AND height = #{height} |
|
|
|
</if> |
|
|
|
</select> |
|
|
|
</mapper> |