| | |
| | | |
| | | |
| | | <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> |