zss
2023-09-19 3625accd261feb99a6927013d7551a08d68c756e
standard-server/src/main/resources/mapper/TechnologyMapper.xml
@@ -12,7 +12,7 @@
    <!--右侧数据展示 工艺路线-->
    <resultMap id="selectAllTecMap" type="map">
        <id property="name" column="father"/>
        <id property="father" column="father"/>
        <collection property="children" resultMap="selectAllTecMaps" javaType="List"/>
    </resultMap>
    <resultMap id="selectAllTecMaps" type="map">
@@ -32,7 +32,7 @@
        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>
@@ -42,6 +42,7 @@
        from mom_ocean.technology
        where state = 1
          and specifications_id = #{specificationsId}
          and version = #{version}
    </select>
    <!--右上角新增-技术指标-选择工序,工艺-->
@@ -60,6 +61,7 @@
        from mom_ocean.technology
        where state = 1
          and specifications_id = #{specificationsId}
          and version = #{version}
    </select>
    <!--查询该型号工艺下最新版本的工艺id-->
    <select id="selTech" resultType="java.lang.Integer">