<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="org.jeecg.modules.itdmTestPlan.mapper.ItdmTestPlanMapper">

    <select id="geChuanganqitByShiyanid" resultType="java.lang.String">

        select c.chuanganqi
        from itdm_gongdan_master as b

                 inner join itdm_gongdan_detail c on b.id = c.wo_id


        where b.test_items_id in


        <foreach item="item" collection="list" separator="," open="(" close=")" index="">
                   #{item}
        </foreach>



    </select>
    <select id="geSBByShiyanid" resultType="java.lang.String">


        select c.shiji_shebei_id
        from itdm_gongdan_master as b

        inner join itdm_gongdan_detail c on b.id = c.wo_id


        where b.test_items_id in


        <foreach item="item" collection="list" separator="," open="(" close=")" index="">
            #{item}
        </foreach>


    </select>
    <select id="getImageByShiyanid" resultType="java.lang.String">


        select c.extra_pic
        from itdm_gongdan_master as b

        inner join itdm_gongdan_shuju c on b.id = c.wo_id

        where b.test_items_id in


        <foreach item="item" collection="list" separator="," open="(" close=")" index="">
            #{item}
        </foreach>

    </select>
    <select id="getShujuByShiyanid" resultType="java.lang.String">

        select c.shiyan_data
        from itdm_gongdan_master as b

        inner join itdm_gongdan_shuju c on b.id = c.wo_id

        where b.test_items_id in


        <foreach item="item" collection="list" separator="," open="(" close=")" index="">
            #{item}
        </foreach>
    </select>


</mapper>