liusheng
2024-01-17 023c29b07d6c587eea2d5e152d12b059ba97202d
ruoyi-project/src/main/resources/mapper/project/ServiceOrganallocationMapper.xml
@@ -4,7 +4,7 @@
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.ruoyi.project.mapper.ServiceOrganallocationMapper">
    
    <resultMap type="ServiceOrganallocation" id="ServiceOrganallocationResult">
    <resultMap type="com.ruoyi.project.domain.ServiceOrganallocation" id="ServiceOrganallocationResult">
        <result property="id"    column="ID"    />
        <result property="organid"    column="OrganID"    />
        <result property="organnumber"    column="OrganNumber"    />
@@ -49,7 +49,7 @@
                                                  LEFT JOIN base_organization on base_organization.OrganizationID = service_donatebaseinfo.TreatmentHospitalNo
    </sql>
    <select id="selectServiceOrganallocationList" parameterType="ServiceOrganallocation" resultMap="ServiceOrganallocationResult">
    <select id="selectServiceOrganallocationList" parameterType="com.ruoyi.project.domain.ServiceOrganallocation" resultMap="ServiceOrganallocationResult">
        <include refid="selectServiceOrganallocationVo"/>
        <where>
            <if test="organid != null "> and service_organallocation.OrganID = #{organid}</if>