| | |
| | | and specifications_id = #{specificationsId} |
| | | and version = #{version} |
| | | <if test="message!=null and message!=''"> |
| | | and father like concat('%',#{message},'%') |
| | | and name like concat('%',#{message},'%') |
| | | </if> |
| | | </select> |
| | | |
| | |
| | | from mom_ocean.technology |
| | | where state = 1 |
| | | and specifications_id = #{specificationsId} |
| | | and version = #{version} |
| | | </select> |
| | | |
| | | <!--右上角新增-技术指标-选择工序,工艺--> |
| | |
| | | from mom_ocean.technology |
| | | where state = 1 |
| | | and specifications_id = #{specificationsId} |
| | | and version = #{version} |
| | | </select> |
| | | <!--查询该型号工艺下最新版本的工艺id--> |
| | | <select id="selTech" resultType="java.lang.Integer"> |
| | |
| | | and version = #{version} |
| | | </select> |
| | | |
| | | <!--查询该型号下版本下的所有数据--> |
| | | <select id="selAllByVerSpId" resultType="com.yuanchu.mom.pojo.Technology"> |
| | | select * |
| | | from mom_ocean.technology |
| | | where state = 1 |
| | | and specifications_id = #{spId} |
| | | and version = #{ver} |
| | | </select> |
| | | |
| | | <!--批量删除--> |
| | | <update id="delAllTech"> |
| | | update mom_ocean.technology |