<?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="digital.laboratory.platform.reagent.mapper.WarehousingRecordFormMapper">

  <resultMap id="warehousingRecordFormMap" type="digital.laboratory.platform.reagent.entity.WarehousingRecordForm">
    <id property="warehousingRecordFormId" column="warehousing_record_form_id"/>
    <result property="purchaseListId" column="purchase_list_id"/>
    <result property="status" column="status"/>
    <result property="createTime" column="create_time"/>
    <result property="updateTime" column="update_time"/>
    <result property="createBy" column="create_by"/>
    <result property="updateBy" column="update_by"/>
    <result property="purchaseNumber" column="purchase_number"/>

  </resultMap>

<!--  <resultMap id="warehousingRecordFormVO" type="digital.laboratory.platform.reagent.vo.WarehousingRecordFormVO" extends="signingRecordFormMap">-->
<!--    <result property="reagentConsumableName" column="reagent_consumable_name"></result>-->
<!--  </resultMap>-->

<!--  <sql id="getSigningRecordFormVOSQL">-->
<!--    SELECT srf.*,-->
<!--           (select rc.name-->
<!--            from reagent_consumables rc-->
<!--    where rc.reagent_consumable_id = srf.reagent_consumable_id)-->
<!--        , AS reagent_consumable_name-->
<!--    FROM signing_record_form srf-->
<!--  </sql>-->

<!--  <select id=" getSigningRecordFormVO" resultMap="warehousingRecordFormVO" resultType="digital.laboratory.platform.reagent.vo.WarehousingRecordFormVO">-->
<!--      SELECT srf.*,-->
<!--             (select rc.name-->
<!--              from reagent_consumables rc-->
<!--              where rc.reagent_consumable_id = srf.reagent_consumable_id)-->
<!--              , AS reagent_consumable_name-->
<!--      FROM signing_record_form srf-->
<!--    WHERE signing_record_form_id = #{signingRecordFormId}-->
<!--  </select>-->

<!--    &lt;!&ndash; 根据条件取 warehousingRecordFormVO 列表分页 &ndash;&gt;-->
<!--    <select id="getSigningRecordFormVOPage" resultMap="warehousingRecordFormVO"-->
<!--            resultType="digital.laboratory.platform.reagent.vo.WarehousingRecordFormVO">-->
<!--        <include refid="getSigningRecordFormVOSQL"/>-->
<!--        ${ew.customSqlSegment}-->
<!--    </select>-->

<!--    &lt;!&ndash; 根据条件取 warehousingRecordFormVO 列表 &ndash;&gt;-->
<!--    <select id="getSigningRecordFormVOPList" resultMap="warehousingRecordFormVO"-->
<!--            resultType="digital.laboratory.platform.reagent.vo.WarehousingRecordFormVO">-->
<!--        <include refid="getSigningRecordFormVOSQL"/>-->
<!--        ${ew.customSqlSegment}-->
<!--    </select>-->
</mapper>
