| | |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.jcdm.main.bs.mapper.BsTechnologyRouteChildInfoMapper"> |
| | | |
| | | <mapper namespace="com.jcdm.main.bs.technologyRouteChild.mapper.BsTechnologyRouteChildInfoMapper"> |
| | | |
| | | <resultMap type="BsTechnologyRouteChildInfo" id="BsTechnologyRouteChildInfoResult"> |
| | | <result property="id" column="id" /> |
| | | <result property="processesCode" column="processes_code" /> |
| | |
| | | #{id} |
| | | </foreach> |
| | | </delete> |
| | | |
| | | |
| | | <select id="selectAllTechnologyRouteByProductCode" parameterType="String" resultMap="BsTechnologyRouteChildInfoResult"> |
| | | 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 i.product_code = #{productCode} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | </mapper> |