<?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.springblade.modules.business.mapper.FacilityCargoWayMapper">

    <!-- 通用查询映射结果 -->
    <resultMap id="facilityCargoWayResultMap" type="org.springblade.modules.business.entity.FacilityCargoWay">
        <result column="id" property="id"/>
        <result column="is_delete" property="isDelete"/>
        <result column="create_user_id" property="createUserId"/>
        <result column="create_time" property="createTime"/>
        <result column="update_user_id" property="updateUserId"/>
        <result column="update_time" property="updateTime"/>
        <result column="facility_id" property="facilityId"/>
        <result column="cargo_status" property="cargoStatus"/>
        <result column="volume" property="volume"/>
        <result column="enable" property="enable"/>
        <result column="cargo_no" property="cargoNo"/>
    </resultMap>


    <select id="selectFacilityCargoWayPage" resultMap="facilityCargoWayResultMap">
        select * from t_facility_cargo_way where is_delete = 0
    </select>

</mapper>
