| | |
| | | and m.version = #{version} |
| | | and specifications_id = #{specificationsId} |
| | | <if test="message!=null and message!=''"> |
| | | and m.name like concat('%',#{message},'%') |
| | | and t.name like concat('%',#{message},'%') |
| | | </if> |
| | | </select> |
| | | |
| | |
| | | and specifications_id = #{specificationsId}) |
| | | </select> |
| | | |
| | | <!--根据工艺路线id查询物料清单--> |
| | | <select id="seleByTechId" resultType="com.yuanchu.mom.pojo.Mbom"> |
| | | select * |
| | | from mom_ocean.mbom |
| | | where state = 1 |
| | | and technology_id = #{technologyId} |
| | | </select> |
| | | |
| | | <!--根据工艺路线id删除物料清单--> |
| | | <update id="delMbomByTecId"> |
| | | update mom_ocean.mbom |