wlzboy
1 天以前 08f95b2f159b56fa3bd4f4b348855989de8aa456
ruoyi-system/src/main/resources/mapper/system/DepartmentSyncMapper.xml
@@ -9,8 +9,26 @@
        <result property="departmentName" column="departmentName" />
        <result property="parentId" column="parentID" />
        <result property="parentName" column="parentName" />
    </resultMap>
    <select id="selectDepartAddress" resultType="java.util.HashMap">
        <![CDATA[
            select
                ServiceBranch,
                ServiceAddress,
                ServiceAddress_lat,
                ServiceAddress_lng,
                UnitName,
                UnitShort,
                ServiceMinPrice,
                ServiceUnitPrice,
                ServiceLong
            from IntroducerUnitData
            where UnitState>0 and ServiceAddress_lat is not null and ServiceAddress_lng is not null and ServiceBranch<>''
        ]]>
    </select>
    <!-- 查询合作单位下的所有分公司 -->
    <select id="selectBranchDepartments" resultMap="DepartmentSyncResult">
        <![CDATA[