| | |
| | | and specifications_id = #{specificationsId}) |
| | | </select> |
| | | <!--根据工艺路线id查询所有版本--> |
| | | <select id="selectVerByTeId" resultType="java.lang.Integer"> |
| | | <!-- <select id="selectVerByTeId" resultType="java.lang.Integer"> |
| | | select distinct version |
| | | from mom_ocean.technique |
| | | where state = 1 |
| | | and technology_id = #{technologyId} |
| | | </select> |
| | | </select>--> |
| | | |
| | | <!--查询该工艺下最新版本在一个检验项目下可以使用哪些设备--> |
| | | <select id="selDevByVerTecIdFaNam" resultType="java.util.Map"> |
| | | <!--<select id="selDevByVerTecIdFaNam" resultType="java.util.Map"> |
| | | select device.id, device |
| | | from mom_ocean.technique |
| | | left join mom_ocean.device on name = device |
| | |
| | | and product_father = #{father} |
| | | and product = #{name} |
| | | and version = #{ver} |
| | | </select> |
| | | </select>--> |
| | | |
| | | <!--根据id查看详情--> |
| | | <select id="selTeqById" resultType="java.util.Map"> |