XiaoRuby
2023-09-24 208bb2f289ce8a7b59f587a9f57e24c0fc8a0ba6
standard-server/src/main/resources/mapper/MbomMapper.xml
@@ -43,7 +43,7 @@
        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>
@@ -59,6 +59,14 @@
                                  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