<?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="com.chinaztt.mes.quality.mapper.ReliabilityTestPlanStandardMapper">
|
|
<resultMap id="reliabilityTestPlanMap" type="com.chinaztt.mes.quality.entity.ReliabilityTestPlanStandard">
|
<id property="id" column="id"/>
|
<result property="createTime" column="create_time"/>
|
<result property="updateTime" column="update_time"/>
|
<result property="createUser" column="create_user"/>
|
<result property="updateUser" column="update_user"/>
|
<result property="standardId" column="standard_id"/>
|
<result property="standardNo" column="standard_no"/>
|
<result property="standardName" column="standard_name"/>
|
<result property="inspectionType" column="inspection_type"/>
|
<result property="testPlanId" column="test_plan_id"/>
|
</resultMap>
|
|
<select id="ReliabilityTestPlanStandardByPlanId" resultType="com.chinaztt.mes.quality.entity.ReliabilityTestPlanStandard">
|
SELECT *
|
FROM quality_reliability_test_plan_standard
|
WHERE test_plan_id = #{testPlanId}
|
</select>
|
|
|
</mapper>
|