春风项目四线(合箱线、总装线)
wujian
2024-04-28 9bc5106810d7c0e6f27e904b584c9bbfb3725a19
jcdm-main/src/main/resources/mapper/bs/technologyRouteChild/BsTechnologyRouteChildInfoMapper.xml
@@ -164,12 +164,14 @@
    <select id="selectAllTechnologyRouteByProductCode" parameterType="String" resultMap="BsTechnologyRouteChildInfoResult">
        <include refid="selectBsTechnologyRouteChildInfoVo"/>
            left join bs_technology_route_info
            on bs_technology_route_info.route_code = bs_technology_route_child_info.route_code
        SELECT
        c.*
        FROM
        bs_technology_route_child_info c
        LEFT JOIN bs_technology_route_info i ON i.route_code = c.route_code
        <where>
            <if test="productCode != null  and productCode != ''">
            and bs_technology_route_info.product_code = #{productCode}
            and i.product_code = #{productCode}
            </if>
        </where>
    </select>